Percent Error Calculator

Compare a measured or experimental value with the accepted true value and get the absolute error, relative error and percentage error in percent, with every step of the calculation shown and the direction of the error labeled.

What you get
  • Full error breakdownAbsolute, relative and percentage error, all three.
  • Direction of the errorSee whether you measured above or below the truth.
  • Every step written outThe formula with your numbers substituted, line by line.

Your two values

Results update as you type

The true value cannot be zero, because the error is measured relative to it.

Runs entirely in your browser. Nothing you type is sent or saved

Percent error guide

What percent error measures

Percent error quantifies how far a measured or experimental value sits from an accepted true value, expressed as a percentage of that true value. It answers the question every lab report, model validation and forecast review asks: how wrong was the measurement, in terms that mean the same thing at any scale?

You meet it wherever a measurement faces a known answer: a density measurement checked against a reference table, a classroom measurement of gravitational acceleration checked against 9.8, a demand forecast checked against actual sales, or a stopwatch calibration checked against a time signal. A small percent error says the method reproduces the truth closely; a large one says the method, the instrument or the execution needs a second look before the numbers are trusted.

This page works through the example of an observed value of 66 against a true value of 64, so every figure can be checked against the calculator above.

The formula, step by step

Percent error = |observed - true| ÷ |true| × 100%

observed the measured value · true the accepted value · the vertical bars mean take the absolute value

Three steps connect the two values to the percentage:

  • Step 1, the absolute error: subtract the true value from the observed value and drop the sign. |66 - 64| = |2| = 2.
  • Step 2, the relative error: divide by the true value. 2 ÷ 64 = 0.03125. This is the error expressed as a fraction of the truth, which is what makes errors comparable across scales.
  • Step 3, the percentage: multiply by 100. 0.03125 × 100 = 3.125%.

The calculator shows each of these lines with your own numbers substituted, plus the signed error, which keeps the direction: here the observed value sits 2 units above the truth, a signed error of +3.125%.

Why the absolute value

The formula bars the sign because, in most uses, being 2 too high and being 2 too low are equally wrong. Without the absolute value, an over-estimate would score positive and an under-estimate negative, and averaging several such errors could falsely suggest an accurate method: one reading 10% high and another 10% low would average to a perfect 0% while being wrong both times.

Direction still matters sometimes, which is why the calculator also reports the signed error. A positive signed error means the measurement came in above the true value and a negative one means below. A thermometer that always reads high has a positive signed error every time, and that pattern, a systematic error, points at calibration rather than chance. Note that a negative signed error is not "better": the best possible result is zero error, meaning the observed and true values agree exactly.

Error, difference and change

Three related formulas get mixed up constantly, and picking the right one depends on what plays the role of the truth:

  • Percent error: compares a measurement against an accepted true value. Use it when a reference exists, such as a handbook constant or a certified standard.
  • Percent difference: compares two measurements of equal standing when no accepted value exists, for example two students timing the same pendulum. It divides the difference by the average of the two values, so neither measurement is privileged as the truth.
  • Percent change: compares a value to its own earlier state, such as this month's sales against last month's. It divides the change by the starting value. No "truth" is involved; only direction in time.
Quick test: ask which number represents the truth. If one does, it goes in the denominator and you have percent error. If neither does, average them and you have percent difference. If one is simply "before", it goes in the denominator and you have percent change.

What counts as a good percent error

There is no universal pass mark; the tolerance depends on the field and the stakes. Rough conventions give a place to start:

  • Under 1%: excellent agreement, typical of careful analytical work with calibrated instruments.
  • 1% to 5%: good, and a common target for student laboratory work.
  • 5% to 10%: acceptable for many classroom and field measurements, but worth investigating in professional settings.
  • Above 10%: a signal to check the method, the units, the instrument or the assumptions before trusting the result.

These bands are conventions, not rules. A 20% error in a rough weather forecast can be normal and useful, while a 0.5% error in a pharmaceutical assay would be alarming. Judge the number against what the same field routinely achieves, not against an absolute threshold.

Using the calculator well

  • Match the units: both values must carry the same unit before they are compared. A length in centimeters against a truth in meters produces a nonsense error, so convert first.
  • The true value cannot be zero: the error is measured relative to the truth, so a true value of zero leaves nothing to divide by and the calculator reports it as undefined. For quantities that cross zero, compare raw differences instead of percentages.
  • Enter the signed direction as data, not as a verdict: the signed error tells you which way the measurement leaned. Repeated errors in the same direction suggest a systematic cause worth fixing; scattered directions suggest random error, which more repetitions can average down.
  • Check the magnitude of the truth: with a small true value, even a tiny absolute difference produces a huge percent error. One missing dollar on a $2 estimate is a 50% error; on a $2,000 estimate it is 0.05%. Read the percent alongside the absolute error.
  • Repeat when it matters: a single measurement carries both method error and luck. Several independent measurements, each with its percent error, tell you far more than one.

Common questions

Absolute error is the raw size of the gap between the observed and true values, in the original units: |66 - 64| = 2. Percent error scales that gap by the true value and expresses it as a percentage: 2/64 = 3.125%. The percent version is what lets you compare a 2-unit error on a small quantity with a 2-unit error on a huge one, since the same absolute gap can be trivial or catastrophic depending on scale.

The standard percent error cannot, because the absolute value strips the sign. What can be negative is the signed error this calculator also reports: it shows -10% when the observed value is 10% below the true value and +10% when above. The sign is information about direction, not about quality, since the best possible outcome is zero error either way.

For the percent error itself it does not matter, because the absolute value makes the subtraction symmetric. It matters for the signed error: the sign reflects observed minus true, so an observed value above the truth gives a positive signed error. Enter them in the labeled fields and both readings will be correct.

The denominator is the true value, so a small truth inflates the percentage. An absolute error of 1 against a true value of 2 is a 50% error, while the same error of 1 against 200 is just 0.5%. Check the absolute error row in the results: if it is tiny but the percentage is large, the explanation is the scale of the truth, not a mistake in the calculation.

Then percent error is the wrong tool. With two measurements of equal standing, use percent difference, which divides by the average of the two values so neither is treated as the truth. If you have many repeated measurements and no reference, the spread of the data, measured by the standard deviation, is the standard way to describe uncertainty.

No. A low percent error shows the method reproduced the accepted value this time, but two canceling mistakes can land near the truth by luck, and a systematic error in one apparatus can be small while still real. Good practice reports the percent error of several trials, which reveals whether the agreement was a pattern or an accident.

No. Every calculation runs in your browser. Nothing is stored or transmitted.

Know exactly how far off you are.

Browse all math calculators