Percentage Difference Calculator

Percentage difference—
Absolute difference—
Average of the two values—

How Percentage Difference Calculator is calculated: Percentage difference = |a − b| ÷ ((a + b) ÷ 2) × 100

What is percentage difference, and when do you need it?

Percentage difference compares two numbers and tells you how far apart they are, as a share of their average. It is the fair way to compare two values when neither one is the starting point — two lab readings, two shop prices, or two estimates for the same job. A difference of 20 rupees means something very different between 80 and 100 than between 800 and 820, and percentage difference captures that: the first pair differs by 22.22%, while the second differs by only 2.47%.

Students meet percentage difference in science practicals, where two measurements of the same thing rarely agree exactly and the gap has to be reported as a percentage. Shoppers use it to compare prices between stores without being fooled by raw rupee gaps. Engineers, analysts and researchers use it to compare a new method against an old one, or a forecast against the actual result, when neither number deserves to be called the baseline.

This Percentage Difference Calculator is free to use, with no sign-up and no data sent anywhere — every calculation runs in your browser. Type the numbers and the answer appears at once, with the working shown underneath so you can check it. Students, shoppers, teachers and analysts all use the same simple boxes, and the page below explains the formula, the worked examples, and the mistakes that trip people up most often.

How the percentage difference formula works

The formula has three steps. First, find the absolute difference between the two values — subtract the smaller from the larger, so the result is always positive. Second, find the average of the two values by adding them and dividing by two. Third, divide the difference by the average and multiply by 100. For the default values on this page, 80 and 100, the difference is 20, the average is 90, and 20 divided by 90 times 100 gives 22.22%.

Walk through the default example slowly. The two values are 80 and 100. The absolute difference is 20 — how far apart the numbers sit. The average is 90, exactly halfway between them. Divide 20 by 90 and you get 0.2222, and multiplying by 100 turns that into 22.22%. Swap the numbers and nothing changes: 100 and 80 still give a difference of 20 and an average of 90, so the answer stays 22.22%. That symmetry is the whole point of the tool.

One useful habit is to check the answer with a rough mental estimate before trusting it. Work out the easy version in your head — the nearest round numbers, the obvious case — and compare it with the calculator's answer. A quick estimate like that catches typos, which are the most common source of wrong answers on any calculator. The calculator is exact, but it can only work with the numbers you type, so a ten-second estimate is the cheapest insurance against a slipped digit.

The average in the denominator: the part people miss

The input people get wrong is which value goes where — and the good news is that it does not matter. Percentage difference is symmetric: swapping the two numbers gives the same answer, because the difference uses the absolute value and the average is the same either way. That is exactly what separates it from percentage change, where swapping the numbers changes the answer completely. If you find yourself worrying about which box holds the old value, you are thinking of percentage change, not percentage difference.

The number to watch is the average in the denominator. A difference of 20 looks big against an average of 90, giving 22.22%, but the same difference of 20 against an average of 810 gives only 2.47%. Always read the percentage together with the average the calculator shows — the average tells you the scale the percentage is measured against, and without it the percentage on its own can mislead you badly.

The defaults on this page are chosen so the tool shows a sensible answer the moment it loads. Change any input and the results follow at once, so the fastest way to learn the tool is to play with it: double a number, halve it, set it to zero, and watch what happens. That kind of exploring teaches the behaviour of the maths far faster than reading about it, and it is how most people end up trusting the answers.

A worked example: two prices, one percentage difference

A shop sells a pair of shoes for 80 rupees in one branch and 100 rupees in another. The absolute difference is 20 rupees and the average price is 90 rupees, so the percentage difference is 20 divided by 90 times 100, which is 22.22%. That tells you the two branches differ by nearly a quarter of the typical price — a gap worth noticing, not a rounding error. The calculator shows the same three numbers: 22.22%, a difference of 20, and an average of 90.

Now take two much bigger numbers with the same gap: 800 and 820. The difference is still 20, but the average is 810, so the percentage difference is 20 divided by 810 times 100, which is only 2.47%. The rupee gap is identical to the first example, but the percentage difference is nine times smaller, because the numbers themselves are ten times bigger. This is why comparing raw differences alone is misleading, and why the percentage matters.

One more: two lab readings of the same sample come out as 50 and 150. The difference is 100, the average is 100, and the percentage difference is exactly 100%. When the values are equal, like 120 and 120, the difference is zero and the percentage difference is 0% — the readings agree perfectly. Between those extremes, the percentage tells you at a glance how consistent two measurements are, which is why science practicals ask for it.

Where percentage difference shows up in real life

In science class, percentage difference is the standard way to report how far two measurements of the same thing disagree. If two groups measure the same pendulum and get 80 and 100 seconds for a set of swings, the 22.22% difference says more than the raw gap of 20. Teachers ask for it because it lets them compare the consistency of results across experiments that used different scales. A percentage calculator handles the simpler share-of-a-hundred questions that come up alongside it.

Shoppers and small businesses use it to compare quotes. Two suppliers quote 80 and 100 rupees for the same part — the 22.22% difference is the real size of the gap, and it stays meaningful even if the part costs 800 and 820 rupees instead. When you are choosing between vendors, the percentage difference ranks the gaps fairly across items of very different prices. An average calculator helps when you need the middle value of several quotes rather than just two.

Analysts use percentage difference to compare a forecast with what actually happened, or a new method with an old one, when neither is the baseline. If a model predicted 50 and the real result was 150, the 100% difference flags a serious miss in a single number. It also appears in product testing, where two versions of the same item are measured side by side. A ratio calculator is the companion tool when the comparison is really about parts of a whole rather than a gap.

Percentage difference vs percentage change

Percentage difference and percentage change look alike but answer different questions. Difference divides by the average, so it is symmetric — 80 versus 100 gives 22.22% in either order. Change divides by the starting value, so 80 to 100 is a 25% increase and 100 to 80 is a 20% decrease. Use difference when you are comparing two equals, and change when one value is clearly the before and the other is the after.

A percentage change calculator is the right tool when there is a clear starting point: a price rise, a salary hike, a fall in marks. It gives you a direction — up or down — along with the size. Percentage difference gives you size only, with no direction, which is exactly what you want when the two values are just two readings and neither came first. Picking the wrong one is the most common error in this whole area.

If the question is what share one number is of another, neither tool is right — you want a plain percentage instead. A percentage calculator answers questions like what percentage 30 is of 150 (20%), which is a different idea from the gap between 30 and 150. Keep the three tools straight — share, change, difference — and most percentage confusion disappears.

Common percentage difference mistakes

The first mistake is using percentage change when the question asks for percentage difference. Going from 80 to 100 is a 25% increase, but the percentage difference between 80 and 100 is 22.22%. The two numbers answer different questions, and swapping them gives a wrong answer that still looks plausible. Check whether one value is really the starting point before you pick a formula.

The second mistake is dividing by one of the values instead of the average. Dividing the difference of 20 by 80 gives 25%, and dividing it by 100 gives 20% — both are wrong for percentage difference, and both are actually percentage change in disguise. The average of 90 is the only denominator that treats both values equally, and it is the one this calculator uses.

The third mistake is forgetting the absolute value. The difference between 80 and 100 is 20, not minus 20, and percentage difference is never negative — there is no direction to it. If your working gives a minus sign, you have subtracted in the wrong order or you are really calculating a change. Take the absolute difference first, and the sign problem never appears.

How to use this percentage difference calculator

Using the calculator takes seconds. Type the first value in the top box and the second value in the second box — the order does not matter, so do not worry about which goes first. The result updates live as you type: the percentage difference in the main row, with the absolute difference and the average underneath. The default values of 80 and 100 give 22.22%, so you can check the tool against the worked example above.

Read the three results together. The percentage difference is the headline, the absolute difference is the raw gap in your original units, and the average is the scale the percentage was measured against. If the percentage surprises you, check the average — a small average makes the same gap look much bigger. Everything runs in your browser, so the numbers you type never leave your device, and there is no account or sign-up.

Everything runs in your browser. There is no account, no form, and no data sent anywhere — the numbers you type never leave your device. You can use the calculator as often as you like, for homework, shopping, bills or work, and check the answer against the worked examples above whenever a number matters. Two ways of getting the same answer is the best protection against a typo.

If a result ever surprises you, work through the worked example above with the same numbers and compare each step. Most surprises come from a single cause: the wrong operation, a swapped pair of numbers, or a decimal point one place out. Find which one it is, fix the input, and the answer will fall into line. The calculator never guesses — it applies the same rule every time, so a wrong answer always has a findable cause in the inputs.

Frequently Asked Questions

Take the absolute difference between the two values, divide it by their average, and multiply by 100. For 80 and 100, the difference is 20, the average is 90, and 20 divided by 90 times 100 is 22.22%. The average in the denominator is what makes the result the same whichever value you start from.

Percentage difference divides by the average of the two values, so it treats both values equally and has no direction — 80 versus 100 gives the same 22.22% as 100 versus 80. Percentage change divides by the starting value only, so going from 80 to 100 is a 25% increase, while going from 100 to 80 is a 20% decrease. Use difference when neither value is the baseline.

Yes. When one value is much larger than the other, the difference can exceed the average. For 50 and 150, the difference is 100, the average is 100, and the percentage difference is exactly 100%. For 10 and 100, the difference is 90 and the average is 55, giving 163.64% — a large gap between two very different numbers.

Use percentage difference when you are comparing two measurements of the same thing with no clear before and after — two lab readings, two quotes for the same job, or two prices from different shops. Use percentage change when one value is clearly the old one and the other is the new one, such as a price rise or a salary hike.

More free tools

More calculators and utilities from Sortrun — free, no sign-up.