How percent error is calculated
Enter a measured value and an accepted value. The percent error is the absolute difference divided by the absolute accepted value, then multiplied by 100.
The row below is the absolute error, the absolute difference of the two values. The percent error is never negative. An accepted value of 0 has no result.
How to use this calculator
- Enter the measured value.
- Enter the accepted value.
- Read the percent error. The row below is the absolute error.
Percent error
E is the percent error. m is the measured value. a is the accepted value.
When a is 0, this formula has no result.
Source
Percent error is the relative error written per 100, as described on the Wikipedia page on approximation error.
Worked examples
Example: measured 10, accepted 8
The absolute error is 2. The percent error is 2 / 8 × 100 = 25%.
Example: measured 105, accepted 100
The absolute error is 5. The percent error is 5 / 100 × 100 = 5%.
What to keep in mind
Each value can be a number from −1,000,000,000,000 to 1,000,000,000,000, including decimals. Measured 100 and accepted 100 have percent error 0% and absolute error 0. Measured 10 and accepted −8 have percent error 225% and absolute error 18. An accepted value of 0 has no result. A completed result, including both values, can be stored in this browser’s local history and never leaves your device. Clear it with the history Clear action or by clearing site data.
Common questions about percent error
What is the percent error when the measured value is 10 and the accepted value is 8?
25%. The absolute error is 2, and 2 / 8 × 100 = 25%.
What is the percent error when the measured value is 105 and the accepted value is 100?
5%. The absolute error is 5, and 5 / 100 × 100 = 5%.
What if the two values are equal, or the accepted value is 0?
Measured 100 and accepted 100 have percent error 0%. An accepted value of 0 has no result.
Can the percent error be negative?
No. Measured 10 and accepted −8 have percent error 225%, because both the difference and the accepted value are taken as absolute values.
Are decimals allowed?
Yes. Each value can be from −1,000,000,000,000 to 1,000,000,000,000. A value outside that range has no result.
Does this calculator store my values?
A completed result can be saved in this browser’s local history, including both values. It stays on your device and is not sent to our servers or to analytics. Clear it with the history Clear action or by clearing site data.