Percentage Difference Calculator
Calculate the symmetric percentage difference between two values using the average as base.
The order doesn't matter — percentage difference is symmetric. If one value is the "original" and you want a directional figure, use the Percentage Change Calculator instead.
Percentage difference
40%
symmetric, uses the average as denominator
Absolute difference
20
|40 − 60|
Average (denominator)
50
(40 + 60) ÷ 2
Calculation steps
- 1. Find the absolute difference: |40 − 60| = 20
- 2. Compute the average of the two values: (40 + 60) ÷ 2 = 50
- 3. Divide the difference by the average: 20 ÷ 50 = 0.4
- 4. Multiply by 100: 0.4 × 100 = 40%
Compared to percent change (same two numbers)
- Percent difference (symmetric, denom = average): 40%
- Percent change from A to B (denom = A): 50%
- Percent change from B to A (denom = B): -33.33%
Three different denominators → three different percentages. Each answers a different question. Difference is the right one when neither value is "the original".
40 vs 60 → 40% difference (avg 50, |Δ| = 20)
How to use Percentage Difference Calculator
What this calculator does
This calculator computes the percentage difference between two values — a symmetric measure of how far apart they are, expressed relative to their average. Unlike percent change, the order of the two inputs doesn’t matter; swapping them produces the same answer. That symmetry is the whole point of the formula: it’s used when neither value has a special “before” or “after” role.
How to calculate percentage difference
The formula is:
percentage difference = (|a − b| ÷ ((a + b) / 2)) × 100
Four steps in plain language: take the absolute difference of the two
values, take their average, divide the difference by the average,
then multiply by 100. The average is what makes the formula
symmetric — there’s no privileged denominator, so it doesn’t matter
which value you call a and which you call b.
Worked example — and a side-by-side with percent change
Comparing the values 40 and 60:
| Metric | Formula | Result |
|---|---|---|
| Percent difference | |40 − 60| ÷ ((40 + 60) / 2) × 100 = 20 ÷ 50 × 100 | 40 % |
| Percent change from 40 → 60 | (60 − 40) ÷ 40 × 100 | 50 % |
| Percent change from 60 → 40 | (40 − 60) ÷ 60 × 100 | −33.3 % |
The same two numbers produce three different percentages depending on which denominator you choose. This is not a bug or a quirk — each formula answers a different question. The reason the difference calculator is most likely the one you want is that it’s the only one that doesn’t force you to pick which value is “first”.
When percent difference is the right tool
- Comparing two measurements of the same thing. Two thermometers read 19.8 °C and 20.4 °C. Neither is “the original” — they’re peers. Percent difference is symmetric, neutral, and reportable as a single number.
- Comparing prices across two vendors. Store A sells the same TV for $549 and Store B for $599. The natural question is “how far apart are they?”, not “how much would Store A grow if it raised to Store B’s price”. Percent difference works; percent change feels forced and depends on which one you call the start.
- Comparing model outputs. Two ML models predict revenue at $1.20 M and $1.34 M. Percent difference quantifies the disagreement without implying that one is the baseline.
- Reproducibility checks. Repeat a measurement, compare the two trials, ask whether they agree to within X %.
When percent difference is the wrong tool
- Tracking change over time. Yearly revenue, weekly metrics, stock prices — there’s a clear “before” and a clear “after”. Percent change is the right formula, and the signed version (positive for growth, negative for decline) carries real information that percent difference throws away.
- Reporting growth. “Sales grew by 40 %” reads as a directional claim; using percent difference would understate growth (which uses the smaller starting value as denominator) and remove the sign.
- A/B test deltas. The control is the baseline, the variant is the change. Percent change is the convention.
Common pitfalls
Treating percent difference and percent change as interchangeable. They use different denominators (average vs starting value), so they give different numbers. Always know which question you’re answering before you pick the formula.
Using percent difference when one value is 0. The formula
divides by the average, so if the two values sum to zero (e.g. +5
and −5) the denominator is zero and the result is undefined. In
practice, if one of your values is zero or near-zero, neither
percent difference nor percent change is a good fit — report the
absolute difference instead, or rescale.
Reporting percent difference with a sign. It’s an absolute measure by definition. If the sign of the change matters, you want percent change.
Confusing percent difference with percentage points. “The two
candidates polled 48 % and 52 %” — the percentage point gap is 4,
the percent difference in their shares is (4 ÷ 50) × 100 = 8 %.
Different concepts, very different numbers; the news media mixes
them up routinely.
Privacy
This calculator runs as a few arithmetic operations in JavaScript on your device. There are no fetch calls, no analytics on the values you enter, no server-side logging.
Frequently asked questions
What's the formula for percentage difference?
percentage difference = (|a − b| ÷ ((a + b) / 2)) × 100. The numerator is the absolute difference (no sign), the denominator is the average of the two values. Because both the numerator and denominator are symmetric in a and b, the order of the inputs doesn't change the answer. This makes it the right tool when neither value is 'the original' — for example, comparing two thermometer readings or two store prices for the same item.When should I use percent difference vs percent change?
Why does percent difference give 40 % but percent change gives 50 % for the same two numbers?
Can percentage difference exceed 100 %?
Is my data uploaded anywhere?
Related tools
Percentage Change Calculator
Calculate the signed percentage change between two values — positive for growth, negative for drop.
Percentage Increase Calculator
Calculate the percentage increase between two values, with step-by-step working.
Percentage Decrease Calculator
Calculate the percentage decrease between two values, with the full step-by-step.
Ratio Calculator
Simplify ratios, find equivalent ratios, and scale a ratio so one side hits a target value.
Percentage Calculator
Solve percentage problems in several modes.
Fraction to Decimal Calculator
Convert any fraction to its decimal — or any decimal to its best-fit fraction with mixed number.