Uni-Sine
MathematicsNumber

Percent error calculator with the formula and working

Percent error measures how far a measured value is from the true (accepted) value, as a percentage of the true value: percent error = |measured − true| ÷ |true| × 100%. Measure g as 9.6 m/s² when the accepted value is 9.81 m/s² and the percent error is 2.14%. This percent error calculator works it out with the steps, the absolute and relative error, and whether you measured too high or too low.

It opens on that g measurement. Change the two values, or open the full percent error calculator over this page.

Try it

Percent Error Calculator

Compare measured and true values as a percentage error

Go to its page

How to use the percent error calculator

  1. Under Calculate, choose Percent error. The other two modes are Difference and Tolerance, covered below.
  2. Type your result in Measured value and the accepted value in True value. Use the same units for both.
  3. Read the percent error, with the absolute error, the relative error and the direction (measured too high or too low) beside it.
  4. The steps show each stage, and the graph plots percent error against the measured value, with your measurement marked. The further from the true value, the higher the V.
  5. To practise, press Random problem in the Practice section.

The percent error formula

\text{percent error} = \frac{|\text{measured} - \text{true}|}{|\text{true}|} \times 100\%

US textbooks often say experimental value for the measured one and theoretical or accepted value for the true one. The formula builds up in three steps, and the calculator shows all three:

StepNameFor 9.6 and 9.81
|measured − true|Absolute error|9.6 − 9.81| = 0.21
Absolute error ÷ |true|Relative error0.21 ÷ 9.81 = 0.0214
Relative error × 100Percent error2.14%

The absolute error is in the same units as the measurement (here m/s²). The relative and percent errors have no units, which is why they let you compare the accuracy of measurements of very different sizes.

Signed percent error

Some courses leave off the absolute value bars, so a measurement below the true value gives a negative percent error. The size is the same either way. This calculator gives the size and tells you the direction separately, so for the g example it shows 2.14% and "measured too low". If your teacher wants the sign, that is −2.14%.

Worked examples you can check in the calculator

Example 1: a pendulum measurement of g

A class times a pendulum and works out g as 9.6 m/s², against a book value of 9.81 m/s².

\frac{|9.6 - 9.81|}{9.81} \times 100\% = \frac{0.21}{9.81} \times 100\% = 2.14\%

The percent error is 2.14%, and the result was too low.

Example 2: density of a metal block

A student finds the density of a block as 2.85 g/cm³. The accepted value for that metal is 2.70 g/cm³. The absolute error is 0.15 g/cm³, so:

\frac{0.15}{2.70} \times 100\% = 5.56\%

The percent error is 5.56%, too high. A high density can come from a volume measured too small, such as reading a displacement cylinder from above the line.

Example 3: why the true value goes on the bottom

Measuring 1.2 when the true value is 1.0 is a 20% error: 0.2 ÷ 1.0 × 100. Swap them by mistake and you get 0.2 ÷ 1.2 × 100 = 16.7%, a different answer. Always divide by the true value.

Try one

practice
Pick an answer, then check it.
You measure the speed of sound as 343 m/s. The accepted value in your book is 340 m/s. What is the percent error?

Percent difference: when neither value is the true one

If you are comparing two measurements and neither is the accepted value, use percent difference instead. It divides by the mean of the two, so it comes out the same whichever you list first. Choose Difference under Calculate:

\text{percent difference} = \frac{|a - b|}{(|a| + |b|) \div 2} \times 100\%

Two groups measure the same length as 48.2 cm and 47.6 cm. The difference is 0.6, the mean is 47.9, and the percent difference is 0.6 ÷ 47.9 × 100 = 1.25%.

Tolerance: the range a percentage allows

Tolerance works backwards from a percentage to a range of values. A 100 Ω resistor with a 5% tolerance can be anywhere from 100 − 5 = 95 Ω to 100 + 5 = 105 Ω. Choose Tolerance, type the true value and the percent allowed, and the calculator gives the largest and smallest values.

What counts as a good percent error?

There is no single cut-off: it depends on the equipment and the experiment. A school pendulum timed by hand can easily be a few percent out, while a careful titration should be much closer. A small percent error means your result is accurate, close to the true value. It doesn't say whether it is precise: repeated results that agree closely with each other can all be off by the same amount, which points to a systematic error such as a balance that wasn't zeroed. The NIST handbook calls this kind of error bias, or systematic error, and notes that it can often be found and removed by calibrating against a reference standard.

To work with a whole table of repeat readings, the practical data lab finds means and plots your results.

Common mistakes

  • Dividing by the measured value. The true value always goes on the bottom.
  • Forgetting to multiply by 100. 0.0214 is the relative error. The percent error is 2.14%.
  • Mixing units. Convert both values to the same unit before you start.
  • Using percent error to compare two measurements. When neither is the true value, use percent difference.
  • Rounding too early. Keep the absolute error unrounded until the last step, especially when it is small.

Common questions

How do you calculate percent error?
Subtract the true value from the measured value, ignore the sign, divide by the true value and multiply by 100. For 9.6 and 9.81: 0.21 ÷ 9.81 × 100 = 2.14%.
Can percent error be negative?
With the usual formula, no, because of the absolute value bars. Some courses use a signed version, where a negative percent error means the measurement was below the true value.
Can percent error be more than 100%?
Yes. If you measure 25 when the true value is 10, the absolute error is 15, which is 150% of the true value.
What is the difference between percent error and percent difference?
Percent error compares a measurement with a known true value and divides by that true value. Percent difference compares two measurements with each other and divides by their mean.
What is the difference between absolute and relative error?
Absolute error is the size of the gap, in the measurement's own units. Relative error is that gap divided by the true value, with no units. Multiply the relative error by 100 for the percent error.

Revision cards

Read the front, say your answer, then flip to check.

Where to go next

  • Solve it

    Percent Error Calculator

    Compare measured and true values as a percentage error

    Open the tool
  • Test it

    High School Chemistry

    A new exam-style paper every day, with instant marking and a mark scheme

    Start today's paper
  • Test it

    High School Physics

    A new exam-style paper every day, with instant marking and a mark scheme

    Start today's paper
Read next
Maths · NumberReverse percentage: how to find the original valueHow to do reverse percentages: find the original value after a percentage increase or decrease using a multiplier, with worked examples and questions.