keepcalculator

06 Numbers and Powers

Error Calculation Formula: Absolute, Relative & Percent

Card No. 06·0940 · Updated · Standard formula, shown below

Percent error 2.00 %
Absolute error
0.20
Result
Relative error
0.0200
Result
Measured value
9.8
You entered
You enter
Measured value, True value
You get
Percent error, Absolute error, Relative error
Rounding
2 dp · 4 dp

This calculator works out the three standard error measures — absolute error, relative error, and percent error — from your measured (experimental) value and the true (accepted) value. You enter those two numbers and get all three results instantly, with the percent error shown as the headline answer.

Formula

The three error formulas are closely related. The absolute error is the raw difference between the measured and true values, ignoring sign:

Absolute error = |measured − true|

where measured is the value you obtained in an experiment or observation and true is the accepted or reference value. Both use the same unit (meters, grams, seconds, etc.).

The relative error scales that difference to the size of the true value:

Relative error = |measured − true| / true

It is a dimensionless number (no unit) that tells you how large the error is compared with the true value. Multiply by 100 to get the percent error:

Percent error = |measured − true| / true × 100%

Some fields (notably chemistry and physics labs) use a signed version of percent error: (measured − true) / true × 100%. A positive result means the measurement is too high, negative means too low. The calculator here uses absolute value because that is the most common classroom definition, but you can easily reproduce the signed version by dropping the absolute value in your own work.

Worked Example

Using the calculator defaults: measured = 9.8, true = 10.0.

  1. Absolute error = |9.8 − 10.0| = 0.2
  2. Relative error = 0.2 / 10.0 = 0.02
  3. Percent error = 0.02 × 100 = 2.00%

The calculator shows percent error 2.00%, absolute error 0.20, relative error 0.0200 — matching the steps exactly.

When to Use Each Error Measure

Choose the error measure based on what you need to communicate:

  • Absolute error is best when the scale is fixed and meaningful — for example, a ruler that is off by 2 mm is off by 2 mm whether you measure 10 cm or 2 m. It is also the natural choice for calibrating instruments where the same offset applies across the range.
  • Relative error shines when comparing errors across different magnitudes. An error of 0.5 s in a 10 s sprint is huge (5%), but the same 0.5 s in a 10-minute run is tiny (0.083%). Relative error makes that comparison fair.
  • Percent error is simply relative error expressed as a percentage — the most intuitive format for lab reports, quality control, and everyday comparisons. It is the default in most science classes.

If the true value is zero or very close to zero, relative and percent error become meaningless (division by zero or a tiny denominator that explodes the result). In that case, report only absolute error.

Common Mistakes and Misconceptions

  • Swapping measured and true. Percent error uses the true value in the denominator, not the measured value. Using the measured value gives a different number and is a frequent source of wrong answers in homework.
  • Forgetting absolute value. Many instructors want the absolute value so that “error” is always positive. If you need the sign (to show bias), say so explicitly.
  • Unit mix-ups. Absolute error carries the same unit as your measurements. If you measure in meters but the true value is in centimeters, convert first — mixing units will give a nonsense relative error.
  • Rounding too early. Round only the final answer, not intermediate steps. For example, if the true value is 3.14159 and you round it to 3.14 before calculating, your percent error will be slightly off.
  • Thinking percent error can exceed 100%. It can. If your measured value is 25 and the true value is 10, the percent error is 150%. That just means your measurement is 1.5 times the true value — it is not an error in the formula.

Limits of the Formula

The formulas above are purely mathematical — they describe the size of the error but say nothing about why the error happened. They do not distinguish between systematic error (a consistent bias, like a miscalibrated scale) and random error (scatter from noise). To assess those, you need repeated measurements and statistical tools like standard deviation or standard error of the mean.

Also, the percent error formula assumes the true value is known exactly. In many real-world situations, the “true” value is itself a best estimate (e.g., a published physical constant with its own uncertainty). In that case, your percent error is only as good as the reference value you compare against.

Finally, the formula gives a single number. It does not tell you whether that error is acceptable — that depends on the context. A 1% error might be excellent in a kitchen recipe but unacceptable in precision machining.

Frequently Asked Questions

What is the difference between relative error and percent error?

They are the same quantity expressed differently. Relative error is a decimal fraction (e.g., 0.02), while percent error multiplies it by 100 (e.g., 2%). Both compare the absolute error to the true value; percent error is just the more readable format.

Can percent error be negative?

Only if you choose to drop the absolute value and use the signed formula (measured − true)/true × 100%. A negative result means your measurement is below the true value. Many textbooks and lab manuals, however, define percent error as always positive, so check your assignment instructions.

What if the true value is zero?

Then relative and percent error are undefined because you would divide by zero. In that situation, report the absolute error only, or use a different metric such as the absolute difference relative to the measured value.

How do I convert absolute error to percent error?

Divide the absolute error by the true value, then multiply by 100. For example, if the absolute error is 0.2 and the true value is 10, then (0.2/10) × 100 = 2%.

Is percent error the same as percent difference?

No. Percent error compares a measured value to a known true value. Percent difference compares two measured or experimental values to each other, using the average of the two in the denominator: |a − b| / ((a+b)/2) × 100%. Use percent error when you have a reference standard; use percent difference when you are comparing two equally valid measurements.

Why do I get a huge percent error for a small absolute error?

Because the true value is small. Percent error scales the error relative to the true value, so a tiny absolute error can be a large fraction of a tiny true value. For instance, an absolute error of 0.01 on a true value of 0.05 is a 20% error, even though 0.01 seems small in absolute terms.

Related

Formula used
in measured | Measured value | - | 9.8 | 0
in true | True value | - | 10 | 0
out percent | Percent error | % | abs(measured - true) / true * 100 | 2
out absolute | Absolute error | - | abs(measured - true) | 2
out relative | Relative error | - | abs(measured - true) / true | 4

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →