Two suppliers quote 4,800 and 5,200 for the same job. How different are they, in percentage terms? If you divide the gap by the first quote you get 8.3%; divide by the second and you get 7.7%. Neither is wrong, but neither is neutral either: each treats one quote as the reference. When there is no natural "before" and "after", you need a measure that treats both numbers equally. That is what percentage difference does.
This guide explains the percentage difference formula, shows how it compares with percent change and percent error, and helps you decide which one to report. It also covers the edge cases that produce strange results: zeros, negative numbers and very different values.
Three similar-sounding measures
All three compare two numbers, but they answer different questions:
| Measure | Question it answers | Denominator |
|---|---|---|
| Percent change | How much did it grow or shrink from the old value? | The old (starting) value |
| Percent error | How far is my measurement from the accepted value? | The accepted (true) value |
| Percentage difference | How far apart are two values, with neither one as the reference? | The average of the two |
The choice depends on whether one of the two values is special. If one is a starting point, use percent change. If one is known to be correct, use percent error; see How to Calculate Percent Error for a Lab Report. If they are two peers (two quotes, two measurements, two branches, two instruments), use percentage difference.
The percentage difference formula
percentage difference = |A − B| ÷ ((|A| + |B|) ÷ 2) × 100
In words: take the size of the gap, divide it by the average of the two values, and multiply by 100.
Example. Comparing 120 and 150:
- Gap: |120 − 150| = 30
- Average: (120 + 150) ÷ 2 = 135
- Percentage difference: 30 ÷ 135 × 100 ≈ 22.22%
For the two supplier quotes: the gap is 400, the average is 5,000, so the quotes differ by 8%. That figure sits between the 7.7% and 8.3% you get by using either quote as the base, which is exactly the point.
Why the average?
Using the average makes the measure symmetric: swapping A and B gives the same answer. Percent change does not have this property. From 120 to 150 is +25%, but from 150 to 120 is −20%. If you are comparing two things side by side, it would be odd for the answer to depend on which one you happened to list first.
Percent change, by contrast
When there is a clear direction in time or cause, percent change is the correct measure:
percent change = (new − old) ÷ |old| × 100
Sales went from 120 units to 150 units: that is a 25% increase, and reporting it as a "22% difference" would understate the growth that actually happened. For chained changes, reversing a percentage and negative starting values, see Percentage Change With Multipliers.
A quick decision rule:
- Is one value earlier, or the baseline? Percent change.
- Is one value known to be correct? Percent error.
- Neither? Percentage difference.
Worked examples
Two measurements of the same quantity
Two lab groups measure gravitational acceleration as 9.78 and 9.84 m/s². Neither result is the reference, so the percentage difference is 0.06 ÷ 9.81 × 100 ≈ 0.61%. If you then compare either result with the accepted value, that is a percent error.
Two branches or regions
One branch served 12,000 customers and another 15,000. The percentage difference is 3,000 ÷ 13,500 × 100 ≈ 22.2%. Note that this is identical to the 120 vs 150 example, because the ratio of the two values is the same; percentage difference depends only on the ratio, not the scale.
Very different values
Compare 100 and 300. The gap is 200 and the average is 200, so the percentage difference is 100%. But the percent change from 100 to 300 is +200%. Percentage difference grows much more slowly than percent change as values move apart, and it can never exceed 200%, which happens when one value is 0. Comparing 1 and 1,000 gives about 199.6%, barely more than comparing 0 and 50. For very different values, a ratio ("three times as large") usually communicates better than either percentage.
Percent vs percentage points
If A and B are themselves percentages, be careful with the language. A conversion rate of 4% compared with 5% is a gap of 1 percentage point, a percentage difference of about 22.2%, and a percent change of 25% if 4% came first. All three statements are true; they just answer different questions. Say which one you mean.
Using the percentage difference calculator
The Percentage Difference Calculator shows all the related measures together, so you can pick the right one.
- Enter Value A and Value B. Order does not matter for the headline result; Swap A and B lets you confirm that.
- Read the Percentage difference at the top.
- Underneath, compare the absolute difference, the average of the two, the percent change from A to B and from B to A, and the gap in percentage points (useful when A and B are themselves percentages).
- Open the steps to see the formula with your numbers, plus a note on why swapping the values changes the percent change but not the percentage difference.
The tool warns you when the two values have opposite signs, where a percentage difference is not very meaningful, and explains why the result is undefined when both values are 0.
Other ways to calculate it
- Spreadsheets: with values in A1 and B1, use
=ABS(A1-B1)/AVERAGE(ABS(A1),ABS(B1)), formatted as a percentage. For percent change use=(B1-A1)/ABS(A1). - By hand: the three-step method above is quick and makes the choice of denominator explicit, which is what reviewers care about.
- Other denominators: some fields define relative difference using the larger of the two values, or the smaller one. These give different numbers, so if a standard or client specifies a formula, follow it and state it.
For general percentage questions, use the Percentage Calculator; for before-and-after comparisons, the Percentage Change Calculator; and for expressing two values as a ratio, the Ratio Calculator.
Pitfalls to avoid
Reporting percentage difference for growth
If something grew over time, percentage difference understates the change and confuses readers. Use percent change.
Values with opposite signs
A profit of 50 and a loss of 30 have an average magnitude of 40 and a gap of 80, giving 200%. The number is mathematically valid but tells you little. Report the absolute difference instead.
Values near zero
When both values are tiny, small absolute gaps produce huge percentages. Two readings of 0.001 and 0.003 differ by 100%, but that may be within measurement noise.
Not saying which formula you used
"The difference is 8%" could mean several things. Write "percentage difference (relative to the mean)" or "increase from the first quote" so the reader knows.
Frequently asked questions
What is the formula for percentage difference?
Divide the absolute difference by the average of the two values and multiply by 100: |A − B| ÷ ((|A| + |B|) ÷ 2) × 100.
Is percentage difference the same as percent change?
No. Percent change divides by the starting value and has a direction (increase or decrease). Percentage difference divides by the average and gives the same answer whichever value comes first.
Can the percentage difference be more than 100%?
Yes, up to a maximum of 200%, which occurs when one of the values is zero. Percent change has no such upper limit.
When should I use percentage difference instead of percent error?
Use percent error when one value is accepted as correct, such as a textbook constant. Use percentage difference when comparing two values of equal standing, such as two experimental results.
Why do I get different answers depending on which number I divide by?
Because percent change uses one value as the reference, and choosing a different reference changes the base. Percentage difference avoids this by using the average of both.