01 / Difference
Percentage difference
The gap between the numbers divided by their average, times 100. Swap the numbers and the answer stays the same.
Free tool
Type two numbers and see the percentage difference between them, and next to it the percent change from the first to the second, with both sums written out. They are not the same thing, and the page shows why. Paste a whole list of numbers, such as a column from a sheet, and get the change from each step to the next. Nothing to sign up for, and nothing leaves your browser.
Percentage difference does not depend on the order. Percent change does: the first number is the starting point.
Worked out in your browser. Nothing is sent anywhere.
The two formulas
01 / Difference
The gap between the numbers divided by their average, times 100. Swap the numbers and the answer stays the same.
02 / Change
The new number minus the old one, divided by the old one, times 100. The order decides the answer.
03 / List
Paste a column and see the change, the percent change and the difference from each number to the next.
Guide
A percentage difference calculator tells you how far apart two numbers are, as a percent of their average. It is the right question when neither number is the starting point, such as two prices for the same item or two test scores. This page gives that answer and, beside it, the percent change from the first number to the second, because people often search for one and need the other. Both sums are written out, so you can check them.
Percentage difference = |a − b| ÷ ((a + b) ÷ 2) × 100. The vertical bars mean the size of the gap, with the sign dropped, so the answer never depends on which number you call a and which you call b.
Worked example with 20 and 30. The gap is |20 − 30| = 10. The average is (20 + 30) ÷ 2 = 25. Then 10 ÷ 25 = 0.4, and times 100 is 40%. Swap them to 30 and 20 and you still get 40%.
Percent change = (new − old) ÷ |old| × 100. The old number is the base. With 20 as the old number and 30 as the new one: (30 − 20) ÷ 20 = 0.5, so a 50% increase. Going back from 30 to 20: (20 − 30) ÷ 30 = −0.3333, so a 33.33% decrease. The same two numbers give 50% one way and 33.33% the other, because each is measured against a different starting point.
| First | Second | Percentage difference | Change, first to second | Change, second to first |
|---|---|---|---|---|
| 5 | 7 | 33.33% | +40% | −28.57% |
| 20 | 30 | 40% | +50% | −33.33% |
| 50 | 65 | 26.09% | +30% | −23.08% |
| 70 | 85 | 19.35% | +21.43% | −17.65% |
| 100 | 60 | 50% | −40% | +66.67% |
Use percent change when one number came first and the other came later: this month against last month, a price before and after a sale, a score before and after a course. Use percentage difference when the two numbers have no order: the price of the same item in two shops, the weights of two parcels, two measurements of the same thing. If you are unsure, ask whether one number is the starting point.
Switch What to compare to A list of numbers and paste a column, one number on each line or separated by commas. The table shows each value against the one before it. Take 120, 135, 128, 150 and 162. The steps are +12.5%, −5.19%, +17.19% and +8%, and from the first to the last the change is +35%. The percentage difference between 120 and 162 is 29.79%. Copy table puts the rows on the clipboard, ready to paste into a sheet.
For a share of a total or a discount, try the discount calculator. For the spread of a list, use the average calculator.
Questions
Take the gap between the two numbers, divide it by their average and multiply by 100. For 20 and 30 that is 10 ÷ 25 × 100 = 40%.
Percent change divides the gap by the starting number, so the order matters. Percentage difference divides it by the average, so the order does not matter.
They answer different questions. 50% is the percent change from 20 to 30. 40% is the percentage difference between 20 and 30, measured against their average of 25.
Yes. It passes 100% when one number is more than three times the other, and reaches 200% when one of them is 0.
Read the percent change card. A plus sign is an increase and a minus sign is a decrease, measured against the first number.
Yes to both. For negatives the sums use the size of each number, as the note under the sums explains.
Yes. Choose A list of numbers and paste. New lines, tabs, spaces, semicolons and commas all separate numbers, and a number like 1,234 is read as one thousand two hundred thirty-four.
No. Everything is worked out in your browser. Your last numbers are remembered on this device only.