In short
Percent difference compares two values that are equally trustworthy, such as two students’ measurements. It divides their absolute difference by their average, so the order does not matter. Percent error compares a measurement with an accepted or theoretical value and divides by that accepted value instead. Both are reported as positive percentages.
How it works
Lab manuals distinguish two situations. When two values are on an equal footing, there is no good reason to divide by one rather than the other, so the average goes in the denominator as a compromise:
% difference = |a − b| ÷ ((a + b) ÷ 2) × 100
When one value is well established, such as a textbook constant, the comparison is a percent error, measured against that value:
% error = |measured − accepted| ÷ |accepted| × 100
Percent difference is symmetric: swapping the two values changes nothing. Percent error is not, because the accepted value sets the scale. For values that are close together the two give nearly the same number; for values far apart they can differ a lot.
Worked examples
Two measurements of a tennis ball
Two lab partners measure a tennis ball’s diameter as 2.58 in and 2.61 in. The difference is 0.03 in and the average is 2.595 in, so the percent difference is 0.03 ÷ 2.595 × 100 = 1.16%. Neither measurement is treated as the correct one.
Measuring the density of aluminium
The accepted density of aluminium is 2.70 g/cm³, and a student measures 2.45 g/cm³. Choose percent error: |2.45 − 2.70| ÷ 2.70 × 100 = 9.26%, the answer in the CK-12 chemistry text. The measurement is low, but percent error reports only the size of the gap.
Two quotes for the same job
Two contractors quote $80 and $100. Their percent difference is 20 ÷ 90 × 100 = 22.22%. Measured from the lower quote, the higher one is 25% more; from the higher one, the lower is 20% less. The percent difference sits between those two, which is the point of using the average.
Using this calculator well
- Know which your instructor wants. Some courses use a signed percent error to show whether a measurement was high or low. This calculator reports the size of the error; the absolute difference shows the direction if you compare the two values.
- Compare with your uncertainty. A percent error smaller than your measurement’s relative uncertainty means the result agrees with the accepted value within error. A larger one points to a systematic problem or a mistake.
- Don’t use it near zero. When the values straddle zero or the accepted value is tiny, the percentage becomes huge and meaningless. Report the absolute difference with units instead.
- Round to match your data. Two significant figures are usually enough for a percent error. Writing 8.962486% suggests a precision the measurement doesn’t have.
Frequently asked questions
What is the formula for percent difference?
Subtract one value from the other, ignore the sign, and divide by the average of the two values, then multiply by 100. For 45 and 55: the difference is 10, the average is 50, so the percent difference is 10 ÷ 50 × 100 = 20%.
When should I use percent error instead?
Use percent error when one value is known to be correct, such as an accepted constant or a theoretical prediction, and the other is your measurement. Dividing by the accepted value tells you how far your result is from the truth as a share of the true value.
Is a smaller percent error always better?
It means your result is closer to the accepted value, but it should be judged against your measurement uncertainty. A 2% error from equipment that is only accurate to 5% is a good result, while a 2% error from a 0.1% instrument suggests something went wrong.
Why do I get different answers depending on which value I divide by?
Because the base changes. From 80 to 100 is a 25% increase, but 100 to 80 is a 20% decrease. Percent difference avoids picking a side by dividing by the average, 90, which gives 22.2% whichever order you enter the values in.
Sources and methodology
- Introductory Chemistry (CK-12), 3.13 Percent Error, LibreTexts Chemistry (CK-12 Foundation), % error = |experimental − accepted| ÷ accepted × 100%; aluminium density 2.45 g/cm³ against the accepted 2.70 g/cm³ gives 9.26% (accessed November 24, 2026)
- Comparing with Percentages, Physics Laboratory, Texas A&M University–Corpus Christi, % error = |measured − accepted| ÷ accepted; % difference = |val₂ − val₁| ÷ ((val₁ + val₂)/2); % change = (new − old) ÷ old (accessed November 24, 2026)
Rounding: Computed in double precision and rounded half-up to 4 decimal places, shown to 2. Report as many figures as your measurements justify.
Review status: formulas verified against the cited sources by automated tests; editorial review pending. Version 1.0.0, content updated November 24, 2026.
Changelog
- 1.0.0 · November 24, 2026: First published.
How we build and test calculators
Embed this calculator on your site
Paste this code into your page. The calculator runs in a frame, with no tracking and no cookies, and links back here for the formula and sources.
<iframe src="https://northcalculator.com/embed/en/percent-difference" title="Percent Difference Calculator" width="100%" height="760" style="border:0" loading="lazy"></iframe>