Skip to content
Query Feedz
  • News
  • Business
    • Digital Marketing
      • Marketing & Sales
      • SEO
      • Content Marketing
      • AEO and GEO
    • Startups
      • Founder Stories
      • Funding & VC
      • Product & Growth
    • Money
      • Investing
      • Markets & Economy
      • Saving & Budgeting
  • AI & Technology
    • Technology
      • Consumer Tech
      • CRM
      • Cyber Security
      • Software Engineering
      • WordPress
      • Hardware
    • Artificial IntelligenceAI Glossary
      • LLMs
      • Machine Learning
      • AI Fundamentals
      • Generative AI
      • Deep Learning
    • AI Use Cases
      • Automation
      • Content
      • Customer Support
      • Finance
      • Marketing
      • View All
  • Tools & Software
  • Account
    • Submit Guest Post
    • Submit a tool
    • My listing
  • Contact
QueryFeedz
  • News
  • Business
    • Digital Marketing
      • Marketing & Sales
      • SEO
      • Content Marketing
      • AEO and GEO
    • Startups
      • Founder Stories
      • Funding & VC
      • Product & Growth
    • Money
      • Investing
      • Markets & Economy
      • Saving & Budgeting
  • AI & Technology
    • Technology
      • Consumer Tech
      • CRM
      • Cyber Security
      • Software Engineering
      • WordPress
      • Hardware
    • Artificial IntelligenceAI Glossary
      • LLMs
      • Machine Learning
      • AI Fundamentals
      • Generative AI
      • Deep Learning
    • AI Use Cases
      • Automation
      • Content
      • Customer Support
      • Finance
      • Marketing
      • View All
  • Tools & Software
  • Account
    • Submit Guest Post
    • Submit a tool
    • My listing
  • Contact
QueryFeedz
  1. Home /
  2. AI Glossaries /
  3. Machine Learning /
  4. What is Precision and Recall in AI?
Machine Learning

What is Precision and Recall in AI?

Updated October 2, 2026 Read 3 min

Precision measures what share of a model's positive predictions are correct, while recall measures what share of the real positive cases the model found. The two trade off against each other, and which matters more depends on the cost of each error.

Contents 13
  1. 01Key takeaways
  2. 02Precision and recall explained in simple terms
  3. 03The formulas
  4. 04A worked example
  5. 05The trade-off in action
  6. 06Which matters more?
  7. 07Beyond a single threshold
  8. 08Multi-class averaging
  9. 09Practical guidance
  10. 10Limitations
  11. 11Common Use Cases
  12. 12Frequently Asked Questions
  13. 13Related Terms

Precision measures what share of a model’s positive predictions are correct. Recall measures what share of the real positive cases the model actually found. They answer different questions and usually trade off against each other: catching more real cases means accepting more false alarms. Choosing the right balance is a business decision, not a technical one.

Key takeaways

  • Precision = TP ÷ (TP + FP): of what you flagged, how much was right?
  • Recall = TP ÷ (TP + FN): of what existed, how much did you find?
  • Raising one usually lowers the other, controlled by the decision threshold.
  • Precision matters when false alarms are costly; recall matters when misses are costly.
  • Both come from the confusion matrix and both ignore true negatives.

Precision and recall explained in simple terms

Fishing with a net. Precision asks: of everything in my net, how much is actually fish rather than weeds and boots? Recall asks: of all the fish in the lake, how many did I catch? A tiny, selective net has high precision and low recall. A huge net dragging the bottom has high recall and poor precision.

The formulas

MetricFormulaPlain English
PrecisionTP ÷ (TP + FP)Trustworthiness of positive predictions
Recall (sensitivity)TP ÷ (TP + FN)Coverage of the real positives
SpecificityTN ÷ (TN + FP)Coverage of the real negatives

A worked example

A model screens 1,000 CVs for a role; 100 candidates are genuinely qualified. It flags 120 CVs, of which 80 are genuinely qualified.

  • TP = 80, FP = 40, FN = 20
  • Precision = 80 ÷ 120 = 67%: two thirds of shortlisted candidates are worth interviewing.
  • Recall = 80 ÷ 100 = 80%: four fifths of qualified candidates were found.

Twenty qualified candidates were missed, and recruiters will waste time on forty unsuitable ones. Whether to tune for fewer wasted interviews or fewer missed candidates depends on which is more costly to this organisation.

The trade-off in action

Lowering the decision threshold flags more cases:

ThresholdFlaggedTPFPFNPrecisionRecall
0.8605554592%55%
0.512080402067%80%
0.325095155538%95%

Same model, three very different behaviours. The model’s ranking ability has not changed; only where you draw the line has.

Which matters more?

SituationPrioritiseReason
Cancer screeningRecallMissing a case is far worse than a follow-up test
Spam filteringPrecisionA lost business email is worse than a spam message getting through
Fraud detectionDependsBalance blocked customers against losses
Legal document discoveryRecallMissing relevant evidence is unacceptable
Product recommendationsPrecisionIrrelevant suggestions erode trust
Safety alertsRecallMissed hazards are the dangerous failure

A useful framing: ask which error you would rather explain to a customer, a regulator or a court.

Beyond a single threshold

A single precision and recall pair describes one operating point. To judge the model itself:

  • Precision-recall curve: plots the trade-off across all thresholds.
  • PR-AUC: the area under that curve, the preferred summary when positives are rare.
  • ROC-AUC: measures ranking ability, but can look flattering with severe imbalance.
  • F1 score: a single number balancing the two at one threshold.

Multi-class averaging

With several classes, precision and recall are computed per class and then averaged:

MethodHow it averagesWhen to use
MacroUnweighted mean across classesRare classes matter equally
WeightedWeighted by class frequencyReflects overall performance
MicroPools all TP, FP and FNEquivalent to accuracy in single-label tasks

Report macro averages when minority classes matter, which is usually the case in business problems.

Practical guidance

  • Always report both, plus the counts behind them.
  • State the threshold used; a metric without one is incomplete.
  • Choose the operating point from error costs, not from the default 0.5.
  • Check precision and recall separately for key subgroups to detect bias.
  • Re-check after deployment, since class balance drifts.

Limitations

  • Neither accounts for true negatives.
  • Both depend on the chosen threshold.
  • Precision is unstable when very few items are flagged.
  • They say nothing about how confident or calibrated predictions are.

Common Use Cases

01

Medical screening

Tune for high recall so cases are not missed.

02

Spam and abuse filtering

Protect precision to avoid blocking legitimate content.

03

Fraud detection

Balance missed fraud against blocked customers.

04

Document discovery

Maximise recall to find all relevant material.

05

Recommendations

Favour precision so suggestions stay relevant.

06

Model comparison

Compare systems using PR curves rather than accuracy.

Frequently Asked Questions

The share of positive predictions that are actually correct: TP divided by TP plus FP.

The share of real positive cases the model found: TP divided by TP plus FN.

Precision measures the trustworthiness of flags; recall measures coverage of actual cases.

Lowering the threshold flags more items, catching more real cases but also more false alarms.

Whichever error is costlier: recall when misses are dangerous, precision when false alarms are expensive.

Related Terms

  • Confusion Matrix
  • F1 Score
  • Classification
  • AI Classification
  • Model Evaluation
  • Threshold Tuning

Related AI Terms

What is Hyperparameter Tuning?Hyperparameter tuning is the process of systematically searching for the configuration values that make a model perform best…What is L2 Regularization?L2 regularization adds a penalty equal to the sum of the squared weights, shrinking all weights smoothly towards…What is L1 Regularization?L1 regularization, known as lasso in linear models, adds a penalty equal to the sum of the absolute…What is Cross-Validation in Machine Learning?Cross-validation is a technique that repeatedly splits data into training and validation parts, rotating which part is held…What is Stochastic Gradient Descent (SGD)?Stochastic gradient descent (SGD) updates a model's weights using one example or a small batch at a time…What is the Bias-Variance Tradeoff?The bias-variance tradeoff describes how a model's error splits into bias from overly simple assumptions and variance from…

Contents

  1. 01Key takeaways
  2. 02Precision and recall explained in simple terms
  3. 03The formulas
  4. 04A worked example
  5. 05The trade-off in action
  6. 06Which matters more?
  7. 07Beyond a single threshold
  8. 08Multi-class averaging
  9. 09Practical guidance
  10. 10Limitations
  11. 11Common Use Cases
  12. 12Frequently Asked Questions
  13. 13Related Terms

AI Topic

  • Machine Learning

Related Terms

  • What is Hyperparameter Tuning?
  • What is L2 Regularization?
  • What is L1 Regularization?
  • What is Cross-Validation in Machine Learning?
  • What is Stochastic Gradient Descent (SGD)?
  • What is the Bias-Variance Tradeoff?

Quick Navigation

  • Common Use Cases
  • Frequently Asked Questions
  • Related Terms
  • Back to top

Details

Updated
October 2, 2026
Read
3 min
  • Forum
  • Submit a tool
  • Submit Guest Post
  • List Your Startup
  • Privacy Policy
  • Editorial Policy
  • Account
  • Contact
  • AI Productivity
  • AI Video
  • AI Coding
  • AI Chatbots
  • Sales
  • AI Business
  • View All Tools

Subscribe our Newsletter

Get weekly exclusive content - No spam.

Copyright © 2026 -  Query Feedz

Manage Consent
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
  • Manage options
  • Manage services
  • Manage {vendor_count} vendors
  • Read more about these purposes
View preferences
  • {title}
  • {title}
  • {title}