Percent difference calculator: what is the percent difference between two numbers?
Enter two numbers to see how far apart they are in percent, measured against their average, so neither one has to be the starting point. The steps and a side-by-side comparison with percent change show why the methods give different numbers.
Percent difference calculator
I want to know the percent difference between 1,200 and 1,350.
Percent difference
11.76%
The percent difference between 1,200 and 1,350 is 11.76% (rounded): they are 150 apart, which is 11.76% of their average, 1,275.
- 150Difference between them
- 1,275Average of the two
- +12.5%Percent change from 1,200 to 1,350
- −11.11%Percent change from 1,350 to 1,200
How the percent difference calculator works it out
- Find the difference and drop any minus sign: |1,200 − 1,350| = 150.
- Find the average: (1,200 + 1,350) ÷ 2 = 1,275.
- Divide the difference by the average: 150 ÷ 1,275 = 0.117647.
- Multiply by 100: 0.117647 × 100 = 11.76% (rounded). Swapping the two values gives the same answer.
The same two values compared in other ways. Each method divides by a different number, which is why the percents differ. The marked row is the percent difference.
| Method | Divide by | Result |
|---|---|---|
| Percent difference | 1,275 | 11.76% |
| Change from A | 1,200 | +12.5% |
| Change from B | 1,350 | −11.11% |
| A as % of B | 1,350 | 88.89% |
| B as % of A | 1,200 | 112.5% |
How to use the percent difference calculator
- Value A: type the first number, such as one quote, price or measurement. Commas and a dollar sign are fine.
- Value B: type the number to compare with, in the same unit. The order does not matter: swapping A and B gives the same percent difference.
- Examples: tap an example to see how two prices, two lab readings or two salaries compare.
- Read the answer: the percent difference is at the top. Below it are the plain difference, the average and the percent change from each side, for when one value is the starting point after all.
When to use percent difference
Use percent difference when two values stand side by side and neither is the “before”: two quotes for the same job, prices at two stores, two measurements of the same thing in a lab, results from two methods, or this year’s figures for two cities or teams.
When one value came first, such as last year’s and this year’s price, the percent change is the usual measure: use the percent change calculator. To work out a percent of a number or what percent one number is of another, use the percentage calculator; for the mean of a longer list, the average calculator.
Percent difference at a glance
What it does
Divides the gap between two numbers by their average and multiplies by 100, and shows the percent change from each side next to it.
Who it's for
Students and lab workers comparing measurements, shoppers comparing prices or quotes, and anyone reporting how far apart two figures are.
Watch out for
It is not the percent change: 1,200 to 1,350 is a 12.5% increase, but the percent difference is 11.76%. Say which one you mean.
How percent difference is calculated
Percent difference compares two values on an equal footing. Instead of measuring the gap against one of them, it measures it against their average: percent difference = |A − B| ÷ ((A + B) ÷ 2) × 100. The vertical bars mean you drop any minus sign, so the result is never negative and does not depend on which value you enter first.
With your numbers: |1,200 − 1,350| ÷ ((1,200 + 1,350) ÷ 2) × 100 = 150 ÷ 1,275 × 100 = 11.76% (rounded).
Because the average lies between the two values, the percent difference always falls between the percent change from the smaller value and the change from the larger one. It reaches its maximum of 200% when one value is 0. For negative values the calculator averages their sizes, without minus signs. When one value clearly came first, such as an old and a new price, use the percent change calculator instead. To find a share of a number, use the percentage calculator.
Percent difference: worked examples
Two contractors quote $1,200 and $1,350. What is the percent difference?
The gap is $150 and the average is ($1,200 + $1,350) ÷ 2 = $1,275. $150 ÷ $1,275 × 100 = 11.76%.
Common mistake: dividing by the lower quote (150 ÷ 1,200 = 12.5%). That is the percent change from $1,200, which makes the higher quote the starting point.
Two lab readings are 9.8 and 10.2. How far apart are they?
The gap is 0.4 and the average is 10. 0.4 ÷ 10 × 100 = 4%.
Common mistake: dividing by 9.8 or 10.2, which gives 4.08% or 3.92% depending on which you pick.
What is the percent difference between 80 and 60?
20 ÷ 70 × 100 = 28.57%, whether you start with 80 or with 60.
Common mistake: giving −25% or +33.33%. Those are percent changes from 80 and from 60; the percent difference has no direction.
What is the percent difference between 40 and 0?
The gap is 40 and the average is 20, so it is 200%, the highest a percent difference can go.
Common mistake: expecting a maximum of 100%. Because the gap is divided by the average, not the larger value, it can reach 200%.
Percent difference in Excel and Google Sheets
Put the two values in A2 and B2. Format the result cell as a percentage, or multiply by 100 for a plain number. The formula works the same in Excel and Google Sheets.
Read the table row by row: each row is one cell of your sheet, what to put in it and an example.
| Cell | What goes in it | Example |
|---|---|---|
| A2 | Value A | 1200 |
| B2 | Value B | 1350 |
| C2 | Percent difference (format as %) | =ABS(A2-B2)/((ABS(A2)+ABS(B2))/2) |
Percent difference
=ABS(A2-B2)/((ABS(A2)+ABS(B2))/2) Percent difference as a number, 2 decimals
=ROUND(ABS(A2-B2)/AVERAGE(ABS(A2),ABS(B2))*100,2) Percent change from A to B
=(B2-A2)/ABS(A2) Percent difference, blank when both are 0
=IF(AND(A2=0,B2=0),0,ABS(A2-B2)/((ABS(A2)+ABS(B2))/2)) ABS drops the minus sign. Without the IF version, two zeros give a #DIV/0! error. For positive values, (A2+B2)/2 and AVERAGE(A2,B2) give the same result.
Percent difference: frequently asked questions
How do you calculate percent difference?
Subtract one value from the other and drop any minus sign, divide by the average of the two, and multiply by 100. For 50 and 75: 25 ÷ 62.5 × 100 = 40%.
What is the difference between percent difference and percent change?
Percent change has a direction and divides by the old value: 50 to 75 is +50%. Percent difference has no direction and divides by the average: 50 and 75 are 40% apart. Use percent change when one value came first.
Can percent difference be more than 100%?
Yes, up to 200%. That happens when the values are far apart: 25 and 100 are 120% apart, and any number and 0 are 200% apart.
Is percent difference the same as percent error?
No. Percent error compares a measured value with a known true value and divides by the true value: measuring 9.8 when the true value is 10 is a 2% error. Percent difference compares two measurements when neither is known to be right.
Does the order of the numbers matter?
No. The gap and the average are the same in either order, so A = 80, B = 60 and A = 60, B = 80 both give 28.57%.
Why does another calculator give a different answer?
Usually because it divides by one of the values instead of the average, which is a percent change. Some also round to fewer decimals or refuse 0 and negative numbers; this calculator accepts them, gives 200% when one value is 0, and averages the sizes of negative values.
Other math calculators
- Average calculator
- Decimal to fraction
- Fraction calculator
- Fraction to decimal
- Median calculator
- Percent change calculator
- Percent increase calculator
- Percent off calculator
- Percentage calculator
- Ratio calculator
- Rounding calculator
- Scientific notation calculator
- Simplify fractions calculator
- Square root calculator
- Standard deviation calculator
- Weighted average calculator
Report a problem with this calculator · Sponsor this calculator