Percentage Difference Calculator
Use percentage difference when neither value is the “original” — for example comparing two shops, two measurements or two products.
Compare two values
Formula
Percentage difference divides the gap between two values by their average, so the answer is the same whichever value you put first.
difference % = |A − B| ÷ ((A + B) ÷ 2) × 100
- |A − B|
- the absolute difference (always positive)
- (A + B) ÷ 2
- the average of the two values
Worked example
Compare 40 and 60
- Absolute difference: |40 − 60| = 20
- Average: (40 + 60) ÷ 2 = 50
- 20 ÷ 50 × 100 = 40%
The percentage difference is 40%.
Notice how this differs from percentage change: 40 → 60 is a 50% increase, while 60 → 40 is a 33.33% decrease. The percentage difference of 40% sits between them and does not depend on direction.
Which measure should I use?
| Situation | Use |
|---|---|
| A value changed over time (old → new) | Percentage change |
| Two measurements of equal status | Percentage difference |
| A measurement against a known or accepted value | Percentage error: |measured − true| ÷ true × 100 |
Limitations
If A and B have opposite signs or their average is zero, the percentage difference is not meaningful (and is undefined when the average is zero). For data that can be negative, compare the absolute difference instead.