Percent Difference Calculator (Excel Method)
Enter two values to calculate percent difference using the standard formula: |A - B| / ((|A| + |B|) / 2) × 100.
If you are looking for a quick way to do percent difference in Excel, this page gives you everything in one place: a working calculator, the exact formula, and practical examples you can copy directly into your spreadsheet.
What is percent difference?
Percent difference tells you how far apart two values are relative to their average size. It is commonly used when comparing measurements, estimates, experiment results, or two sources of data where neither value is the "starting point."
That is the key distinction: percent difference treats both numbers symmetrically.
Percent difference formula
The standard formula is:
Percent Difference = |A − B| / ((|A| + |B|) / 2) × 100
- |A − B| is the absolute difference (always positive).
- (|A| + |B|) / 2 is the average magnitude of the two values.
- Multiplying by 100 converts the result into a percentage.
Excel formulas you can paste right now
Basic Excel formula (cells A2 and B2)
Use this for most normal scenarios:
=ABS(B2-A2)/AVERAGE(ABS(A2),ABS(B2))*100
Safer formula (prevents #DIV/0! when both values are zero)
This version returns 0 instead of an error if both values are 0:
=IFERROR(ABS(B2-A2)/AVERAGE(ABS(A2),ABS(B2))*100,0)
Example calculation
| Value A | Value B | Absolute Difference | Average of Absolutes | Percent Difference |
|---|---|---|---|---|
| 80 | 100 | 20 | 90 | 22.22% |
| 250 | 200 | 50 | 225 | 22.22% |
| -30 | 45 | 75 | 37.5 | 200% |
Percent difference vs percent change in Excel
Percent difference
- Compares two values as peers.
- No fixed "old" or "new" direction required.
- Often used in science, quality control, and cross-source validation.
Percent change
- Measures change from an initial value to a final value.
- Formula is directional:
(New - Old) / Old * 100. - Used for growth rates, business performance, traffic trends, and revenue changes.
Common mistakes to avoid
- Using percent change formula by accident: this gives a different result than percent difference.
- Ignoring negatives: use ABS in Excel to avoid sign issues.
- Formatting confusion: if your formula already multiplies by 100, do not apply percentage formatting that multiplies again.
- Divide-by-zero errors: wrap with IFERROR when both inputs can be zero.
Quick workflow for Excel users
- Put first value in A2 and second value in B2.
- In C2, paste:
=IFERROR(ABS(B2-A2)/AVERAGE(ABS(A2),ABS(B2))*100,0) - Fill down for all rows.
- Round with
ROUND(...,2)if you want fixed decimals.
Final thoughts
A reliable percent difference calculator for Excel saves time and prevents formula errors, especially in large datasets. Use the calculator above to verify your numbers quickly, then copy the Excel formula into your sheet for repeatable results.