# Accuracy Calculator (accuracy percentage)

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 you will find the two most common ways of doing so.

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.

Find out what a good accuracy score is

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

Find out what a good accuracy score is

## References

Accuracy wikipedia

Calculator