F-Score (F1) Calculator

F‑Score (F1) Calculator

Compute the F1 score—the harmonic mean of precision and recall—using: $$ F_1 = 2 \cdot \frac{\text{Precision} \times \text{Recall}}{\text{Precision} + \text{Recall}}. $$

* Enter precision and recall values (each between 0 and 1).

Step 1: Enter Parameters

e.g., 0.8

e.g., 0.7

How It Works

The F1 score is defined as the harmonic mean of precision and recall:

$$ F_1 = 2 \cdot \frac{\text{Precision} \times \text{Recall}}{\text{Precision} + \text{Recall}}. $$

This measure balances precision and recall, providing a single metric for classification performance.

F1 Score Formula: $$ F_1 = 2 \cdot \frac{\text{Precision} \times \text{Recall}}{\text{Precision} + \text{Recall}}. $$

Related Calculators