MATHEMATICS & STATISTICS CALCULATOR
Confusion Matrix Calculator
Calculate classification metrics from true positives, false positives, true negatives and false negatives.
Use the Confusion Matrix Calculator
How to use this calculator
Enter the requested values. For lists, use the separators described in the input label. Select Calculate to see the results.
Formula
Accuracy = (TP + TN) ÷ total; precision = TP ÷ (TP + FP); recall = TP ÷ (TP + FN).
Example and interpretation
Calculate classification metrics from true positives, false positives, true negatives and false negatives. The result depends on the assumptions and data entered.
Important limitations
This calculator is an educational aid for the mathematical method described. Check input assumptions, sample definitions and data quality before interpreting the result. It does not replace specialist review where decisions have significant consequences.
Frequently asked questions
What does this calculator show?
Calculate classification metrics from true positives, false positives, true negatives and false negatives.
How should I interpret the result?
Accuracy = (TP + TN) ÷ total; precision = TP ÷ (TP + FP); recall = TP ÷ (TP + FN). Review the assumptions behind the inputs.