# Precision

- **Canonical URL:** https://getaimath.com/dictionary/precision/
- **Topics:** [AI & Machine Learning Fundamentals](https://getaimath.com/dictionary/category/ai-and-machine-learning-fundamentals/), [AI Evaluation & Performance Metrics](https://getaimath.com/dictionary/category/ai-evaluation-and-performance-metrics/)
- **Last updated:** 2026-11-25

## What is Precision?

**In one sentence:** Precision tells you, of all the times the model said "yes," how often it was actually right.

Imagine a model that flags emails as spam. If it flags 10 emails and 8 really are spam, its precision is 80%. High precision means few false alarms. It does not tell you how many spam emails it missed; that is what recall is for.

![Training vs. Inference: Studying Flashcards vs. Taking the Test — Simple cartoon diagram comparing AI Training (studying 1,000 flashcards and fixing mistakes until the brain learns the pattern) with AI Inference (answering a brand-new question in 1 second on test day).](https://getaimath.com/diagrams/ai-and-machine-learning-fundamentals.png)
*Napkin Diagram (AI & Machine Learning Fundamentals): Training is the long study session where the AI learns from examples; inference is test day when you actually use it.*

### Quick Math / Rule of Thumb

Precision = True Positives ÷ (True Positives + False Positives) — out of everything the model flagged 'yes', what fraction was actually right?

## What is an example of Precision?

A fraud detector with high precision rarely blocks innocent purchases.

## Why does Precision matter?

Precision matters when false alarms are costly, like wrongly accusing someone of fraud.

## Precision vs. Recall

Precision measures how trustworthy positive alerts are (few false alarms), while recall measures how complete detection is (few missed cases).

| Dimension | Precision | [Recall](https://getaimath.com/dictionary/recall/) |
| --- | --- | --- |
| Core question | When it says 'yes', how often is it right? | Of all real 'yes' cases, how many did it catch? |
| Failure mode | Low precision = noisy false positives | Low recall = dangerous false negatives |
| Priority example | Email spam filter (don't hide real mail) | Medical screening (don't miss real illness) |

## Related Concepts

- [Accuracy](https://getaimath.com/dictionary/accuracy/): Accuracy is the share of answers a model gets right, out of all the answers it gives.
- [Recall](https://getaimath.com/dictionary/recall/): Recall tells you, of all the real "yes" cases, how many the model managed to find.
- [Learning Rate](https://getaimath.com/dictionary/learning-rate/): The learning rate controls how big each step is when a model updates its numbers during training.
- [F1 Score](https://getaimath.com/dictionary/f1-score/): The F1 score combines precision and recall into one number, rewarding models that are good at both.
- [LLM-as-a-Judge](https://getaimath.com/dictionary/llm-as-a-judge/): LLM-as-a-Judge means using a language model to grade other AI outputs.
- [Batch Size](https://getaimath.com/dictionary/batch-size/): Batch size is how many examples go into each batch during training.

---
Source: The AI Math Dictionary (https://getaimath.com/dictionary/precision/)
