Saved

Press the star next to a tool's name to save it.

All my tools

Percent Error Calculator

Use this percent error calculator to find how far a measured value is from the true value, as a percentage, with the absolute error, relative error and direction.

Restored your last values ·

Enter the value that is known to be correct, or accepted, and the value that you measured or estimated. The calculator gives the percent error, the absolute error and the relative error. The sign of the error tells you whether you were above or below the true value.

Everything is worked out in your browser. Nothing you type is sent anywhere.

–

–

Enter the true value and the measured value, then press Calculate.

See full result

A percent error calculator tells you how far a measured or estimated value is from the true value, as a percentage of the true value. Enter the true value and your value, press the button, and you get the percent error, the absolute error, the relative error, and whether you were above or below. It is used in science labs, in engineering checks and in school work. It all works in your browser.

How to use the percent error calculator

  1. Enter the true value, which is the accepted or exact value.
  2. Enter the measured value, which is the one you found.
  3. Press Calculate.
  4. Read the percent error and the other two measures.

The percent error formula

The Wikipedia article on approximation error defines the absolute error of an approximation as |v − v_approx|, where v is the true or exact value. The relative error is the absolute error divided by the size of the true value, provided that v is not zero.[1] The page calls the percent error, which is 100% times the relative error, a common and intuitive way of expressing the relative error.[1] So percent error = |true − measured| ÷ |true| × 100. Notice that the true value is in the denominator. If you divide by the measured value instead, you get a different, and incorrect, number.

The worked example from the article

The article describes a case where the exact, accepted value is 50 and the approximation is found to be 49.9. The absolute error is 0.1, the relative error is 0.1 ÷ 50 = 0.002, and that is 0.2 percent.[1] Enter 50 and 49.9 in the calculator and it returns those three numbers. It also says that the measured value is below the true value, and the signed error, measured minus true, is −0.1. A second example from the page is a beaker whose reading is 5 mL when the true volume is 6 mL. The percent error is about 16.7 percent, from |6 − 5| ÷ 6 × 100.[1]

The same error can matter more or less

The article points out that an absolute error of 3 is small or large depending on the size of the thing you measure. On a true value of 1,000, an error of 3 is a relative error of 0.003, or 0.3 percent. On a true value of 1,000,000, the same error of 3 is a relative error of 0.000003, or 0.0003 percent.[1] This is why percent error is useful: it puts errors on a common scale. A 3 mm error on a 1 m board is much more serious than a 3 mm error on a 100 m road.

When the true value is zero

The page says that the relative error is mathematically undefined whenever the true value is zero, because that value appears in the denominator.[1] If you enter 0 as the true value, the calculator tells you that percent error cannot be found. In that case, report the absolute error alone, or choose a different way of comparing, such as the error divided by the typical size of the quantity.

Percent error and temperature scales

The page warns that relative error is only meaningful on a ratio scale, one that has a true zero. Its example is a temperature error of 1 degree Celsius on a true value of 2 degrees Celsius, which gives a relative error of 0.5. The same error of 1 kelvin on 275.15 K is a relative error of about 0.00363, even though the physical situation is the same.[1] So when you compare temperatures, convert them to kelvin first. The same advice applies to other quantities with arbitrary zeros.

Percent error and percent difference

Percent error compares a measurement with a value that you trust. If you have two measurements and neither is known to be better, percent error is not the right tool, because it needs a true value for the denominator. In such cases, compare the two numbers by their difference, or choose one as the reference and say so. The calculator treats the first box as the reference every time.

Where percent error is used

Teachers use percent error to grade lab reports, where students compare a measured value with an accepted one, such as the density of aluminum or the boiling point of water. Engineers use it to check models and sensors, and manufacturers use it to see whether a part is within tolerance. A result of a few percent is often acceptable for a school experiment, while a precision instrument may need an error far below one percent. Whatever the field, the calculation is the same, and the calculator makes it quick to try several readings in a row.

A longer worked example

A student measures the density of a metal block as 2.55 g/cm³ when the accepted value is 2.70 g/cm³. The absolute error is |2.70 − 2.55| = 0.15, the relative error is 0.15 ÷ 2.70 = 0.0556, and the percent error is about 5.56 percent. The measured value is below the true value, so the signed error is −0.15. If the student improves the method and gets 2.68, the percent error falls to 0.74 percent, which shows the change at once.

Common mistakes

  • Dividing by the measured value. The denominator is the true value.
  • Dropping the absolute value. Percent error is usually reported as a positive number, and the sign is reported separately.
  • Using a true value of zero. The result is undefined.
  • Comparing temperatures in Celsius or Fahrenheit. Convert to kelvin first.

What next

Use this often? Add Percent Erro to your Home screen.

Frequently asked questions

What is a percent error calculator?

A tool that gives the size of the difference between a measured value and the true value as a percentage of the true value.

What is the percent error formula?

Percent error = |true value − measured value| ÷ |true value| × 100. The true value is the denominator.

What is the percent error for 49.9 when the true value is 50?

The absolute error is 0.1 and the relative error is 0.002, so the percent error is 0.2 percent.

Can percent error be negative?

The formula uses the absolute value, so it is not negative. The calculator shows the sign separately as the signed error.

Why can't the true value be zero?

Because it is the denominator, and division by zero is undefined. Report the absolute error instead.

What went wrong?

We only receive the reason you pick, never what you typed into the tool.

Thanks for your feedback.

More Math Tools