Learn AI Math

F1 Score

What is F1 Score?

In one sentence: The F1 score combines precision and recall into one number, rewarding models that are good at both.

It is a special kind of average that drops a lot if either precision or recall is low. A model with great precision but terrible recall gets a poor F1 score. That makes it a fair single number for comparing models, especially when the data is unbalanced.

Σ Quick math / rule of thumb: F1 = 2 × (Precision × Recall) ÷ (Precision + Recall) — the harmonic mean, so if either Precision or Recall drops near 0, F1 drops near 0 too.

What does F1 Score look like?

A model with 90% precision and 10% recall has an F1 score of only 18%, which exposes its weakness.

Why does F1 Score matter?

F1 stops people from hiding a bad weakness behind one good-looking number.

Last updated · Fact-checked by The AI Math

Linking to this page from a lesson or article?

Like this explanation? Get one every week.

The AI Math newsletter turns confusing AI news into plain English. No hype, no jargon walls.