Percent Error Calculator: Formula, Steps and Examples
Enter your measured value and the true value to get the percent error, the signed error and the absolute error instantly.
Percent error formula
Percent error tells you how far a measured or estimated value is from the true value, as a percentage of the true value. It is used in science labs, quality checks, forecasting and any place where you compare a result with a known target.
How to calculate percent error step by step
1. Subtract the true value from the measured value. 2. Take the absolute value, so the result is positive. 3. Divide by the true value. 4. Multiply by 100 and add the percent sign.
Worked examples
Example 1. You measure 48 and the true value is 50. The difference is 2. Then 2 / 50 = 0.04, so the percent error is 4 percent.
Example 2. A student measures gravity as 9.6 m/s2. The accepted value is 9.81 m/s2. The difference is 0.21, and 0.21 / 9.81 = 0.0214, so the percent error is about 2.1 percent.
Percent error in Excel
With the measured value in A2 and the true value in B2, use =ABS(A2-B2)/ABS(B2) and format the cell as Percentage. Drop the ABS around the top part if you want the signed error, which shows whether you measured too high or too low.
Percent error vs percent difference
Percent error needs a true value to compare against. If you only have two numbers and neither is the reference, use the percent difference calculator instead.
Frequently asked questions
What is a good percent error?
It depends on the field. In school labs under 5 percent is usually considered good, while precision manufacturing may need well under 1 percent.
Can percent error be negative?
The standard formula uses the absolute value, so it is never negative. The signed version shows direction: negative means the measurement was below the true value.
What is the difference between absolute error and percent error?
Absolute error is the raw gap between the two numbers in the original units. Percent error divides that gap by the true value so you can compare across scales.
What if the true value is zero?
Percent error is undefined when the true value is zero because you cannot divide by zero. Report the absolute error instead.
Percent difference calculator · Percentage formula in Excel · Discount calculator · All free calculators · How to Calculate Percent Error · How to Calculate Percent Difference · How to Calculate Percent Change
Estimates only. Results depend on the numbers you enter and are not financial, tax or legal advice.