Formula
Percentage difference = |A − B| ÷ ((|A| + |B|) ÷ 2) × 100
- A, B
- the two values being compared
- |x|
- absolute value
How it works
Percentage difference divides the gap between two values by their average. Because the average does not favor either value, swapping A and B gives the same answer — unlike percentage change, where the starting value is the reference.
Worked examples
Two quotes for the same job
Two contractors quote $4,200 and $4,800. The gap of $600 is divided by the average quote of $4,500.
- Value A
- 4200
- Value B
- 4800
- Percentage difference
- 13.3333%
Two thermometer readings
Comparing readings from two devices where neither is known to be correct.
- Value A
- 98.2
- Value B
- 98.9
- Percentage difference
- 0.7103%
Difference vs. change vs. error
- Percentage difference: two peers, no reference value (this page).
- Percentage change: a before and after, measured from the before value.
- Percent error: a measured value compared with a known true value.
Limits of the formula
The result can exceed 100% when the values are far apart; its maximum is 200%, reached when one value is zero. This calculator averages absolute values so a pair with opposite signs does not divide by zero, but percentage difference is rarely meaningful across a sign change — report the absolute difference instead.
Related calculators
- Percentage Change CalculatorCalculate the percent increase or decrease from a starting value to a final value.
- Percentage CalculatorFind a percentage of a number, work out what percent one number is of another, or recover the original total from a percentage.
- Percent Error CalculatorMeasure how far an experimental or estimated value is from the accepted true value.
- Average CalculatorPaste a list of numbers to get the mean, median, mode, and range in one step.
Last reviewed: