MATHEMATICS & STATISTICS CALCULATOR

Accuracy Calculator

Calculate accuracy and error rate from correct results and total observations. Includes the formula, a worked example and guidance for interpreting classification results.

Use the Accuracy Calculator

What this accuracy calculator measures

This calculator reports the observed percentage of results that meet a defined correctness check. It is useful when every evaluated item is counted once, such as a marked answer set, a quality-control sample or a classification test set. It uses the number of correct results and the total number of observations; it does not inspect the underlying records.

How to enter the values

  1. Correct results: enter the number of observations that met your pre-defined acceptance rule.
  2. Total observations: enter the full number of observations evaluated from the same sample. This total must be greater than zero, and the correct count cannot exceed it.

Use one consistent rule for what counts as correct. Do not combine counts from different samples or evaluation periods unless they were assessed using the same definition.

Formula

Accuracy rate (%) = (Correct results ÷ Total observations) × 100

Error rate (%) = (Incorrect results ÷ Total observations) × 100

Incorrect results = Total observations − Correct results

Worked example: 92 correct results out of 100

Suppose 100 items are checked against the same answer key or acceptance rule, and 92 meet that rule.

The calculator starts with 92 correct results and 100 total observations, so this example can be reproduced by selecting Calculate without changing the default values.

How to interpret the percentage

A 92% result means that 92 out of every 100 evaluated observations met the chosen correctness rule in this sample. It does not show which types of errors occurred, whether the sample represents future cases, or whether all mistakes have the same impact.

For classification tasks on imbalanced datasets, one overall accuracy rate can hide poor results for a less common class. Google’s machine-learning guidance gives the example of a classifier that can achieve a high overall score by predicting only the majority class. Review class-level precision, recall and the confusion matrix when those distinctions matter.

Accuracy rate is not the same as measurement uncertainty

This page calculates a percentage from counts of correct and total results. In metrology, accuracy describes how closely a measured value agrees with a reference value; it is a different concept and is not established by this count-based percentage. Use a suitable measurement uncertainty and calibration method when assessing physical measurements.

Assumptions and limitations

References and further reading

Last reviewed: 30 November 2026. Review the source definitions and your evaluation method before using the result for a consequential decision.

Frequently asked questions

What does this accuracy calculator need?

It needs the number of correct results and the total number of observations from the same evaluated sample. The total must be greater than zero, and correct results cannot exceed the total.

How is the error rate calculated?

The error rate is the share of evaluated observations that were not correct: (total observations − correct results) ÷ total observations × 100. It is the complement of the accuracy rate in this calculator.

Can a high accuracy rate still be misleading?

Yes. In a dataset where one class is much more common than another, a classifier can score highly by predicting the majority class while missing many examples in the smaller class. Check per-class precision, recall and the confusion matrix as well.

Is accuracy the same as precision?

No. In classification, accuracy is the proportion of all predictions that are correct. Precision is the proportion of positive predictions that are actually positive. They answer different questions.

Does this calculate physical measurement accuracy?

No. This tool calculates a correct-result percentage from counts. Measurement accuracy concerns agreement with a reference value and may require a separate uncertainty and calibration assessment.