CCalclabhub

Chemistry

How To Calculate Percent Error

Percent error turns the gap between a measurement and an accepted value into a single number that can be compared across experiments of different sizes.

Quick Answer

percent error = |experimental - theoretical| / |theoretical| x 100

E
Experimental value, what you actually measured
T
Theoretical value, the accepted or true figure
|E - T|
Absolute error, the size of the gap ignoring direction
% error
The absolute error as a percentage of the accepted value

Subtract the accepted value from the measured one, take the absolute value so the sign does not matter, divide by the accepted value, and multiply by 100. A reading of 105 against an accepted 100 has an absolute error of 5 and a percent error of 5 percent, while the percent difference between the two figures is 0.04878048780487805.

What Is Percent Error?

Percent error expresses how far a measurement sits from an accepted value, as a percentage of that accepted value. The percentage is what makes it useful: an error of 0.1 grams means something very different when the target is 1 gram than when it is 1 kilogram, and the percentage normalises for that.

The calculation has four steps. Subtract the accepted value from the measured one, take the absolute value, divide by the accepted value, and multiply by 100. Reading 105 where the true figure is 100 gives 5 divided by 100, which is 5 percent. The absolute value matters because a reading that is too high and one that is too low are equally wrong in this measure.

The denominator is the accepted value, not the measured one, and that choice is deliberate. Using the accepted value makes the error a property of the measurement against the truth, which is what you want when comparing results from different experiments against the same standard. It also means every experiment reporting against the same accepted value uses the same denominator.

Percent difference is a different quantity that is often confused with percent error. Percent error compares a measurement against a known truth. Percent difference compares two measurements against each other when neither is authoritative, and it divides by the average of the two rather than by one of them. Reading 105 against 100 gives a percent difference of 0.04878048780487805, slightly smaller than the percent error, because the denominator is the midpoint of 102.5 rather than 100.

A sign convention worth knowing: many textbooks keep the sign so that a positive result means the measurement was high and a negative one means it was low. Others report only the absolute value. Both are correct as long as you say which you are using, and reporting the signed difference alongside the percent error removes the ambiguity entirely.

Percent error is not the same as accuracy or precision. Accuracy is how close a reading is to the true value, which is roughly what percent error measures. Precision is how close repeated readings are to each other, which percent error says nothing about. A set of readings can be tightly clustered and still have a large percent error if they share the same systematic bias.

The magnitude of an acceptable percent error depends entirely on the context. In a school titration, 5 percent might be perfectly reasonable. In analytical chemistry, anything above 1 percent would prompt a re-run. In physics constants, agreement to parts per million is the norm. The number alone means nothing without knowing what the field expects.

Error comes in two flavours. Random error scatters readings around the true value and shrinks when you average repeats. Systematic error pushes every reading in the same direction and does not shrink with repetition. Percent error cannot tell the two apart on its own, but plotting the residuals usually can, and that is why a single percent error figure is a summary rather than a diagnosis.

Percent error is closely related to relative error, which is the same quantity before the multiplication by 100. A relative error of 0.05 is exactly a percent error of 5 percent. Working in relative error for intermediate steps avoids carrying a factor of 100 through the algebra, which is a small but real simplification in longer calculations.

One practical warning: percent error explodes when the accepted value is near zero. Dividing by a tiny number produces a huge percentage even when the absolute error is negligible. When the true value is small or zero, report the absolute error and the units instead, because the percentage has stopped being informative.

Formula

percent error = |E - T| / |T| x 100

The absolute gap divided by the accepted value, expressed as a percentage.

SymbolMeaning
EExperimental value
TTheoretical value
|E - T|Absolute error

relative error = |E - T| / |T|

The same ratio before the multiplication by 100. Handy as an intermediate step in longer calculations.

SymbolMeaning
relative errorRelative error
EExperimental value
TTheoretical value

percent difference = |E - T| / ((|E| + |T|) / 2) x 100

Used when neither figure is authoritative. Dividing by the midpoint keeps the result symmetric in the two values.

SymbolMeaning
EFirst value
TSecond value

How To Calculate Percent Error

  1. 1

    Identify which value is the accepted one

    The accepted value is the denominator, so deciding which is which changes the answer. A known standard, a textbook constant or a certificate value is the accepted figure; your reading is the experimental one.

  2. 2

    Subtract to find the absolute error

    Take the difference and drop the sign. Reading 105 against an accepted 100 gives 5, and reading 95 against 100 also gives 5, because both are equally far from the truth.

  3. 3

    Divide by the accepted value

    Five divided by 100 is 0.05. This is the relative error, and it is the quantity to use if you are going to carry the number through further algebra.

  4. 4

    Multiply by 100 for the percentage

    0.05 becomes 5 percent. The percentage is the version to report, because it is comparable across experiments with different units and different magnitudes.

  5. 5

    Report the percent difference as well if there is no true value

    When comparing two measurements rather than a measurement against a standard, divide by the average of the two instead. For 105 and 100 that is 5 divided by 102.5, which gives 0.04878048780487805, slightly smaller than the percent error.

Examples

Example 1: A reading of 105 against an accepted 100

Experimental value
105
Theoretical value
100
StepCalculationResult
Absolute error105 - 1005
Relative error5 / 1000.05
Percent difference5 / ((105 + 100) / 2)0.04878048780487805
Signed difference105 - 1005
Percent error0.05 x 1005

Result: A reading of 105 against an accepted value of 100 has an absolute error of 5, sits 5 above the accepted figure, and carries a percent error of 5 percent, while the percent difference between the two figures is 0.04878048780487805.

Example 2: A reading of 98 against an accepted 100

Experimental value
98
Theoretical value
100
StepCalculationResult
Absolute error100 - 982
Relative error2 / 1000.02
Percent difference2 / ((98 + 100) / 2)0.020202020202020204
Signed difference98 - 100-2
Percent error0.02 x 1002

Result: Reading 98 where the accepted value is 100 gives an absolute error of 2, a signed difference of -2 and a percent error of 2 percent, with a percent difference of 0.020202020202020204.

Example 3: A reading of 51 against an accepted 50

Experimental value
51
Theoretical value
50
StepCalculationResult
Absolute error51 - 501
Relative error1 / 500.02
Percent difference1 / ((51 + 50) / 2)0.019801980198019802
Signed difference51 - 501
Percent error0.02 x 1002

Result: A reading of 51 against an accepted value of 50 is off by 1, which is a percent error of 2 percent and a percent difference of 0.019801980198019802, with the reading sitting 1 above the accepted figure.

Calculator

Absolute error

5

Percent error
5.00%
Percent difference between the two
4.88%
Signed difference
5

Values update as you type. This calculator covers the single scenario its formula assumes — see Common Mistakes for what it leaves out.

Prefer a full-width tool? Open the Percent Error calculator page.

Common Mistakes

  • Dividing by the measured value instead of the accepted one

    The denominator is the accepted value, because the error is measured against the truth rather than against the reading. Swapping them changes the answer, and it also breaks comparability between experiments that share the same standard.

  • Forgetting the absolute value

    Without the absolute value a reading below the true figure produces a negative percentage. Some textbooks keep that sign on purpose to show direction, but you must then say so. Silently mixing signed and unsigned results makes a set of experiments impossible to compare.

  • Confusing percent error with percent difference

    Percent error compares a measurement against a known truth and divides by that truth. Percent difference compares two measurements with no clear authority and divides by their average. Using the wrong one changes the number and, worse, changes what the number means.

  • Reporting a percent error when the accepted value is near zero

    Dividing by a tiny denominator produces an enormous percentage from a negligible absolute error. When the true value is small or zero, quote the absolute error with its units instead, because the percentage has stopped carrying information.

  • Treating percent error as a measure of precision

    Percent error measures closeness to the true value, not agreement between repeats. A set of readings can be tightly clustered and still show a large percent error if they share a systematic bias, and a scatter of readings can average out to a small one.

  • Assuming a small percent error means the method is sound

    Two mistakes can cancel. A reading that is high for one reason and low for another may land close to the accepted value while the method remains unreliable. Percent error is a summary of the outcome, not a diagnosis of the process.

FAQ

What is the formula for percent error?

Take the absolute difference between the experimental and accepted values, divide by the absolute accepted value, and multiply by 100. A reading of 105 against an accepted 100 gives 5 divided by 100, which is 5 percent.

What is the difference between percent error and percent difference?

Percent error compares a measurement against a known accepted value and divides by that value. Percent difference compares two measurements when neither is authoritative and divides by their average, which keeps the result the same whichever order you write them in.

Should percent error be negative?

It can be, if you keep the sign to show whether the reading was high or low. Many courses ask for the absolute value instead. Either is fine provided you state which convention you are following.

What counts as an acceptable percent error?

It depends entirely on the field. Five percent is normal in a school titration, one percent would trigger a re-run in analytical chemistry, and agreement to parts per million is expected for physical constants. The number means nothing without the context.

Why does percent error get huge when the true value is small?

Because the accepted value is the denominator. As it approaches zero the same absolute error is divided by an ever smaller number, so the percentage grows without limit even though the measurement has not got worse. Report the absolute error instead in that situation.

How is percent error different from relative error?

They are the same quantity, except relative error is left as a decimal rather than multiplied by 100. A relative error of 0.05 is a percent error of 5 percent, and working in decimals avoids carrying the factor of 100 through intermediate steps.

References

  1. [1]Wikipedia, Approximation error — https://en.wikipedia.org/wiki/Approximation_error
  2. [2]Wikipedia, Relative change and difference — https://en.wikipedia.org/wiki/Relative_change_and_difference
  3. [3]Wikipedia, Observational error — https://en.wikipedia.org/wiki/Observational_error
  4. [4]Wikipedia, Significant figures — https://en.wikipedia.org/wiki/Significant_figures