Percent Error Calculator
Compare an experimental measurement with an accepted value to calculate percent error, absolute error, relative error, and the direction of the difference. You can also compare two measurements using percent difference.
Enter your measurements
Calculation results
Error magnitude visual
Step-by-step calculation
Percent error formula
Percent error describes the size of the difference between an experimental value and an accepted reference value, relative to the magnitude of the reference. The reference value must not be zero.
When neither measurement is a known true or accepted value, use percent difference instead: divide the absolute difference by the average of the absolute values, then multiply by 100.
Example calculation
Suppose an experiment measures gravitational acceleration as 9.81 m/s² while the accepted reference is 9.80 m/s².
- Difference: 9.81 − 9.80 = 0.01 m/s².
- Absolute error: |0.01| = 0.01 m/s².
- Divide by the magnitude of the accepted value: 0.01 ÷ 9.80 ≈ 0.0010204.
- Multiply by 100: percent error ≈ 0.102%.
A positive signed percentage indicates the measured value is above the accepted value; a negative signed percentage indicates it is below. The usual unsigned percent error is reported as a nonnegative value.
How to use this calculator
- Choose Percent error when you have an accepted or theoretical reference, or Percent difference to compare two measurements without a designated true value.
- Enter both numbers. Negative and decimal values are allowed.
- Optionally enter units and choose display precision.
- Choose whether to show signed percentage, calculation steps, and the visual.
- Select Calculate to review the results. Percent error is undefined when the accepted value is zero.
Frequently asked questions
What is percent error?
Percent error compares an experimental result with an accepted reference value. It reports the absolute difference as a percentage of the magnitude of the accepted value.
What is the difference between percent error and percent difference?
Percent error uses a known or accepted reference value in the denominator. Percent difference compares two measurements using the average of their absolute magnitudes, so neither measurement has to be treated as the true value.
Can percent error be negative?
The standard percent error is nonnegative because it uses an absolute difference. A signed percentage can be shown separately to indicate direction: positive means the experimental value is higher than the reference, and negative means it is lower.
What if the accepted value is zero?
Percent error is undefined when the accepted value is zero because the formula would divide by zero. You can still report the absolute difference between the values.
Can percent error exceed 100%?
Yes. If the absolute difference is larger than the magnitude of the accepted value, percent error can exceed 100%.
Do units affect the result?
The two values should be expressed in the same unit, but the unit cancels out in the ratio. If the values use different units, convert them to a common unit before calculating.