Calculate relative accuracy, percent error and relative precision from true and measured values, plus relative percent difference (RPD) and RATA estimates.
Related Calculators
- RPD (Relative Percent Difference) Calculator
- RSD โ Relative Standard Deviation Calculator
- Similarity Index Calculator
- Z-Score Calculator
- All Statistics Calculators
Calculator Functions
| Function | What it does | What it requires |
|---|---|---|
| Percent error from true and measured values | Finds the relative error, relative precision and percent accuracy of one measurement | Requires the true value and the measured value |
| Measured value from true value and absolute error | Finds the measured value and its relative error | Requires the true value, the absolute error and whether the measurement is above or below |
| Measured value from true value and relative error | Finds the measured value from a stated relative error | Requires the true value, the relative error in %, decimal or ppm, and whether the measurement is above or below |
| True value from measured value and absolute error | Finds the true value behind a measurement | Requires the measured value, the absolute error and whether the measurement is above or below |
| Two measurements: relative percent difference | Finds the relative percent difference between two measurements with no reference value | Requires both measurements |
| EPA-style RATA statistical estimate | Estimates the relative accuracy of a monitor against a reference method | Requires 2 to 12 pairs of reference and measured values |
| Batch percent-error analysis | Finds the mean, smallest and largest relative error across a list | Requires 1 to 1,000 pairs of reference and measured values |
The single-value functions take plain numbers in one shared unit, or lengths in mm, cm, m, km, inches or feet, which are converted to metres first. The relative result can be shown as a percent, a decimal or parts per million. The comparison thresholds on the last three functions are optional and only label the result.
Relative Accuracy Formulas
| RA | Relative error, shown as “Relative error / RA” (%) |
| M | Measured or approximate value |
| T | True or reference value |
Percent error from true and measured values
The absolute error is |M โ T|, and dividing it by |T| gives the relative error [1]. With a true value of 100 and a measured value of 95, the absolute error is 5 and RA = 5 รท 100 ร 100 = 5%. A smaller RA means a closer measurement, and 0% is an exact match. RA is undefined when the true value is zero.
Relative Precision Formula
Relative precision writes the same error as a ratio, one part in so many. The example above is 1 : 20. In surveying the error is the closure error of a traverse and T is the distance measured: a closure error of 0.25 ft over 1,250 ft is 1 : 5,000. Survey standards set their limits this way, such as 1.0/5000 for an ordinary chained traverse and 1.0/1000 for a rough one [4]. To get it here, enter the distance as the true value and the distance plus the error as the measured value.
Percent Accuracy Formula
A 5% relative error is shown as 95% accuracy. This is plain arithmetic. It goes negative when the error is larger than the true value, and it is not an instrument accuracy rating.
Measured value from true value and absolute error
E is the absolute error, added when the measurement is above the true value and subtracted when it is below. A true value of 100 with an absolute error of 5, measured below, gives M = 95 and RA = 5%.
Measured value from true value and relative error
r is the relative error as a decimal, where 2.5% = 0.025 = 25,000 ppm. A true value of 200 read 2.5% high is 200 + 200 ร 0.025 = 205.
True value from measured value and absolute error
The sign is the reverse of the one above. A measurement of 95 that is known to be 5 below the true value gives T = 95 + 5 = 100.
Two measurements: relative percent difference
((|a| + |b|) รท 2) ร 100 [3]
RPD compares two results when neither is the reference, by dividing their difference by their mean [3]. Readings of 10 and 12 differ by 2 and average 11, so RPD = 2 รท 11 ร 100 = 18.18%. The calculator averages the magnitudes, which gives the same answer for positive values and still works when the two have opposite signs.
EPA-style RATA statistical estimate
RM ร 100 [2]
Each pair is one test run. d is the mean of the differences (measured minus reference), RM is the mean reference value, and CC is the confidence coefficient [2]:
S is the sample standard deviation of the differences, n is the number of runs and t comes from the EPA table: 12.706 for 2 runs, 2.306 for 9 and 2.201 for 12 [2]. Nine runs with a mean difference of 2.556, S = 0.527 and a reference mean of 100 give CC = 2.306 ร 0.527 รท 3 = 0.405 and RA = (2.556 + 0.405) รท 100 ร 100 = 2.96%.
Batch percent-error analysis
(RAโ + โฆ + RAโ) รท n
Each line is one reference and measured pair, and each gets its own RA from the main formula. Pairs of 100 and 95, 200 and 210, and 50 and 50 have errors of 5%, 5% and 0%, a mean of 3.33%. Pairs with a zero reference are left out of the mean but still count in the absolute-error summary.
Limits of This Estimate
- Relative error needs a true value that is not zero, and it is only as good as that reference.
- The RATA function is a statistical check, not a compliance result. The EPA test needs at least nine runs, limits relative accuracy to 20%, and switches the denominator to the emission standard, with a 10% limit, when emissions are under half of that standard [2]. The calculator always divides by the reference mean.
- The comparison thresholds are choices made by the person entering them. No single RPD or relative error limit applies to every method.
Sources
- NIST Digital Library of Mathematical Functions, Section 3.1(v), Error Measures: absolute error and relative error of an approximation
- U.S. EPA, Performance Specification 2 (40 CFR Part 60, Appendix B): relative accuracy of an emissions monitor, the t-values, the nine-run minimum and the 20% and 10% limits
- U.S. EPA, SW-846 Chapter One: Project Quality Assurance and Quality Control (Update V, 2014): relative percent difference between two results
- USDA Natural Resources Conservation Service, National Engineering Handbook, Part 650, Chapter 1: Surveying (2022): survey closure limits written as ratios, such as 1.0/5000
