Percentage Difference Calculator
Written by Thierno Sadou Diallo, formula verified per our methodology • Last checked on 12/5/2026
Percentage difference = |A − B| ÷ ((A + B) ÷ 2) × 100. Between 10 and 12: 2 ÷ 11 × 100 = 18.18%. Not to be confused with the increase from 10 to 12, which is 20%.
Explanation
When comparing two values, the question "by what percentage do they differ?" has two possible answers depending on context. If one value is a reference, such as an old price or an initial measurement, you calculate a change: (new − old) ÷ old. The result then depends on direction: going from 50 to 75 is a 50% increase, but going back from 75 to 50 is a 33.33% decrease. When neither value has a special role, for example two prices found in two shops or two measurements taken by two instruments, that asymmetry is awkward. You then use the percentage difference, which relates the gap to the average of the two values: |A − B| ÷ ((A + B) ÷ 2). The result is the same whatever the order of entry: 40% between 50 and 75, either way round. The calculator shows both indicators side by side to avoid the very common confusion between these two notions. It requires positive values: with values of opposite signs or zero, the average can cancel out and the percentage difference loses its meaning. In a report, always state which of the two formulas you use. For a directional change alone, use the percentage change calculator; to chain several increases and decreases, the successive percentages calculator.
Example: two prices of €50 and €75
Inputs
A = 50. B = 75.
Calculation
Gap = |50 − 75| = 25. Average = (50 + 75) ÷ 2 = 62.5. Difference = 25 ÷ 62.5 × 100 = 40%. Change from A to B = (75 − 50) ÷ 50 × 100 = 50%.
Result
The two prices differ by 40%; if €50 is the starting price, the increase is 50%.
Frequently asked questions
When should I use the difference rather than the change?
Use the change when one value is the starting point (before/after, old/new). Use the percentage difference when both values are on an equal footing, such as two quotes or two competing measurements.
Why does the difference never exceed 200%?
With positive values, the gap is always smaller than the sum of the two values, hence smaller than twice their average. The maximum, 200%, is approached when one value tends to zero.
Is it the same as relative error?
No. Relative error compares a measurement with a reference value considered exact: it is a change, relative to the reference. The percentage difference has no reference.