Percent Error Calculator with Steps

Compare your experimental result with the true (accepted) value to get the percent error, or compare two measurements with percent difference. Built for science-class lab reports, with every step shown.

Grades 7–12FreeNo sign-up

How to use the percent error calculator

  1. Choose Percent error when one value is the “right answer” (a textbook constant, a label value, a teacher-supplied value). Choose Percent difference when you are comparing two measurements and neither one is the official answer.
  2. Type the two numbers without units. Both must be in the same unit.
  3. For percent error, tick Keep the sign if your teacher wants to know whether you were over or under. Leave it unticked for the usual always-positive answer.

The percent error formula

percent error = |experimental − true| ÷ |true| × 100%

In words: find how far off you were, compare that with the true value, and write the result as a percentage.

Worked example

You time a falling ball and calculate g = 9.6 m/s². The accepted value is 9.81 m/s².

Step 1. Difference: 9.6 − 9.81 = −0.21

Step 2. Absolute value: |−0.21| = 0.21

Step 3. Divide by the true value: 0.21 ÷ 9.81 = 0.021407

Step 4. Multiply by 100: 2.14%

With “keep the sign” ticked the answer is −2.14%: the minus sign shows the measurement was lower than the accepted value.

Signed or absolute?

Most textbooks define percent error with absolute value bars, so it is never negative. Some teachers and many chemistry and physics courses prefer the signed version because the sign carries information: a positive error means your result was too high, a negative error means it was too low. That can point you to the cause — for example, a density that is consistently too high might mean the volume was under-measured. Check your lab handout and use the option that matches.

Percent difference

When you are comparing two experimental values — your trial 1 and trial 2, or your result and your lab partner’s — there is no “true” value to divide by. Percent difference divides by the average of the two instead:

percent difference = |a − b| ÷ ((a + b) ÷ 2) × 100%

Two trials give 12.4 cm and 13.1 cm. Difference = 0.7. Average = 12.75. Percent difference = 0.7 ÷ 12.75 × 100 = 5.49%. Swapping the two values gives exactly the same answer — the formula is symmetric.

Percent error vs. percent difference vs. percent change

NameComparesDivide by
Percent errorA measurement and the accepted valueThe accepted value
Percent differenceTwo measurements of equal standingTheir average
Percent changeAn old value and a new valueThe old value

For percent change (growth, discounts, before-and-after), use the percent change mode of the percentage calculator.

What if the true value is zero?

Then percent error is undefined, because the formula would divide by zero. This comes up when the expected result is “no change” or “zero net force”. In that case report the absolute error (just |experimental − true|, with units) instead of a percentage.

Tips for lab reports

Frequently asked questions

What is the formula for percent error?

Percent error = |experimental value − true value| ÷ |true value| × 100. Subtract, take the absolute value, divide by the true (accepted) value and multiply by 100.

Can percent error be negative?

With the standard absolute-value formula it is never negative. If your class uses the signed version, a negative percent error means the measured value was lower than the accepted value, and a positive one means it was higher.

What is the difference between percent error and percent difference?

Percent error compares a measurement with a known correct value and divides by that correct value. Percent difference compares two measurements when neither is known to be correct and divides by their average.

What is a good percent error?

It depends on the experiment and equipment. In many school labs, under 5% is considered good and under 10% acceptable, but your teacher’s rubric is what matters.

What if the accepted value is zero?

Percent error cannot be calculated because you would have to divide by zero. Report the absolute error, the size of the difference between your value and zero, instead.

Can percent error be more than 100%?

Yes. If the measured value is more than double the true value, or has the opposite sign, the percent error is over 100%. It usually signals a unit mistake or a calculation slip.