Calculate the measurement error-complement score from reference and measured values, find possible inverse values, or calculate test accuracy and incorrect answers from whole-number counts.

Compare a measured value with a nonzero reference.

Measurement score means 100% minus absolute relative error; it can be negative. It is not a standardized accuracy rating.

Use the same units and a meaningful ratio scale as the measured value.

Display precision

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)

This calculator defines a measurement score as100% minus absolute relative error. For3% error, the score is97%; it can be negative when error exceeds100%. Metrological accuracy is qualitative, so this score is not a universal accuracy specification. Use comparable values in the same units on a meaningful ratio scale.

How to Calculate Percentage Accuracy

To calculate the measurement score, find the absolute difference between the reference and measured value, divide by the absolute nonzero reference, multiply by100, then subtract from100. The inverse modes return all finite nonzero solutions, including a single reference at a0% score when the measurement is nonzero.

Example: A lab measures a reference mass of100.0g as99.1g.

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 are useful in related contexts, but their meanings and acceptance criteria differ:

Absolute Percent Error = |Tv – Ov| / |Tv| *100 for nonzero Tv. It is the complement of this calculator’s measurement score: a96% score corresponds to4% error.

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.

Absolute Relative Error = |Tv – Ov| / |Tv| for nonzero Tv. This is absolute percent error divided by100; measurement uncertainty requires its own model.

Percent Difference = |V1 – V2| / ((V1 + V2) /2) *100 for comparable nonnegative values with a positive sum. It compares two values without designating a reference.

Accuracy Standards by Field

Requirements depend on the method and intended use. The following fields use different metrics; none has a universal acceptance threshold expressed by this calculator’s measurement score:

FieldRelevant metric or limitContext
Analytical ChemistryMethod-specific recovery limitsUse justified assay validation criteria
Clinical DiagnosticsSensitivity and specificityAssess the intended-use population and test validation
CNC MachiningSpecified dimensional tolerancesLimits come from the engineering drawing and inspection plan
Survey/PollingStudy-specific confidence intervalDepends on sampling design, sample size and estimated proportion
Weather ForecastingForecast-variable and horizon-specific scoresSpecify the forecast variable, metric and verification period
Machine Learning ClassificationCorrect-count accuracy and class-specific metricsConsider class balance and costs of false positives and negatives
GPS PositioningPosition error with a stated confidence levelDepends on receiver, environment and measurement conditions
Pharmaceutical ManufacturingProduct- and test-specific acceptance criteriaContent, uniformity and method recovery are different evaluations

Choose acceptance criteria from the applicable specification and intended use. Recovery, sensitivity, confidence intervals, tolerances and positional error cannot be substituted for one another or for this calculator’s score.

Types of Accuracy Calculations

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

Measurement Score here means100% minus absolute relative error against a nonzero reference. It is an explicitly chosen numerical convention, not a standardized numerical value of metrological accuracy.

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 Error can be summarized in several ways. For nonzero actual values, MAPE = (1/n) × sum of |Actual − Forecast| / |Actual| ×100. It is a separate multi-period metric; choose a measure suited to the data and purpose.

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.

MAPE can be strongly influenced by small actual values. Median absolute percentage error and weighted percentage metrics use different summaries and denominators; neither is a universal replacement, and zero actual values require an explicit policy.

FAQ

What is a percent accuracy?

This calculator’s measurement score is100% minus absolute relative error against a nonzero reference. Test accuracy is instead the fraction of correct whole-number trials.

Can percentage accuracy be over 100% or negative?

The measurement score cannot exceed100%, but it can be negative even with absolute values. A negative score means absolute relative error exceeds100%. Test accuracy remains between0% and100%.

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 measurement score is undefined for a zero reference; report absolute error instead. In the inverse reference mode, a zero measured value gives0% for every nonzero reference, so no unique reference is determined.