Enter the true or accepted value and the observed value into the calculator to determine the percentage accuracy of the test or measurement.

Percentage Accuracy Calculator

Measurement accuracy
Test/quiz accuracy

Enter any 2 values to calculate the missing variable.

Accuracy: —
Percent error: —
Difference (Measured − True): —

Percentage Accuracy Formula

The following formula is used to calculate percentage accuracy:

A = 100 - |((Tv - Ov) / Tv) * 100|
  • A is the percentage accuracy (%)
  • Tv is the true value (accepted, theoretical, or reference value)
  • Ov is the observed value (measured or experimental value)

Percentage accuracy is the complement of percent error. If the percent error of a measurement is 3%, the percentage accuracy is 97%. The absolute value in the formula ensures accuracy remains valid whether the measured value falls above or below the true value.

How to Calculate Percentage Accuracy

Calculating percentage accuracy requires three steps. First, find the absolute difference between the true value and the observed value. Second, divide that difference by the true value. Third, multiply by 100 and subtract from 100.

Example: A lab measures the boiling point of water at 99.1 degrees C. The accepted value is 100.0 degrees C.

Percent Error = |100.0 – 99.1| / 100.0 * 100 = 0.9%

Percentage Accuracy = 100 – 0.9 = 99.1%

For test or quiz accuracy, the formula is simpler: divide the number of correct answers by the total number of questions, then multiply by 100. A student scoring 42 out of 50 has an accuracy of (42/50) * 100 = 84%.

Accuracy vs. Precision

Accuracy and precision describe two different properties of a measurement system. Accuracy refers to how close a measurement is to the true value. Precision refers to how close repeated measurements are to each other, regardless of whether they are near the true value.

A set of measurements can be precise but inaccurate (consistently wrong by the same amount), accurate but imprecise (scattered around the true value), both accurate and precise (tightly clustered around the true value), or neither. Percent error quantifies accuracy only. To assess precision, standard deviation or coefficient of variation is used on repeated measurements.

Related Metrics

Several metrics relate directly to percentage accuracy, each suited to different contexts:

Percent Error = |Tv – Ov| / Tv * 100. This is the inverse of percentage accuracy. An accuracy of 96% equals a percent error of 4%.

Absolute Error = |Tv – Ov|. The raw difference in the same units as the measurement, without normalization. A thermometer reading 101.3 degrees F when the actual temperature is 100.0 degrees F has an absolute error of 1.3 degrees F.

Relative Error = |Tv – Ov| / Tv. The fractional form of percent error (not multiplied by 100). Useful for propagating uncertainty through multi-step calculations.

Percent Difference = |V1 – V2| / ((V1 + V2) / 2) * 100. Used when comparing two measured values to each other rather than to a known true value.

Accuracy Standards by Field

Acceptable accuracy thresholds vary widely across industries and disciplines. The following are general benchmarks:

FieldTypical Accuracy RequirementContext
Analytical Chemistry98 – 102% recoveryAssay validation, USP guidelines
Clinical Diagnostics95%+ sensitivity/specificityFDA-approved diagnostic tests
CNC Machining99.9%+ dimensional accuracyAerospace-grade tolerances (0.001 inch)
Survey/Polling95% confidence interval (+-3%)Standard margin of error for 1,000+ samples
Weather Forecasting80 – 90% (1-day), 50% (10-day)Temperature and precipitation predictions
Machine Learning ClassificationVaries; 90%+ common baselineDepends on class balance and cost of errors
GPS Positioning95% within 3 metersCivilian L1 signal, open sky
Pharmaceutical Manufacturing98 – 102% of labeled doseUSP content uniformity standards

These benchmarks reflect that accuracy requirements are driven by the consequences of error. A 1% error in pharmaceutical dosing could be clinically significant, while a 10% error in a weather forecast may be acceptable.

Types of Accuracy Calculations

The term percentage accuracy applies to several distinct calculation methods depending on the domain:

Measurement Accuracy compares an observed value to a known true value using the formula above. This is the standard approach in physics, chemistry, and engineering lab work.

Classification Accuracy is used in statistics and machine learning. It equals the number of correct predictions divided by total predictions: Accuracy = (TP + TN) / (TP + TN + FP + FN), where TP = true positives, TN = true negatives, FP = false positives, and FN = false negatives. This method is derived from a confusion matrix and is standard for evaluating diagnostic tests and predictive models.

Forecast Accuracy measures how close a predicted value is to the actual outcome over time. Common in sales, supply chain, and weather applications. Mean Absolute Percentage Error (MAPE) is the most widely used metric: MAPE = (1/n) * sum of |Actual – Forecast| / Actual * 100.

When Percentage Accuracy is Misleading

Percentage accuracy has known limitations. When the true value is zero or very close to zero, the formula produces undefined or extremely inflated results because of division by a near-zero denominator. In these cases, absolute error is a better metric.

In classification tasks with imbalanced classes, overall accuracy can be misleading. A model that predicts the majority class for every input achieves high accuracy but fails to identify the minority class at all. Metrics like sensitivity (recall), specificity, and F1 score provide a more complete picture in such scenarios.

For forecast accuracy, a single outlier period can distort the average. Median absolute percentage error (MdAPE) or weighted MAPE are sometimes preferred to reduce the influence of anomalous data points.

FAQ

What is a percent accuracy?

Percent accuracy is a ratio that describes how close a measured or observed value is to the true or accepted value, expressed as a percentage. It equals 100 minus the percent error.

Can percentage accuracy be over 100% or negative?

When using the absolute value formula, percentage accuracy ranges from 0% to 100%. Without absolute value, a measured value far from the true value can produce a negative result, which indicates the measurement deviated by more than 100% from the true value.

What is the difference between percentage accuracy and percent error?

They are complements of each other. Percentage accuracy = 100% minus percent error. If your measurement has a 5% error, its accuracy is 95%. Both use the same underlying calculation, just expressed inversely.

How do you calculate accuracy when the true value is zero?

The standard percentage accuracy formula divides by the true value, so it is undefined when the true value is zero. In this case, use absolute error (the raw difference between measured and true values) or a symmetric percentage error formula that divides by the average of the two values instead.