Percentage difference calculator
To compare two values of the same kind where neither is “before” or “after” (two prices, two measurements, two quotes), the percentage difference divides the gap by the average of the two values. The order does not matter.
Result
Percentage difference: 40%
Formula
Difference = |A − B| ÷ ((|A| + |B|) ÷ 2) × 100
Working
- Gap: |40 − 60| = 20
- Average: (40 + 60) ÷ 2 = 50
- Difference: 20 ÷ 50 × 100 = 40%
Formula
Percentage difference = |A − B| ÷ ((|A| + |B|) ÷ 2) × 100
Example: 40 and 60. Gap 20, average 50: 20 ÷ 50 × 100 = 40%.
Percentage difference or percentage change?
Two shops sell the same item for £249 and £279.
- Percentage difference: 30 ÷ 264 × 100 ≈ 11.36%.
- Change from 249 to 279: ≈ +12.05% — the second shop is 12.05% dearer.
- Change from 279 to 249: ≈ −10.75% — the first shop is 10.75% cheaper.
If one value is clearly the reference (old price, target, theoretical value), use percentage change.
Limits
- Undefined when both values are zero.
- Hard to interpret when the values have opposite signs.
- It does not say which value is larger — state it alongside the result.
Frequently asked questions
Why does the order not matter?
Because the gap is divided by the average of the two values, which is the same either way.
How do I say one price is X% higher than another?
Use percentage change with the lower price as the base: (279 − 249) ÷ 249 ≈ 12.05% higher.
Can the percentage difference exceed 100%?
Yes, up to 200% when one of the values is zero.