Percent Difference Calculator
Find the percentage difference (RPD) between two values, using their average as the reference.
66.67%
Percent difference (RPD)
The percent difference between 10 and 20 is 66.67%.
The percent difference between 10 and 20 is 66.67%.
Step-by-step working
- 1Find the absolute difference|10 − 20| = 10
- 2Find the average of the two values(10 + 20) ÷ 2 = 15
- 3Divide and multiply by 10010 ÷ 15 × 100 = 66.67%
- Absolute difference
- 10
- Average
- 15
Excel / Google Sheets (Value A in A2, Value B in B2): =ABS(A2-B2)/((A2+B2)/2)
Quick answer: Percent difference compares two values when neither one is the starting point. Divide the absolute difference by the average of the two values and multiply by 100: Percent difference = |A − B| ÷ ((A + B) ÷ 2) × 100. For 10 and 20, that is 10 ÷ 15 × 100 = 66.67%.
Percent difference formula
Percent difference = |A − B| ÷ ((A + B) ÷ 2) × 100
What Is Percent Difference?
Percent difference is the size of the gap between two values, expressed as a percentage of their average. It answers “how far apart are these two numbers?” when neither one is the obvious starting point — two shop prices, two measurements of the same thing, or two products.
Because it uses the average as the reference, percent difference is symmetric: the percent difference between 10 and 20 is the same as between 20 and 10 (66.67%). That is exactly what you want for fair comparisons.
Percent Difference Formula
The formula is |A − B| ÷ ((A + B) ÷ 2) × 100. Here is how it works for two prices, $1.99 and $2.49:
- 1
Find the absolute difference
|1.99 − 2.49| = 0.50. - 2
Find the average
(1.99 + 2.49) ÷ 2 = 2.24. - 3
Divide and multiply by 100
0.50 ÷ 2.24 × 100 = 22.32%.
In Excel or Google Sheets the same calculation is =ABS(A2-B2)/((A2+B2)/2), formatted as a percentage. Percent difference is undefined when the two values average to zero (for example 5 and −5).
Percent Difference vs Percent Change
Use percent change when one value came first; use percent difference when the values are peers. The two give different answers for the same pair of numbers:
| Percent difference | Percent change | |
|---|---|---|
| Question | How far apart are A and B? | How much did it move from old to new? |
| Divide by | The average of A and B | The old value |
| Sign | Always positive | + increase, − decrease |
| Order matters? | No | Yes |
| 80 and 100 | 22.22% | +25% (80 → 100) or −20% (100 → 80) |
For tracking something over time — a price, a salary, a score — use the percent change calculator. To compare a measured value against a known correct value, use the percent error calculator.
Relative Percent Difference (RPD) in Labs
In laboratories, relative percent difference (RPD) checks how well two duplicate measurements agree. The formula is the same: the absolute difference between the duplicates divided by their mean, times 100.
If a water sample is measured twice at 12.1 mg/L and 11.7 mg/L, the RPD is 0.4 ÷ 11.9 × 100 = 3.36%. Many lab methods set a maximum acceptable RPD for duplicates; the limit depends on the method and the analyte, so always check your own procedure. A high RPD suggests a sampling or measurement problem worth investigating.
Percent Difference Examples
| Values | A and B | Difference | % difference | Open in calculator |
|---|---|---|---|---|
| Two numbers | 10 and 20 | 10 | 66.67% | Try it |
| Two numbers | 45 and 55 | 10 | 20% | Try it |
| Two prices | $1.99 and $2.49 | $0.50 | 22.32% | Try it |
| Two scores | 98 and 102 | 4 | 4% | Try it |
| Lab duplicates | 12.1 and 11.7 | 0.4 | 3.36% | Try it |
| Two salaries | $80,000 and $100,000 | $20,000 | 22.22% | Try it |
When to Use a Percent Difference Calculator
Comparing two prices
Same product, two shops — how different are they?
e.g. $1.99 vs $2.49 is 22.32%
Lab duplicates (RPD)
Check that repeat measurements agree.
e.g. 12.1 vs 11.7 mg/L is 3.36%
Two products or options
Compare specs, scores or ratings fairly.
e.g. 98 vs 102 points is 4%
Two measurements
Compare readings from two instruments.
e.g. 45 cm vs 55 cm is 20%
Salary benchmarking
Compare two offers without picking a base.
e.g. $80k vs $100k is 22.22%
Survey groups
Compare results between two equal groups.
e.g. 40% vs 50% is 22.22%
When both values are already percentages, also report the gap in percentage points — 40% vs 50% is a 10-point gap. Why percent difference is never negative (while percent change can be) is explained in can percent change be negative or over 100%.
Frequently Asked Questions
What is the percentage difference formula?
Percent difference = |A − B| ÷ ((A + B) ÷ 2) × 100. You divide the absolute difference by the average of the two values. For 10 and 20: 10 ÷ 15 × 100 = 66.67%.
Can percent difference be negative?
No. The formula uses the absolute difference |A − B|, so percent difference is always zero or positive, and the order of the two values does not matter. If you need a sign that shows direction, you want percent change instead.
What is RPD?
RPD stands for relative percent difference — another name for percent difference, used mostly in laboratories to compare duplicate measurements of the same sample. A small RPD means the two results agree closely.
What is the difference between percent difference and percent change?
Percent change measures movement from an old value to a new value and divides by the old value, so it can be positive or negative. Percent difference compares two values of equal standing and divides by their average, so it is always positive. From 80 to 100 is +25% change, but the percent difference between 80 and 100 is 22.22%.
How do you get the percent difference between two numbers?
Find the gap between them (ignore the sign), find their average, divide the gap by the average and multiply by 100. For 45 and 55: gap 10, average 50, so 10 ÷ 50 × 100 = 20%.