Percent Error, Relative Error & Percent Difference Calculator

Measure laboratory accuracy against a known true reference value.

Experimental Percent Error 1.291 %
Absolute Error |Measured − True| (Input Units) 0.127
Signed Error (Measured − True, Input Units) -0.127
Symmetric Percent Difference 1.3 %
Inputs
Try:
Experimental or observed value.
Accepted theoretical or reference value (non-zero).
Results & Graph
Experimental Percent Error
1.291 %
Absolute Error |Measured − True| (Input Units)
0.127
Signed Error (Measured − True, Input Units)
-0.127
Symmetric Percent Difference
1.3 %

Experimental Percent Error

Graph 1 • How the inputs feed Percent Error
Percent Error, Relative Error & Percent Difference Calculator • Custom Domain Schematic (Descriptive Statistics) μ / Critical Cutoff (measured, trueValu) Measured Value: 9.68 • True Value: 9.81 EXPERIMENTAL PERCENT ERROR 1.291 % • Absolute Error |Measur: 0.127 • Signed Error (Measured: -0.127 Eq: PercentError = (|Measured − True
Graph 2 • Experimental Percent Error as Measured Value changes (40% to 160% of current)
0 % 33.28 % 66.57 % 60.52 3.87 40.77 5.81 21.03 7.74 1.29 9.68 18.49 11.62 38.17 13.55 57.95 15.49
Graph 3 • Measured Value and True Value together Compares Experimental Percent Error when True Value is shifted +25% (solid) vs. −25% (dashed).
0 % 39.07 % 78.14 % --- True Value @ 75% 44.73 -30% 32.89 -15% 21.04 +0% 9.22 +15% 2.61 +30%
Summary: Measured value 9.68 vs. true value 9.80665 has an absolute error of 0.1267 and a percent error of 1.291%.
Summary: Measured value 9.68 vs. true value 9.80665 has an absolute error of 0.1267 and a percent error of 1.291%.
Interactive chart & math engine powered by CalculatorGraph

Formula: Percent Error Mathematical Identity

PercentError = (|Measured − True| / |True|) × 100
PercentError = (|Measured − True| / |True|) × 100
  • measuredValue: Measured Value (numeric parameter)
  • trueValue: True Value (numeric parameter)

Frequently Asked Questions

Why are the absolute and signed errors not percentages?

Because they are plain differences between your two inputs, so they carry the inputs' units. In the default, 0.127 means 0.127 metres per second squared if you entered g in those units. The page labels both lines as input units for that reason. Only the experimental percent error and the symmetric percent difference are genuine percentages.

Can percent error be negative?

Not on this page. Percent error uses the absolute difference, so it is always zero or positive. The direction of the miss is reported by the signed error line instead: minus 0.127 in the default, meaning the measurement was below the true value. Some textbooks define a signed percent error; you can build one by dividing the signed error by the true value.

Which value is the true value if I compare two experiments?

If neither is an accepted reference, there is no true value, and percent error is the wrong tool. Use the symmetric percent difference line, which divides by the average of the two values and gives the same answer whichever way round you enter them. Choosing one result as the reference would bias the comparison towards it.

What should I do if the accepted value is zero?

Report the absolute error with its units. Percent error is undefined when the true value is zero, and the calculator refuses to produce one: it shows a message saying the result would need a division by zero and suggests the absolute error instead. A thermometer reading 0.3 degrees in a bath at 0 degrees is simply 0.3 degrees off.

Why is percent difference bigger than percent error for a low measurement?

Because the average of a low measurement and the true value is smaller than the true value itself. Dividing the same difference by a smaller number gives a larger percentage. For 5.8 against 9.80665 the percent error is 40.856% while the percent difference is 51.345%. For a high measurement the order reverses.

Is relative error the same as percent error?

Relative error is the same ratio without the times 100. The default relative error is about 0.0129, and multiplying by 100 gives the percent error of roughly 1.29%. Some fields prefer relative error, especially for very small values where parts per million or parts per billion are more natural units.

How many decimal places should I report?

No more than your measurement supports. If you measured g as 9.68, three significant figures, a percent error of 1.29% or 1.3% is reasonable. The page shows 1.291% to three decimals, which is more precision than a stopwatch experiment usually justifies. Round the final answer, not the inputs, and keep the same number of figures throughout the report.

Does the calculator work with negative values?

Yes. It uses absolute values in the denominators, so a measured minus 9.68 against a true minus 9.80665 gives the same 1.291% percent error as the positive case. The signed error flips to plus 0.127, because minus 9.68 is the larger of the two numbers. Very different signs make the percent difference unreliable.

What counts as a good percent error in a lab?

There is no universal cut-off. A good result is one that agrees with the accepted value within your experiment's uncertainty. With a stopwatch pendulum, a few percent may be excellent. With a precision balance, half a percent could signal a fault. Compare the percent error with your estimated uncertainty, not with a fixed number.

Can I use this for temperatures in Celsius?

Only with care. Percent error depends on where zero sits, and the Celsius zero is arbitrary. The same thermometer error gives a different percentage in Fahrenheit, and near 0 degrees Celsius the result becomes huge. Convert to kelvin for a meaningful percentage, or report the absolute error in degrees.

Why is percent error not symmetric between high and low readings?

Because the true value stays fixed in the denominator. A reading 0.5 above a true value of 10 and a reading 0.5 below both give 5%, but a reading of zero caps at 100% while a high reading can go on growing without limit. Percent difference, which divides by the mean, behaves differently and is symmetric in the two inputs.

Does it matter which value I type in the measured field?

For percent error, yes. The true value goes in the denominator, so swapping the fields changes the answer: 9.68 as the reference and 9.80665 as the measurement gives about 1.31% instead of 1.29%. The symmetric percent difference line is unaffected by the swap, since it divides by the mean of both values.

A pendulum measurement of g as the default

The default compares a measured 9.68 with a true value of 9.80665. That second number is standard gravity in metres per second squared, so the example reads like a school pendulum or free-fall experiment that came out a little low.

Four results come back. The percent error is 1.291% in the headline. The absolute error, the size of the miss, is 0.127. The signed error is minus 0.127, telling you the measurement was below the reference. And the symmetric percent difference, a separate measure explained further down, is 1.3%.

Note the units on the supporting lines. The absolute and signed errors are labelled as input units, because that is what they are: the same units as the two values you typed. In the default they mean 0.127 metres per second squared. Only the percent error and the percent difference are percentages, so do not add a percent sign to the 0.127 when you copy it into a report.

You can check the headline by hand. 0.12665 divided by 9.80665 is 0.012915, which is 1.2915%, and the page rounds that once to three decimals to give 1.291%. The sentence below the result uses the same figure, so either can be quoted. In most lab reports 1.29% is plenty.

Percent error compares against a known answer

Percent error asks how far a measurement is from an accepted value, as a share of that accepted value. The formula is the absolute difference divided by the absolute true value, times 100. Only the true value goes in the denominator.

That choice is deliberate. The reference is the trusted number, so the miss is measured against it. A measured 15 against the same 9.80665 gives an absolute error of 5.193 and a percent error of 52.957%. A measured 5.8 gives an absolute error of 4.007 and a percent error of 40.856%.

Those two examples show a quiet asymmetry. Both measurements are wrong by roughly similar amounts, yet the high one scores a bigger percent error because it misses by more in absolute terms. Percent error has no floor on the high side; a measurement three times the true value gives an error of two hundred percent. On the low side it tops out at 100% for a measurement of zero, and only goes beyond that if the measurement is negative.

Use percent error when one value is clearly the reference: a textbook constant, a certified standard, a calibrated instrument. If neither number deserves that status, use percent difference instead.

One more detail of the formula: because it divides by the absolute true value, the sign of the reference does not change the percentage. That is helpful for quantities such as charge or potential that are naturally negative, where a signed denominator would flip the percent error into a negative number.

Percent difference divides by the average of the two

The symmetric percent difference treats the two values as equals. It takes the absolute difference and divides by the mean of the two values, then multiplies by 100. Swapping the inputs gives the same answer, which percent error does not.

In the default the mean is about 9.743, so the difference of 0.12665 becomes 1.3%. That is slightly larger than the 1.291% percent error, because the mean is slightly smaller than the true value.

The gap between the two measures grows as the values pull apart. For the 5.8 measurement the percent error is 40.856% but the percent difference is 51.345%. For the 15 measurement it is the other way round: 52.957% against 41.871%. Percent difference is pulled towards the middle because its denominator always sits between the two values.

A small example makes this clear. Compare 9 and 10, then 11 and 10. Percent error is 10% both times. Percent difference is 10.526% for the first pair and 9.524% for the second. That is the effect of dividing by 9.5 in one case and 10.5 in the other.

Percent difference is the better choice when you compare two measurements of the same thing, two labs' results, or two methods, with no reason to favour either.

What happens when the true value is zero

Percent error divides by the true value, so a true value of zero has no defined answer. Any miss, however tiny, is an infinite fraction of nothing.

The calculator says so. Enter a true value of 0 and it returns no percentage at all, only a message that percent error is undefined because it would mean dividing by zero, with a prompt to report the absolute error instead. That is the right behaviour, and it is worth copying in your own write-up rather than forcing a percentage out of a different formula.

If your reference is zero, report the absolute error instead. A thermometer that reads 0.3 degrees in an ice bath at 0 degrees is off by 0.3 degrees. That is a complete and honest statement.

Percent difference has a related weakness. If the two values have opposite signs, their mean can be near zero and the result explodes. The calculator uses the average of the absolute values, so minus 5 against 5 gives two hundred percent rather than a division by zero, but the number still says little about measurement quality.

The same caution applies to scales with an arbitrary zero. A percent error on Celsius or Fahrenheit temperatures changes depending on which scale you use. Convert to kelvin first, or report the absolute error.

Signed error carries the direction

The absolute error throws away the sign and keeps only the size of the miss. The signed error keeps both. Measured minus true is minus 0.127 in the default, meaning the measurement was low.

That sign matters more than the size when you look for causes. A pendulum value of g that comes out low in every trial points towards something systematic: a length measured too short, or a timer started late on every swing. Random errors scatter both ways. Repeated readings with the same sign suggest a bias you can find and correct.

The calculator handles negative inputs by taking absolute values where they matter. A measured minus 9.68 against a true minus 9.80665 gives the same 1.291% percent error as the positive version, and a signed error of plus 0.127, because minus 9.68 is above minus 9.80665 on the number line.

When you write up a result, give the signed error alongside the percent error. A reader learns far more from 'about 1.3% low' than from '1.3% off'.

Averaging several trials before computing the error usually gives a more useful figure than computing the percent error of each trial separately and averaging those. Random scatter tends to cancel in the mean, while the signed errors of individual trials, taken together, show whether a bias is present. Enter the mean of your trials as the measured value.

Precision of the inputs limits the answer

The percent error can only be as good as the measurement. If your stopwatch reading gives g to two significant figures, the percent error is meaningful to about one or two figures at most. Quoting 1.291% from a measurement known to roughly 0.1 suggests more precision than you have.

A useful habit is to compare the percent error with the uncertainty of your experiment. If your measurement uncertainty is about 2% and the percent error is 1.3%, the result agrees with the accepted value within experimental error. If the uncertainty is 0.5%, the same 1.3% suggests a real discrepancy worth explaining.

The page does not take an uncertainty input. You need to estimate it from your instruments and repeated trials, then make the comparison yourself.

Also check you entered the true value with enough digits. Using 9.8 instead of 9.80665 for g changes the default percent error noticeably, because the reference itself has moved by about 0.07%.

The same applies to the measured value. Rounding 9.68 to 9.7 before entering it would cut the percent error to about 1.09%, a change caused by rounding alone, not by anything in the experiment. Enter values with all the digits you recorded and round only the final answer.

Choosing which figure to report

In a school or undergraduate lab report, percent error against the accepted value is usually what is asked for. Give it to two or three significant figures, state whether the result was high or low, and suggest at least one cause consistent with the sign.

In industry and research, people often prefer absolute error with units, or an error relative to a specification limit rather than to the reading itself. A part that must be within 0.05 mm of nominal is judged on that tolerance, not on a percentage.

Percent difference fits comparisons between equals. Two instruments reading the same sample, or two students timing the same pendulum, are cases where neither value is the truth. The default figures, 1.291% error and 1.3% difference, are close only because the values are close; at the 5.8 or 15 measurements they differ by ten points or more, so naming the measure you used matters.

Whichever you pick, show the inputs. A reader who sees 9.68 against 9.80665 can work out any measure they prefer, while a bare percentage hides which formula produced it and what the reference was.