Guide

How to Calculate Percentage Difference

Last updated: November 27, 2026

Percentage difference compares two values when neither one is the starting point: take the gap between them, divide by their average, and multiply by 100. Two values of 80 and 100 differ by 22.22%, because the gap of 20 divided by their average of 90 is 0.2222. There is no direction and no sign; the answer is the same whichever value you enter first, because the gap and the average are the same either way. That neutrality is the whole point of the measure, and this guide works it in full: why the average is the base, examples at three scales, and how to choose between difference and its directional cousin, percentage change.

Every figure below reproduces in the site’s own tool. Run your own pair through the difference mode of the Percentage Calculator as you read, and it will return the percentage printed here, because the tool runs the same formula this guide teaches. The Percentage Increase Calculator supplies the change figures used for contrast.

The formula, in three steps

Percentage difference = |a − b| ÷ ((a + b) ÷ 2) × 100, where a and b are the pair being compared and the vertical bars mean the size of the gap, ignoring its sign. Three steps: subtract the two values and take the gap as a positive number; average the two values; divide the gap by the average and multiply by 100. Worked on the guide’s anchor pair: the gap between 80 and 100 is 20, their average is 90, and 20 ÷ 90 × 100 = 22.22%.

Notice what is missing compared with a change calculation: there is no old value and no new one. Labeling one of the numbers “first” is a typing order, not a fact about the values, and the formula is built so that the order cannot leak into the answer. That is what makes percentage difference the right tool for two measurements, two quotes, two groups or two results, where crowning either one as the reference would be an arbitrary choice pretending to be a fact.

Why the base is the average

The average is not a compromise; it is the only base that treats the two values as equals. Divide the gap by one of them instead and you get two different answers to the same comparison: on the anchor pair, 20 ÷ 80 = 25% and 20 ÷ 100 = 20%, and each answer quietly assumes the value you divided by is the reference. Those are in fact the two percentage changes between the values, up and down, and they are the right answers to directional questions. For a neutral comparison they are two verdicts where one was asked for.

The average also has a tidy reading of its own. Each of the two values sits the same proportional distance from it: 80 and 100 are each 11.11% away from their average of 90, measured against the average itself, and the two distances add to the 22.22% difference. Percentage difference is, in that sense, the total separation of the pair expressed against the value they share.

Worked examples at three scales

Two test scores from different classes, 72 and 80. The gap is 8, the average is 76, and 8 ÷ 76 × 100 = 10.53%. Neither class sat the test first, so change has no grip here; difference states how far apart the two results are, which is the question actually being asked.

Two prices for the same job, $200 and $240. The gap is $40, the average is $220, and 40 ÷ 220 × 100 = 18.18%. A change calculation would force a verdict about which quote is the baseline; the difference simply prices the spread between them, which is what someone choosing between the quotes needs to know.

Two readings of the same quantity, 98.6 and 99.4. The gap is 0.8, the average is 99, and 0.8 ÷ 99 × 100 = 0.81%. At this scale the measure does its quietest work: it says the two readings agree to within about eight tenths of a percent, a statement about consistency that neither an increase nor a decrease could phrase, because nothing increased or decreased.

The pairs from this guide and its examples, collected: every row is the three steps of the formula section, run on the anchor tool.

The pair Gap Average Percentage difference
80 and 100 20 90 22.22%
40 and 50 10 45 22.22%
40 and 60 20 50 40%
72 and 80 8 76 10.53%
200 and 240 40 220 18.18%
98.6 and 99.4 0.8 99 0.81%
110 and 120 10 115 8.7%

Difference or change? How to choose

The deciding question is whether one of the values came first. If the pair is a before and an after, a price last year and this year, a weight at the start and the end, a score before and after revision, there is an original, and the measure is percentage change, with the original as the base and a sign for the direction. If the pair are peers, two measurements of the same thing, two suppliers’ prices, two groups’ results, two models’ outputs, neither is the original, and the measure is percentage difference.

The same two numbers can carry all three answers at once, each correct for its own question:

The pair Change, first to second Change, second to first Percentage difference
80 and 100 +25% −20% 22.22%
50 and 65 +30% −23.08% 26.09%
40 and 60 +50% −33.33% 40%

The difference sits between the two changes in every row, which is the average doing its work. Our companion guide, How to Calculate Percentage Change, teaches the directional measure in full; if you are unsure which one a sentence needs, ask whether swapping the two numbers should change the answer. If it should, you want change. If it should not, you want difference.

The range: from 0% toward 200%

Two equal values have a percentage difference of exactly 0%: the gap is zero, and no base can make it anything else. From there the measure rises as the values separate, but it has a ceiling it never reaches. As one value becomes negligible beside the other, the gap and the average both approach the larger value’s territory, and the difference approaches 200% without arriving: 1 and 100 already differ by 196.04%, and pushing the smaller value closer to zero only edges the answer nearer to 200%. So a percentage difference over 100% is not an error; it means the gap is larger than the pair’s average.

Two edges deserve a sentence each. If both values are zero, the average is zero and the measure is undefined; the tool returns no result, correctly. And the everyday formula assumes positive values: with a negative in the pair, an average can shrink toward zero while the gap stays large, and the answer stops meaning what it means for ordinary quantities. Report the absolute gap alongside in that territory, or use a measure built for signed data.

Percentage difference in a spreadsheet

With the two values in A2 and B2, the formula is =ABS(A2−B2)/AVERAGE(A2,B2)*100. ABS takes the gap without its sign, AVERAGE(A2,B2) is the same base the formula names, and the multiplication by 100 is written out here because the result is a plain number; if you format the cell as a percentage instead, leave the *100 out, because the formatting supplies it, and leaving it in inflates every answer a hundredfold. Swapping the two cells changes nothing, which is the quickest spreadsheet check that you have typed the difference formula and not a change formula.

Difference, change, points and error

Four measures divide a gap by four different bases, and naming the base is most of using them correctly. Percentage difference divides by the average, for peers with no reference. Percentage change divides by the old value, for anything with a before and an after; it is taught in full in How to Calculate Percentage Change. Percentage points do not divide at all: they are the plain subtraction of two percentages, the language for rates and shares, covered in Percentage Points vs Percent. Percent error divides by the accepted or true value, for a measurement judged against a known standard, which is why it belongs to lab work rather than to comparisons between equals. Hold the four apart and most arguments about percentages turn out to be two people using different denominators.

Sources and method

The formula used is the standard definition of percentage difference: the absolute gap between two values divided by their average, times 100, as used in science and engineering for comparing measurements with no reference value. Every worked figure on this page is computed from that definition with the same logic as the site’s percentage tools, and each one reproduces in the difference mode of the Percentage Calculator at the precision the tool displays. checked November 2026.

Frequently asked questions

How do you calculate the percentage difference between two numbers?

Subtract the two numbers and take the gap as a positive value, average the two numbers, then divide the gap by the average and multiply by 100. For 80 and 100: the gap is 20, the average is 90, and 20 ÷ 90 × 100 = 22.22%. The difference mode of the calculator linked from this guide runs the same three steps on any pair and shows its working, which is the fastest way to check a hand calculation.

Why does percentage difference divide by the average?

Because neither value is the reference, and the average is the one base that belongs to both equally. Dividing by either value instead would crown it the baseline and give two different answers for one comparison: on 80 and 100, dividing the gap by 80 gives 25% and by 100 gives 20%, which are the two percentage changes between the values. The average of 90 sits between them, and the 22.22% it produces is a statement about the pair, not about either value’s journey.

Is percentage difference the same as percentage change?

No. Percentage change is directional: it compares a new value with an original and divides by the original, so 50 growing to 65 is a +30% change and 65 falling to 50 is a −23.08% change. Percentage difference is neutral: it divides by the average, so 50 and 65 differ by 26.09% in either order. Use change when one value came first, a price before and after, a score then and now; use difference when the two values are peers, such as two measurements or two quotes.

Does it matter which value I enter first?

No, and that is by construction. Swapping the two values changes neither the gap, which is taken without its sign, nor the average, which is the same sum halved. So 80 against 100 and 100 against 80 both give 22.22%, on paper and in the calculator. If a tool or a spreadsheet formula gives you two different answers when you swap the inputs, it is computing a percentage change, whatever its label says, and the difference formula is the one in this guide.

Can percentage difference be more than 100%?

Yes. The difference passes 100% whenever the gap between the values is larger than their average, which happens when one value is more than three times the other: 1 and 100 differ by 196.04%. For positive values the measure approaches 200% as the smaller value shrinks toward zero, but never reaches it, because the average always keeps half of the larger value in the base. A result over 100% is not an error; it is the measure reporting that the two values are far apart relative to their size.

How do I calculate percentage difference in Excel or Google Sheets?

Put the two values in cells, say A2 and B2, and use =ABS(A2−B2)/AVERAGE(A2,B2)*100. ABS gives the gap without its sign and AVERAGE(A2,B2) is the base the formula divides by, so for 80 and 100 the cell returns 22.22. The same formula works in both programs unchanged. If both cells are zero the formula reports a division error, which is correct behavior: the average base is zero and the difference is genuinely undefined.

The Calc Guide, educational content, not financial advice.