Show the math
percent difference = |A − B| / |(A + B) / 2| × 100|10.2 − 9.95| = 0.25(10.2 + 9.95) / 2 = 10.0750.25 / 10.075 × 100 = 2.48%2.481389578%If A + B = 0 the average is 0 and the result is undefined. The size of the average is used, so two negative values still give a positive percent.The percent is rounded to 3 significant figures (auto). Change this in the Significant figures box. Difference and average are not rounded.Short answer: Percent difference = |A − B| / ((A + B) / 2) × 100. For 10.2 and 9.95, the absolute difference is 0.25, the average is 10.075 and the percent difference is 2.48%. The answer is the same in either order because neither value is the reference.
Percent difference compares two values when neither one is the correct answer: two trials of an experiment, two measurement methods, two prices or two counts. The usual mistakes are dividing by one of the values instead of their average and using it when one value is a known reference. This page covers the formula, the steps, the 0% to 200% range, negative inputs, rounding and how to report the result.
How to use the percent difference calculator
Percent difference formula
The percent difference formula and the percentage difference formula are the same expression. Take the absolute difference between the two values, divide it by their average and multiply by 100. NC State Physics and College of San Mateo both write it this way, and the absolute value bars make the result positive.
How to calculate percent difference step by step
The default pair comes from a physics lab: two methods of finding g, giving 10.2 and 9.95 m/s2.

Percent difference examples
| Example | A | B | Absolute difference | Average | Percent difference |
|---|---|---|---|---|---|
| g from two methods | 10.2 | 9.95 | 0.25 | 10.075 | 2.48% |
| Two juices, price in dollars | 4 | 6 | 2 | 5 | 40.0% |
| Candies in two packs | 160 | 116 | 44 | 138 | 31.9% |
| Test scores | 80 | 60 | 20 | 70 | 28.6% |
The g example is from NC State, which rounds the result to 2.5%. The juice and candy examples are from Math Is Fun and the scores are from Mathwords. The two juices differ by 2 on an average of 5, which is 40.0%, whichever price you list first.
Why the average is the denominator
Percent difference divides by the average because neither value has a claim to be the base. Texas A&M University-Corpus Christi describes the average as the compromise when the two values stand on equal footing. Dividing by either value makes the answer depend on which one you picked.
Take 125 as the average of 100 and 150, with a gap of 50. Dividing by the average gives 40.0% in both orders. Dividing by 100 gives +50.0% and dividing by 150 gives −33.3%, the two percent changes. One pair yields three answers, and only the average-based one is order-free.
Some sources divide by the larger of the two values instead. NIST Dataplot lists both versions, and Wikipedia recommends the larger value for comparing floating point numbers because it caps the result at 100%. This calculator uses the average, the version in the textbooks above. If your instructor names a different denominator, use that one.
Percent difference range: from 0% to 200%
Percent difference is never negative. It is 0% when the two values are equal. For two non-negative values the maximum is 200%, reached when one value is zero: 0 and 24 have an absolute difference of 24 and an average of 12, so the difference is twice the average. The range is covered in Wikipedia.
A percent difference can pass 100%. A result of 100% means the larger value is 3 times the smaller one, as with 1 and 3. A zero paired with any non-zero number of the same sign produces the maximum, so a result of 200% usually tells you one of the two numbers is zero.
Negative numbers, opposite signs and a zero sum
The formula divides by the size of the average, so two negative values give a positive result. For −5 and −3 the average is −4, the absolute difference is 2 and the percent difference is 50.0%.
Opposite signs behave differently. For −1 and 3 the gap is 4 but the average is only 1, so the result is 400%, above the 200% limit for same-sign values. A number that large means percent difference is the wrong tool for those values, and the calculator shows a warning.
When A + B = 0 the average is zero and the formula divides by zero. For 5 and −5 the absolute difference is 10, but the percent difference is undefined. Two zeros are undefined too. Report the absolute difference in those cases.
| A and B | Percent difference | What it shows |
|---|---|---|
| 1 and 3 | 100% | The larger value is 3 times the smaller. |
| 0 and 24 | 200% | Maximum for non-negative values: one is zero. |
| −5 and −3 | 50.0% | Both negative: the size of the average is used. |
| −1 and 3 | 400% | Opposite signs: can exceed 200%. |
| 5 and −5 | Undefined | The average is 0. |
Percent difference vs percent change vs percent error
Percent difference has no starting value and no reference value. If one value is the starting point, the question is percent change, which divides by that starting value and carries a sign. If one value is accepted as correct, the question is percent error, which divides by the accepted value. For the default pair, the change from 10.2 to 9.95 is −2.45% and the change from 9.95 to 10.2 is +2.51%, while the percent difference stays 2.48% either way. The full side-by-side table is on the percent error calculator page.

When one value is the starting point, the percent change calculator gives the signed percent increase or decrease and can work backward to the new or original value.
Significant figures in a percent difference
No source gives a formal rounding rule for a percent difference, so follow your instructor when one is set. The NC State lab manual prints 2.5% for the default pair, and the calculator defaults to 3 significant figures, 2.48%. Round only the final result.
| Significant figures | Percent difference |
|---|---|
| 1 | 2% |
| 2 | 2.5% |
| 3 (calculator default) | 2.48% |
| 4 | 2.481% |
To count the digits in your inputs, use the significant figures calculator. To round to a set number of decimal places, use the rounding calculator.
What is a good percent difference?
No universal cutoff exists, because it depends on the instrument and the course. Two lab manuals show typical limits.
| Limit | Where it applies | Source |
|---|---|---|
| 5% or less | Two titration trials are flagged when they differ by more than this | Shasta College |
| 10% or less | Compared with each other when no theoretical value exists | Cerritos College |
Treat these as course rules, not pass or fail marks. With three or more trials, measure the spread with the standard deviation calculator instead of comparing pairs.
How to write percent difference in a lab report
Give both values with units, the formula, the working and one sentence stating the result. Say that neither value is the reference. If one of them is a handbook or theoretical value, report a percent error with the percent error calculator instead.
Percent difference says how far apart two results are and not which one is right. Pair it with a sentence on the likely cause, such as a different instrument resolution or a different method.
Sources
- NC State Physics. Appendix B, Measurement and Uncertainty
- College of San Mateo. Physics 250, Introduction
- Texas A&M University-Corpus Christi. Percentages and Uncertainties
- Cerritos College. Data Analysis, Physics 101
- LibreTexts, Shasta College. Acid Dissociation Constant, Data and Report
- NIST. Dataplot, PERCENT DIFFERENCE
- Wikipedia. Relative change
- Wikipedia. Symmetric mean absolute percentage error
- Math Is Fun. Percentage Difference
- Mathwords. Percentage Difference
Frequently asked questions
Percent difference = |A – B| / ((A + B) / 2) x 100. Percentage difference is the same formula under a different name.
Subtract one from the other and drop the sign, divide by the average of the two numbers and multiply by 100. For 10.2 and 9.95, that is 0.25 / 10.075 x 100 = 2.48%.
Yes. The absolute value in the formula removes the sign, so the result is 0% or higher. A signed answer is a percent change, not a percent difference.
No. The absolute difference and the average are the same in either order, so 10.2 and 9.95 give 2.48% and so do 9.95 and 10.2.
Yes. Two non-negative values can reach 200%, and values with opposite signs can go higher. A result of 100% means the larger value is 3 times the smaller one.
The percent difference is 200%, the maximum for non-negative values, because the difference is twice the average. If both numbers are zero, or the two numbers add up to zero, the result is undefined.
With the values in A1 and B1, enter =ABS(A1-B1)/ABS((A1+B1)/2)*100. Remove the *100 and format the cell as a percentage to get the same result.
It depends on the course and the instrument. Many lab manuals flag a gap above 5% between two trials and ask for 10% or less between two methods.