What are precision and recall?
Precision is the share of flagged cases that are truly fraud. Recall is the share of all fraud that gets flagged. Together they show how well a fraud check works.
Also called: precision, recall, detection rate, true positive rate
How they are calculated
Precision equals true positives divided by everything flagged. If a rule flags 100 orders and 20 are fraud, its precision is 20 percent. Recall equals true positives divided by all fraud. If there were 40 fraud orders in total, the rule's recall is 50 percent.
The other flagged cases are false positives: good customers who were stopped. The fraud that was not flagged is false negatives: losses that got through.
The trade-off
Most checks give a risk score, and a team picks a threshold. A low threshold flags more cases, so recall goes up but precision goes down. A high threshold does the opposite.
The right point depends on costs. If missing fraud is very costly and a review is cheap, teams accept lower precision. If each flag blocks a good customer, teams usually want higher precision.
Why it matters for fraud and trust
Fraud is rare, so accuracy alone is misleading. A check that approves everything can be more than 99 percent accurate and still catch no fraud. Precision and recall focus on the cases that matter.
They also help explain choices to the business. A statement like "this change catches more fraud and stops fewer good customers" is clearer than a single model metric.
Related measures
- F1 score: one number that balances precision and recall.
- False positive ratio: good cases flagged for each fraud case caught.
- Precision-recall curve: shows the trade-off at every threshold.
Related terms
- False positiveIn fraud prevention, a false positive is a genuine customer or event that a system wrongly flags as fraud, leading to a decline, block, extra check or unneeded review.
- False declineA false decline is when a real customer's valid payment, sign-up or other action is wrongly blocked because a fraud check thinks it is risky.
- Risk scoreA risk score is a number that sums up how likely an event, such as a login, payment or application, is to be fraudulent or risky, so a system can decide how to handle it.
- Model calibrationModel calibration is how well a model's scores match real outcomes. In a calibrated model, events scored at 10% risk turn out bad about 10% of the time.
- BacktestingBacktesting runs a new fraud rule, threshold or model on past data with known outcomes to estimate how it would have performed before it goes live.