Accuracy Calculator

Find classification accuracy from a confusion matrix.

Accuracy (%) 85

Formula: accuracy = (TP + TN) ÷ total

Step-by-step with your numbers:
1. Values used:
2. True positives = 80
3. True negatives = 90
4. False positives = 10
5. False negatives = 20
6.
7. Accuracy = 85%
Did we solve your problem today?

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%.

FAQ

Why isn't accuracy always enough?

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