How to use the percent error calculator
Type the observed value, the number you measured, estimated or calculated. Then type the true value, the accepted, theoretical or reference number you are comparing against. The results update as you type.
You get five numbers:
- Percent error, the size of the miss as a percentage of the true value
- Signed percent error, the same figure with a + or − sign that shows the direction
- Absolute error, the plain difference |observed − true| in the original units
- Signed error, observed minus true, also in the original units
- Relative error, the percent error as a decimal fraction rather than a percentage
Decimals, negative numbers, thousands separators and scientific notation such as 6.02e23 are all accepted.
The percent error formula
Percent error = |observed − true| ÷ |true| × 100
The top of the fraction is the absolute error. Dividing by the true value scales it, so a 1 cm miss on a 10 cm object counts for much more than a 1 cm miss on a 10 m object. Multiplying by 100 turns the fraction into a percentage.
The signed version drops the absolute value from the top: (observed − true) ÷ |true| × 100. The bottom keeps its absolute value, so the sign of the answer always tells you whether the measurement was high or low, even when the true value is negative.
Worked example: measuring gravity
A class times a pendulum and works out the acceleration due to gravity as 9.6 m/s². The accepted value is 9.81 m/s². This is the example loaded when the page opens.
- Find the difference. 9.6 − 9.81 = −0.21 m/s².
- Take the absolute value. |−0.21| = 0.21 m/s². This is the absolute error.
- Divide by the true value. 0.21 ÷ 9.81 = 0.0214067…, the relative error.
- Multiply by 100. 0.0214067 × 100 = 2.14%.
The percent error is about 2.14%. The signed percent error is −2.14%, which says the class result came out low. A likely cause is the reaction time spent starting and stopping a stopwatch, which makes each swing look slightly longer than it was.
What counts as a good percent error?
There is no single cutoff. In a school laboratory, results within about 5% are usually treated as good, and within 10% as acceptable. Precision engineering and analytical chemistry often need errors well below 1%. Rough field estimates may be fine at 20% or more. Compare your result with the precision of your instruments. If a ruler can only be read to the nearest millimetre, a percent error smaller than that reading limit allows is not realistic.
A consistent sign across repeated trials hints at a systematic error, such as a scale that was not zeroed. Signs that flip between trials point to random error. To measure that scatter, enter the repeated results into the standard deviation calculator.
Limitations
- The true value cannot be zero, because the formula divides by it.
- Percent error assumes the true value is known exactly. When both numbers are measurements, use the percent difference mode of the percent calculator.
- Results are shown to 10 significant digits. Round the final answer to match the precision of your measurements.
Frequently asked questions
What is the difference between percent error and signed percent error?
Percent error uses the absolute value of the difference, so it is never negative and only tells you how far off you were. The signed version keeps the sign, so a positive value means the measurement was too high and a negative value means it was too low.
Can percent error be more than 100%?
Yes. If you measure 30 when the true value is 10, the difference of 20 is twice the true value, so the percent error is 200%. Anything that is off by more than the size of the true value gives more than 100%.
Why can't the true value be zero?
Percent error divides by the true value. Dividing by zero has no answer, so a percentage cannot be formed. In that case report the absolute error, the plain difference between the two values, instead.
Is percent error the same as percent difference?
No. Percent error compares a measurement with a known reference, so it divides by the true value. Percent difference compares two measurements where neither is the reference, so it divides by their average. The percent calculator has a percent difference mode.
Last reviewed: