Statistics

Accuracy Calculator

Find classification accuracy from a confusion matrix.

Parameters Live Compute
Calculated Output
Accuracy (%) 85
Formula: accuracy = (TP + TN) ÷ total
Step-by-Step Breakdown
1. Values used:
2. True positives = 80
3. True negatives = 90
4. False positives = 10
5. False negatives = 20
6.
7. Accuracy = 85%
Did this calculator solve your problem today?
Report issue to loopingon.com
Sponsored

Accuracy is the fraction of all predictions a classifier got right.

The math behind it

accuracy = (TP + TN) ÷ (TP + TN + FP + FN). It can mislead on imbalanced data.

Worked Example

80 + 90 correct of 200 → 85%.

Frequently Asked Questions

Why isn't accuracy always enough?

On rare events, a model can be 'accurate' by always predicting the majority class.

Advertisement