All tools › Math Calculators › Arithmetic
Compare a measured value with the true value and see the percent error and its direction.
How far off is a measurement, as a percent?
This percent error calculator compares a measured value with the true or accepted value and tells you how far off the measurement is, as a percentage of the true value. It also shows the absolute error, the relative error, whether you came in too high or too low, and the percent difference.
It is the standard check at the end of a lab report in chemistry or physics. It works outside school too: an estimate against a final bill, or a kitchen scale against a known weight.
How to use the percent error calculator
- Enter your own result in Measured (experimental) value.
- Enter the reference figure in True (accepted) value. This is the textbook value, the label value, or the exact figure you are comparing against.
- Use the same unit for both numbers. The units cancel, so the answer is a plain percentage.
- Read the Percent error, then the Absolute error, Relative error, Signed percent error, Direction and Percent difference lines.
The percent error formula
Percent error = |measured – true| / |true| x 100
- measured is the value you got.
- true is the accepted value.
- The upright bars mean absolute value: drop any minus sign. That makes the percent error zero or positive.
The top of the fraction is the absolute error, in the same unit as your numbers. The fraction itself is the relative error, a plain decimal.
The Signed percent error keeps the sign of (measured – true), so a plus means you measured high and a minus means you measured low.
Worked example: the density of aluminum
In a lab you weigh an aluminum block, measure its volume, and work out a density of 2.58 g/cm³. The accepted density of aluminum is 2.70 g/cm³. Inputs: measured value 2.58, true value 2.70.
| Line | What the calculator shows |
|---|---|
| Percent error | 4.4444% |
| Absolute error | 0.12 |
| Relative error | 0.0444444 |
| Signed percent error | -4.4444% |
| Direction | The measured value is too low |
| Percent difference (neither value treated as true) | 4.5455% |
The measurement misses by 0.12 g/cm³. Divided by 2.70 that is 0.0444444, or 4.4444%.
A second run in the other direction: a scale reads 102.5 g for a 100 g reference weight. Inputs 102.5 and 100 give a percent error of 2.5%, a signed percent error of +2.5%, and the direction “The measured value is too high”.
How to read the result
- A small percent error means your value is close to the accepted one. There is no universal pass mark; use the limit your teacher, lab manual or specification gives.
- The sign is a clue to the cause. Results that are always too low or always too high point to a systematic error, such as a scale that was not zeroed, rather than random scatter.
- Percent error can exceed 100%. A measured 0 against a true 5 is exactly 100%, and a measurement more than double the true value is over 100%.
- Percentages are rounded to four decimal places.
Percent error vs. percent difference
Percent error needs one value you trust as correct. When you are comparing two measurements and neither is the reference, such as two trials or two students’ results, use percent difference instead. The calculator shows it on the last line:
Percent difference = |a – b| / ((|a| + |b|) / 2) x 100
It divides by the average of the two values, so it does not matter which one you enter first. In the aluminum example it is 4.5455%.
Limits
- The true value cannot be zero, because the error is divided by it. For a quantity whose accepted value is zero, report the absolute error instead.
- Percent error is misleading on scales with an arbitrary zero. A reading of 21 against a true 20 is a 5% error in degrees Celsius, but the same two temperatures in Fahrenheit or kelvin give a different percentage.
- It compares one measured value at a time. For repeated trials, average them first or compare each trial separately.
Frequently asked questions
Can percent error be negative?
With the absolute value in the formula it cannot. Some classes drop the absolute value to show direction; that version is the Signed percent error line.
Does it matter which value I put in which box?
Yes. The error is divided by the true value, so swapping the two numbers changes the percentage. Only percent difference is the same either way.
What is the difference between accuracy and precision?
Accuracy is how close a result is to the true value, which is what percent error measures. Precision is how close repeated measurements are to each other.
What if I do not know the true value?
Then percent error cannot be calculated. Compare your trials with each other using percent difference, or use the standard deviation of repeated measurements.
Related calculators
- Percentage Calculator – percent change and other everyday percent questions.
- Standard Deviation Calculator – measure the spread of repeated trials.
- Average Calculator – average your trials before comparing with the accepted value.
- Rounding Calculator – round the result to the right number of significant figures.
