Math calculator
Percentage Difference Calculator
Compare two values as a percentage of their average magnitude.
How this calculation works
|a − b| ÷ ((|a| + |b|) ÷ 2) × 100 Use the calculator above to enter your values. Inputs are checked before a result is shown, and calculations run locally in your browser.
100 and 120: 20 ÷ 110 × 100 = 18.18%.
40 and 60: 20 ÷ 50 × 100 = 40%.
20 and 20: no gap, so the difference is 0%.
What is Percentage Difference?
Percentage difference compares two values without naming either one as the original. It divides the absolute gap by the average of the two values' absolute magnitudes, then expresses that ratio as a percent. Because the comparison is symmetric, swapping the inputs does not change the result.
How to use this calculator
- Choose the calculation mode that matches the quantity you need to find.
- Enter each known value in its labeled field. Keep the original and new values in the right order when direction matters.
- Select Calculate, then compare the displayed result with the formula and worked examples below.
When to use it
- Compare two measurements when neither is a before or after value.
- Describe how far apart two quoted amounts are relative to their average size.
- Compare results from two methods when neither result is the accepted baseline.
Common mistakes to avoid
- Using this method for a time series where one value is explicitly the original; use percent change instead.
- Dividing by only one value and calling it symmetric percentage difference.
- Expecting a result when both inputs are zero; there is no average magnitude to use as a denominator.
Frequently asked questions
What is percentage difference between 100 and 120?
The gap is 20 and the average magnitude is 110, so the difference is about 18.18%.
Does the order of the two values matter?
No. The absolute gap and average magnitude are unchanged when the two inputs are swapped.
When should I use percentage difference instead of percent change?
Use percentage difference when neither value is the baseline. Use percent change when one value is explicitly the starting point.
Can percentage difference be negative?
This calculator uses the absolute gap, so the result is nonnegative when at least one input has nonzero magnitude.
What if both values are zero?
The result is undefined because their average magnitude is zero, so the formula would divide by zero.
Related math guides
Keep calculating
