Percentage Difference Calculator
Percentage difference = |first − second| ÷ ((first + second) ÷ 2) × 100. It measures the gap between two numbers as a percentage of their average.
verified_userReviewed by the Calculopedia editorial teamLast updated 2026-08-14
Embed on your site
Embed this calculator on your site:
<iframe src="https://calculopedia.darzh.xyz/embed/percentage-difference-calculator/" width="100%" height="700" style="border:0;border-radius:12px" loading="lazy"></iframe>
quizExample
How this calculator works, with real numbers (no JavaScript needed):
Inputs
- First value
- 80
- Second value
- 100
Results
- Percentage difference
- 22.2%
- Absolute difference
- 20
functionsThe formula
Percentage difference answers "how far apart are these two numbers" in a directionless way. Where percentage change asks about movement from a "before" to an "after", percentage difference treats both numbers as equals and measures the gap against their midpoint. It is the tool for quotes, estimates, measurements and polls — comparisons with no natural baseline.
The formula
Percentage difference = |A − B| ÷ ((A + B) ÷ 2) × 100
The absolute value drops the sign; the denominator is the average of the two numbers. The result is the gap expressed relative to the middle of the range, and the calculator also reports the raw absolute difference so both figures are on screen.
Worked example
Compare 80 and 100:
Average = (80 + 100) ÷ 2 = 90
Difference = |80 − 100| = 20
Percentage difference = 20 ÷ 90 × 100 ≈ 22.2%
Flip the order — 100 vs 80 — and the answer is identical. That symmetry is the entire point: difference does not care which number came first.
Difference vs change, side by side
| Measure | 80 vs 100 | Reads as |
|---|---|---|
| Percentage change | +25% | directional, relative to the start |
| Percentage difference | 22.2% | symmetric, relative to the average |
Use change when one value is clearly the "before" and the other the "after". Use difference when the two are independent observations — two bids, two lab readings, two survey results, two estimates of the same thing.
Why the average, and not one of the numbers?
Percentage change would report 25% from the 80 side and 20% from the 100 side — and neither is "right" for a comparison. Difference sidesteps the argument by dividing by the average, giving one number both parties can quote. The trade-off appears at extremes: comparing 1 and 101 gives |1 − 101| = 100 against an average of 51, i.e. roughly 196% "difference" — correct but startling, and worth a moment's thought before it is quoted.
Where it's used
- Vendor quotes — is ₹10,000 against ₹12,000 a tolerable gap or a negotiating point?
- Estimates vs actuals — how far off was a forecast, bid or plan?
- Laboratory and engineering measurement — two readings of the same specimen against a tolerance.
- Surveys and polls — comparing agreement levels across two groups.
Difference vs error
A close relative is percent error, used when one of the two values is the accepted reference ("true" value) and direction matters:
Percent error = |measured − true| ÷ true × 100
Difference is symmetric and baseline-free; error is anchored to a benchmark. Use error when a reference exists and the deviation is the point (a lab result vs a certified standard); use difference when neither number outranks the other. Mixing the two in reports — quoting a symmetric difference where an anchored error was meant — is a classic source of misleading figures.
Common mistakes
- Using it where direction matters — a 50% increase is not a 50% difference, and quoting it as such confuses change and difference.
- Dividing by one of the numbers instead of the average — the whole point is the symmetric base.
- Dropping the absolute value — difference is a magnitude, not a signed value.
- Comparing values still sitting in different units — convert to a common unit first or the "difference" is meaningless.
If your situation has a clear before-and-after story, the percentage change calculator delivers the directional answer; this one delivers the symmetric one.
helpFrequently asked questions
question_markHow do I calculate percentage difference?
Divide the absolute difference between the two numbers by their average, then multiply by 100: |A − B| ÷ ((A + B) ÷ 2) × 100.
question_markWhat is the percentage difference between 80 and 100?
|80 − 100| ÷ 90 × 100 ≈ 22.2%. The average of 80 and 100 is 90, and the difference of 20 is 22.2% of that average.
question_markWhat is the difference between percentage difference and percentage change?
Percentage change is relative to the starting value and has a direction (+25% from 80 to 100). Percentage difference is symmetric and relative to the average of the two values (22.2%).