Accuracy is a common metric to use for measuring the error of classification predictions. There are several ways to calculate the accuracy percentage, in this post are calculators for the two most common ways of doing so.

**The two calculators are:**

**The formula for calculating accuracy is:**

## Accuracy calculator using predicted and actual values

This calculator will calculate the accuracy using lists of predictions and their corresponding actual values. The values in these lists should be integers separated by commas.

## Accuracy calculator using confusion matrix values

This calculator will calculate the accuracy using the sum of True Positive (TP), True Negative (TN), False Positive (FP) and False Negative (FN) values from the predictions.

## Related articles

### Metric comparisons

AUC vs accuracy

Accuracy vs balanced accuracy

F1 score vs accuracy

### Metric calculators

F1 score calculator

R squared calculator

Confusion matrix calculator

Confusion matrix maker

Precision recall calculator