Teknobench
Support

Percent Error Calculator

Calculate the percent error between a measured and a true value, with absolute and relative error, signed option and steps shown.

Percent error
–
Absolute error
–
Relative error
–

Percent error = |measured − true| ÷ |true| × 100

Step by step

How to use this percent error calculator

  1. Type the Measured (experimental) value, the number your experiment, sensor or count produced.
  2. Type the True (accepted) value, the reference value you compare against, such as a handbook constant or a certified standard.
  3. Optionally, tick Show the sign (positive when the measured value is above the true value) to keep the direction of the error.
  4. Click Calculate, or simply edit a field. The three results and the Step by step section update.

The three results are Percent error, Absolute error and Relative error. Each one appears with its working in the step list, so you can check the calculation by hand or copy the logic into a lab report.

The percent error formula

The percent error compares the difference between a measurement and a reference with the size of the reference:

Percent error = |measured − true| ÷ |true| × 100

The vertical bars mean absolute value, so the result is positive. The difference is divided by the absolute value of the true value, which keeps the denominator positive even when the reference is negative. Multiplying by 100 expresses the ratio as a percentage. For example, a measured length of 9.8 m against a true length of 9.81 m gives |9.8 − 9.81| ÷ 9.81 × 100 = 0.01 ÷ 9.81 × 100, about 0.10 %.

The related quantities are:

  • Absolute error = |measured − true|, in the same unit as your data.
  • Relative error = |measured − true| ÷ |true|, the same ratio as the percent error without the factor 100. It is written as a decimal fraction.

The signed option

Percent error is normally shown as a positive number, because it measures how far off a value is. The signed option keeps the direction: a result is negative when the measured value is below the true value, and positive when it is above. Use the signed form when you want to know whether an instrument reads high or low, for example in a calibration check. Use the unsigned form when you only need the size of the error, for example in a summary table.

When the true value is zero

The formula divides by the true value, so it is undefined when the true value is 0. The calculator then shows a message and still gives the absolute error, which is simply the size of the measured value. If you are working with a reference that is near zero, a percent error can become very large even for a small absolute error. In that case, report the absolute error with its unit instead.

Percent error and percent difference

Percent error needs a reference value that you accept as true. When neither value is more trusted than the other, scientists sometimes use the percent difference instead, which divides by the average of the two values. The two formulas give different numbers, so state which one you used in your report.

Accuracy, precision and rounding

Percent error describes accuracy: how close a measurement is to the reference. It does not describe precision, which is how repeatable repeated measurements are. The calculator keeps up to twelve significant digits internally and displays a shortened value, so small floating-point artefacts such as 0.3 − 0.1 do not appear in the result. When you report the value, round it to the precision of your instrument, not to every displayed digit.

Frequently asked questions

What is a good percent error?

It depends on the field and the method. A pipette that delivers 10 mL with a 0.5 % error is excellent for routine lab work, while a rough estimate from a quick count may tolerate several percent. Compare the result with the tolerance stated by the instrument or the standard you follow.

Can percent error be greater than 100 %?

Yes. If the measured value is more than twice the true value, or if the true value is small compared with the difference, the percent error can exceed 100 %. This is normal and simply means the measurement is far from the reference.

Why does the calculator say the percent error is undefined?

Because the true value is 0. The denominator is zero, so the ratio cannot be calculated. Use the absolute error instead, or choose a different reference.

What is the difference between absolute error and relative error?

The absolute error keeps the unit of your measurement, for example grams or metres. The relative error divides it by the true value, so it has no unit and can be compared across different scales. The percent error is the relative error multiplied by 100.

Do I need to round the result?

Round at the end of the calculation, not in the middle. Keep the full precision of the measured and true values while working, then round the final result to the number of significant figures that your measurement supports.

Is percent error the same as percentage error?

Yes. The terms are used interchangeably. Both refer to the formula |measured − true| ÷ |true| × 100, so you can use either name in a report.