Percent Difference Calculator – How Far Apart Two Values Really Are
Two sellers quote $80 and $120 for the same item — how far apart are those prices, fairly? Enter any two numbers and get the percent difference measured against their average, so neither value gets to be the boss.
The two values
Advanced options — signed difference, step working, percent change and percent error
40.00% (absolute, symmetric)
Step 1: gap = |120 − 80| = 40.00. Step 2: average = (|120| + |80|) ÷ 2 = 100.00. Step 3: 40.00 ÷ 100.00 × 100 = 40.00%.
Percent error needs a true value to divide by. Here Value 1 plays that role; swap the values above if the other one is the reference.
These extra readouts are worked out live from the two values above — open Advanced options to see the signed difference, the step working and the percent-change figures.
How far apart they are
🔒 All calculations happen in your browser — no data leaves your device.
Key takeaways
- Percent difference divides the gap by the average of the two values, so swapping them never changes the answer: 80 and 120 differ by 40.00% in both orders.
- Percentage change, percent error and percent increase each divide by a different base: change by the starting value, error by the true value, difference by the average.
- The scale runs from 0% for identical values to 200% when one value is 0, and it passes 100% as soon as one value is more than three times the other.
Contents
- Compare up to four values at once
- Two values, one fair midpoint
- Keep exploring
- How it works
- The math behind percent difference
- Go deeper
- Percent difference, percent change, percent error and percent increase — four tools, four questions
- Step-by-step working: the average denominator, signed values and negative numbers
- Comparing three or four values: reading the matrix and ranking every pair
- Where percent difference belongs: lab results, prices, scores and the mistakes to avoid
- Frequently asked questions
- Related calculators
Compare up to four values at once
Got three or four quotes, readings or scores? Enter them all and see every pairwise percent difference in one symmetric matrix — plus which pair sits closest together and which is spread furthest apart.
| A · 80 | B · 100 | C · 120 | |
|---|---|---|---|
| A · 80 | — | 22.22% | 40.00% |
| B · 100 | 22.22% | — | 18.18% |
| C · 120 | 40.00% | 18.18% | — |
Pair ranking — closest first
Every pair from the values above, ranked by percent difference. The ranking updates as you type and never changes the matrix above.
| Rank | Pair | Gap | Average | Percent difference |
|---|---|---|---|---|
| 1 | B vs C | 20.00 | 110.00 | 18.18% |
| 2 | A vs B | 20.00 | 90.00 | 22.22% |
| 3 | A vs C | 40.00 | 100.00 | 40.00% |
Two values, one fair midpoint
Value 1 in violet, Value 2 in peach — and the dashed line marks their average, the base this calculator divides by.
Keep exploring
Three companion tools for percentages.
How it works
Three steps from two values to one fair comparison.
Enter both values
Any two numbers you want to compare as equals — two prices, two lab results, two measurements, two test scores.
We average them first
The gap between the values is divided by their average size, not by either value alone — so neither one is treated as the reference.
Read the symmetric answer
The percent difference, the absolute gap and the average itself. Swap the inputs and every number stays exactly the same.
The math behind percent difference
Percent difference answers “how far apart are these two values, relative to their typical size?” — so the absolute gap is divided by the average of the two sizes. That is what makes it different from percentage change, which divides by one chosen starting value. The classic example: a move from 80 to 120 is a +50% change (the gap of 40 measured against the start, 80), but the percent difference between 80 and 120 is 40% (the same gap of 40 measured against their average, 100). Neither answer is wrong — they use different bases, and this page is for the cases where picking one value as the base would be unfair or arbitrary.
Worked examples — note how swapping never changes the answer:
| Pair | Gap | Average | % difference |
|---|---|---|---|
| 80 vs 120 | 40 | 100 | 40.00% |
| 120 vs 80 | 40 | 100 | 40.00% |
| 200 vs 250 | 50 | 225 | 22.22% |
| 0 vs 100 | 100 | 50 | 200.00% |
Reference pairs — handy benchmarks to sanity-check your own comparisons:
| Pair | Gap | Average | % difference |
|---|---|---|---|
| 90 vs 100 | 10 | 95 | 10.53% |
| 45 vs 50 | 5 | 47.5 | 10.53% |
| 200 vs 220 | 20 | 210 | 9.52% |
| 150 vs 180 | 30 | 165 | 18.18% |
Worked check: for $80 vs $120, the gap is $40 and the average price is $100, so 40 ÷ 100 = 0.40 — a 40.00% difference. A percentage-change calculator would give +50% one way and −33.33% the other; the percent difference gives one number, 40.00%, that both sides can agree on.
Go deeper
When the average is the right base — and when it is not.
They answer different questions:
- Percent difference compares two values as equals. Use it for two measurements of the same thing, two sellers quoting $80 and $120, or two lab results where neither is the “true” one.
- Percentage change tracks a move over time. Use it when one value genuinely came first — a salary that rose from $80,000, a price that fell, a weight before and after.
- The tell: if swapping the two numbers should not change your answer, you want percent difference. If swapping them reverses the story, you want percentage change.
- The numbers: 80 and 120 have a 40.00% difference, but going 80 → 120 is a +50.00% change, while 120 → 80 is a −33.33% change.
Dividing by one of the values quietly privileges it:
- One-sided bases exaggerate: measured against 80, the gap to 120 looks like 50%. Measured against 120, the same gap looks like 33.33%. Both are “correct” and they disagree.
- The average splits the difference: 100 sits halfway between 80 and 120, so the 40.00% answer belongs to neither side — which is exactly what you want when comparing two measurements or two quotes.
- It caps the scale: percent difference runs from 0% (identical values) to 200% (one value is 0 and the other is not), so results stay comparable across pairs.
- Standard practice: scientists report percent difference between two experimental values precisely because neither measurement is the accepted true value — that job belongs to percent error instead.
Percent difference, percent change, percent error and percent increase — four tools, four questions
One gap, four divisors, four different answers. The values 80 and 120 sit 40 apart, and every tool below starts from that same gap of 40. What changes is the base it is divided by, and the base is the whole story: pick the wrong base and a correct calculation still answers the wrong question. The table below puts the four tools side by side on the same pair, so the difference between them is visible instead of theoretical.
| Tool | Question it answers | Base (divisor) | 80 and 120 | Direction? |
|---|---|---|---|---|
| Percent difference | How far apart are these two values, as equals? | Average: 100 | 40.00% | No |
| Percentage change | How much did it move from the starting value? | Starting value: 80 | +50.00% | Yes |
| Percent increase | By what percent did it grow? | Starting value: 80 | 50.00% increase | Yes, rises only |
| Percent error | How far is the measured value from the true value? | True value | 50.00% if 80 is true | No (absolute) |
Percent increase deserves a careful note, because it is often treated as a separate tool when it is really percentage change with a restricted sign. An increase from 80 to 120 is a percentage change of +50.00%, and calling it a 50.00% increase says the same thing in plainer words. The reverse move, 120 down to 80, is a percentage change of −33.33%, and it is described as a 33.33% decrease, not a negative increase. The asymmetry is the point: a 50% rise followed by a 50% fall does not return to the start, because the second 50% is taken from the larger, risen value. From 80, a 50% rise reaches 120, and a 50% fall from 120 lands at 60, not 80. Percent difference never has this problem, because it has no direction to reverse: 80 and 120 are 40.00% apart whichever way the pair is read.
Percent error is the tool for the case where one value has authority. A laboratory instrument reads 120 for a standard known to be 100, and the error is the gap of 20 divided by the true value of 100, giving 20.00%. The percent difference between the same two numbers is 20 divided by their average of 110, giving 18.18%, and that number answers a different question: how far apart are two readings of equal standing. When a true value exists, error is the honest tool, because it measures against the standard rather than splitting the difference with it. When neither value is the standard, as with two competing lab methods or two sellers quoting different prices, difference is the honest tool, because dividing by either value alone would quietly promote it to the role of standard.
The decision checklist is short. Are the two values peers, with neither one first and neither one true? Use percent difference. Did one value genuinely come before the other, as in last year versus this year, or a price before and after a rise? Use percentage change, and name the direction. Is one value the accepted, true or target value? Use percent error. Is the move upward and the audience expects growth language? Percent increase, which is percentage change for rises, stated as a rise. The Advanced options panel on this page keeps all four visible at once for the pair above: the signed difference, the step working, both directions of percentage change, and the percent error with Value 1 as the true value, so a reader can watch the same gap produce four numbers and learn which question each one answers.
A final confusion to retire is the idea that percent difference and percentage change are two names for one thing, or that one of them is the corrected version of the other. They are not rivals. A salary that rises from $80,000 to $120,000 grew by 50.00%, and that is the right number for the negotiation, the budget and the headline. The same two salaries, compared as two offers on the table with no timeline, are 40.00% apart, and that is the right number for choosing between them. The calculation is trivial in both cases. The judgment is choosing the base, and the base follows the question, never the other way round.
Step-by-step working: the average denominator, signed values and negative numbers
The formula looks compact, and compact formulas hide their decisions. Worked slowly, the percent difference between 80 and 120 runs in three steps, and the Advanced options panel on this page shows the same three steps live for whatever pair is entered. Step one is the gap: subtract one value from the other and take the size of the result, so |120 − 80| = 40. The absolute value matters, because the gap is a distance, and distances are never negative. Step two is the average of the sizes: (|120| + |80|) ÷ 2 = 100. Note that the average is taken over the sizes, the absolute values, not over the signed values, which is the detail that makes the formula behave with negative numbers, as shown below. Step three is the division and the scaling: 40 ÷ 100 × 100 = 40.00%. Nothing else happens. Every percent difference on this page is those three steps, and every worked example below can be checked by repeating them.
The signed difference is the same calculation with the absolute value removed from the gap only. Signed percent difference equals (Value 2 − Value 1) divided by the average, times 100. For 80 and then 120, that is (120 − 80) ÷ 100 × 100 = +40.00%. Reverse the order and it is (80 − 120) ÷ 100 × 100 = −40.00%. The magnitude is identical to the absolute answer, and the sign now carries the direction: positive means Value 2 sits above Value 1, negative means it sits below. The signed form is useful when the order of the pair still means something, for example two readings taken in sequence where the direction of drift matters, but neither reading is a starting point in the percentage-change sense. The toggle in the Advanced options panel switches the headline readout between the absolute and signed forms without touching the main result, so both views stay available.
Negative numbers are where the average-of-sizes detail earns its keep. Take −40 and −60. The signed average of those two values is −50, and dividing a gap of 20 by −50 would give a nonsense negative percentage. The formula instead averages the sizes, 40 and 60, giving 50, and the percent difference is 20 ÷ 50 × 100 = 40.00%, a sensible answer: two negative values 20 apart around a typical size of 50. The same logic handles pairs that straddle zero. Take −20 and 30. The gap is |30 − (−20)| = 50, the average of the sizes is (20 + 30) ÷ 2 = 25, and the percent difference is 50 ÷ 25 × 100 = 200.00%, the maximum of the scale. That maximum is not a coincidence: when the values sit on opposite sides of zero, the gap equals the sum of the sizes, and the sum of the sizes is exactly twice their average, so the ratio is exactly 2, or 200%. A temperature pair such as −10 and 10 behaves the same way: gap 20, average size 10, difference 200.00%. The result looks extreme, and it is honest, because a pair straddling zero really is as far apart, relative to its size, as any pair can be.
Zero itself has two cases, and they must not be merged. One value zero and the other not zero gives 200.00%, as 0 and 100 show: gap 100, average 50, ratio 2. Both values zero is undefined, because the average is 0 and division by zero has no answer; the calculator says so plainly instead of printing a number. That matches the disclaimer on this page, and it is the only input pair for which the tool refuses an answer. Blank fields are not an error in the same sense: the pair calculator asks for both values, while the four-value comparison simply leaves blank entries out of its matrix.
Rounding is the last working detail, and the rule is to round once, at the end. The pair 100 and 130 has a gap of 30 and an average of 115, and 30 ÷ 115 = 0.260869…, which rounds to 26.09%. Rounding the gap or the average first would shift the answer in the second decimal place, which is why the calculator keeps full precision internally and formats to two decimals only for display. A reader checking by hand should do the same: carry the division out to several places, then round the percentage. When a hand check disagrees with the calculator by 0.01%, the cause is almost always an intermediate rounding, not a different formula.
Comparing three or four values: reading the matrix and ranking every pair
Two values give one percent difference. Four values give six, because every pair of values has its own difference, and the comparison matrix on this page shows all of them at once. The matrix is symmetric: the entry for A against B is the same as B against A, which is the whole point of percent difference, and the diagonal is a dash, because a value compared with itself is 0% apart and the dash keeps the table readable. The closest pair and the furthest pair are picked out in the chips below the matrix, and the ranking panel underneath lists every pair from closest to furthest, so the structure of a set of values is visible in one glance rather than six separate calculations.
A worked four-value set makes the reading concrete. Take the values 50, 90, 130 and 200. The six pairs, each worked by the same three steps as the pair calculator, are: 50 and 90 differ by 40 over an average of 70, giving 57.14%; 50 and 130 differ by 80 over an average of 90, giving 88.89%; 50 and 200 differ by 150 over an average of 125, giving 120.00%; 90 and 130 differ by 40 over an average of 110, giving 36.36%; 90 and 200 differ by 110 over an average of 145, giving 75.86%; and 130 and 200 differ by 70 over an average of 165, giving 42.42%. The table below repeats those figures so they can be checked against the live matrix.
| Pair | Gap | Average | Percent difference |
|---|---|---|---|
| 90 and 130 | 40 | 110 | 36.36% |
| 130 and 200 | 70 | 165 | 42.42% |
| 50 and 90 | 40 | 70 | 57.14% |
| 90 and 200 | 110 | 145 | 75.86% |
| 50 and 130 | 80 | 90 | 88.89% |
| 50 and 200 | 150 | 125 | 120.00% |
The ranking tells a story the raw values hide. The closest pair is 90 and 130, at 36.36% apart, and the furthest is 50 and 200, at 120.00% apart, which is no surprise, since they are the smallest and largest values. The interesting entry is the middle: 50 and 90 are 57.14% apart even though their gap is only 40, the same gap as 90 and 130, because their average is much smaller, 70 against 110. Equal gaps are not equal differences, and that is exactly why the matrix divides by the average instead of reporting raw gaps. A reader who only looked at gaps would call 50-to-90 and 90-to-130 equally close. They are not: relative to their size, the lower pair is far more spread out.
Practical use follows the same reading. Four supplier quotes for the same item, four lab readings of one sample, or four test scores for one student all become one matrix, and the ranking answers the first question about any such set: do these values agree, or is one of them an outlier? A set where every pair sits under 10% is a set in agreement. A set where one value is 50% or more from all the others has an outlier, and the ranking shows which value it is, because the outlier owns the largest entries. The default values on this page, 80, 100 and 120, show the agreement case in miniature: the pairs are 22.22%, 18.18% and 40.00%, with 100 and 120 closest together, so the set is spread but not wild.
Two cautions belong with the matrix. First, the closest pair is not the best pair. Two expensive quotes can be close together while both are far above a cheaper third quote, and closeness measures agreement, not value. The ranking says which values cluster, and the reader still has to judge whether the cluster is where they want to be. Second, adding a fourth value adds three new pairs, not one, so a four-value matrix deserves a slower read than a three-value one: six comparisons, each with its own base, and the largest entry is the one that usually matters most. Blank entries are simply left out, so a comparison can start with two values and grow as more arrive, and the matrix rebuilds itself each time without any button press.
Where percent difference belongs: lab results, prices, scores and the mistakes to avoid
Percent difference earns its place wherever two numbers of equal standing need one fair comparison. The laboratory is the classic case. Two methods measure the same sample and return 98.4 and 101.2. The gap is 2.8, the average is 99.8, and the percent difference is 2.8 ÷ 99.8 × 100 = 2.81%. Neither method is the true value, so percent error has nothing to divide by, and percentage change would arbitrarily crown the first method as the starting point. The 2.81% figure is the number a lab notebook wants: small enough to call the methods consistent, large enough to record. The same reasoning covers repeated measurements on one instrument, where the question is drift and agreement rather than accuracy against a standard.
Prices are the everyday case, and the page’s own example carries it: two sellers quote $80 and $120 for the same item, and the quotes are 40.00% apart. A shopper comparing three or four quotes uses the matrix instead, and the ranking shows whether the market is tight or scattered. Timing in sport works the same way. Two sprint times, 10.2 seconds and 9.9 seconds, have a gap of 0.3 over an average of 10.05, giving 2.99%. Test scores follow too: 72 and 84 differ by 12 over an average of 78, giving 15.38%. In each case the values are peers, and the average base stops either side from framing the comparison in its own favour. A seller quoting the $80 price would rather say the rival is 50% more expensive, dividing by 80, while the $120 seller would rather say the rival is 33.33% cheaper, dividing by 120. Percent difference refuses both framings and gives 40.00%, which is why it is the number both sides can accept.
Scale intuition helps when a result needs a sanity check without a calculator. A percent difference of 10% means the larger value is about 1.11 times the smaller one, as 90 and 100 show: 10.53% for a ratio of 1.11. A difference of 40% means a ratio of 1.50, the 80 and 120 case. A difference of 100% means a ratio of exactly 3, so any pair further apart than 3-to-1 passes 100%, and 10 against 50, a ratio of 5, reaches 133.33%. At the far end, 200% is the ceiling, reached only when one value is 0 or when the pair straddles zero. These landmarks let a reader glance at a result and know whether it is plausible: a claimed 60% difference for values in a 1.2 ratio is wrong, because a 1.2 ratio gives 2 × 0.2 ÷ 2.2, which is 18.18%, not 60%.
The mistakes that matter most are all base mistakes, not arithmetic mistakes. The first is quoting percentage change as if it were percent difference, which overstates every comparison where the smaller value is the starting point: 80 to 120 is a 50% change, not a 50% difference. The second is averaging percent differences. Two pairs at 40% and 20% do not average to a 30% difference for the combined set, because each percentage has a different base; the correct move is to return to the values and compute the new pair directly. The third is using difference where a true value exists, which understates error by dividing by the average instead of the standard: a reading of 120 against a true 100 is 20.00% in error, not 18.18% different. The fourth is dividing by one value out of habit, which is just percentage change wearing the wrong label. And the fifth is forgetting that both-zero is undefined rather than 0%: identical non-zero values are 0% apart, but 0 and 0 have no average to divide by, and the honest answer is that the comparison does not exist.
None of this makes percent difference a universal tool. It is deliberately narrow: it compares exactly two values, or a small set of them, as equals, with no timeline and no standard. Where a timeline exists, percentage change is better. Where a standard exists, percent error is better. Where a whole distribution needs summarising, a mean and a spread are better. The strength of percent difference is that, inside its narrow job, it is fair in a way the alternatives are not: one number, the same in both orders, owned by neither side. That fairness is the reason the formula divides by the average, and the reason this page keeps the average visible in every result, every step and every worked example.
Why the average denominator makes difference symmetric
Percent difference divides the gap by the average of the two values, and the average is what makes the answer symmetric. Compare 80 and 100: the gap is 20 and the average is 90, so the percent difference is 22.22 percent, and it is 22.22 percent whichever value you name first. Percent change cannot do that, because it divides by the starting value, so 80 to 100 is a 25 percent increase while 100 to 80 is a 20 percent decrease, and the two directions disagree.
Symmetry is the reason percent difference exists. Whenever neither value is the natural baseline — two lab readings, two quotes, two measurements of the same thing — dividing by the average refuses to privilege one of them. The cost is that the answer is not a change over time and should never be quoted as one: a 22.22 percent difference is not a 22.22 percent rise or fall.
Percent difference in the wild: two prices, two lab readings
Two quotes for the same job, $1,200 and $1,500, differ by $300 on an average of $1,350, which is a 22.22 percent difference. Quoting it as a 25 percent increase assumes the $1,200 quote is the baseline, and quoting it as a 20 percent decrease assumes the $1,500 quote is. Neither assumption is in the data, which is exactly when percent difference is the honest figure.
Gap divided by the average of the two values, times 100.
| Pair | Gap | Average | Percent difference |
|---|---|---|---|
| 80 and 100 | 20 | 90 | 22.22% |
| $1,200 and $1,500 | $300 | $1,350 | 22.22% |
| 50 and 60 | 10 | 55 | 18.18% |
Frequently asked questions
Quick answers about percent difference.
What is percent difference?
Percent difference compares two values as equals: it expresses the gap between them as a percentage of their average size. Values of 80 and 120 differ by 40, their average is 100, so their percent difference is 40.00%.
What is the difference between percent difference and percentage change?
Percentage change divides the gap by one chosen starting value, so it has a direction: 80 to 120 is +50.00%, but 120 to 80 is -33.33%. Percent difference divides the gap by the average of the two values, so it is symmetric: 80 and 120 have a 40.00% difference in both orders.
What is the percent difference formula?
Percent difference = |a – b| / ((|a| + |b|) / 2) x 100. Take the absolute gap between the two values, divide it by the average of their sizes, and multiply by 100. For 80 and 120: 40 / 100 x 100 = 40.00%.
Can percent difference exceed 100%?
Yes. Whenever one value is more than three times the other, the percent difference passes 100% – for example 10 and 50 differ by 133.33%. The maximum is 200%, reached when one value is 0 and the other is not: 0 and 100 give 200.00%.
Does the order of the values matter?
No. The formula uses the absolute gap and the average of the two sizes, both identical whichever way round you enter the values. 80 vs 120 and 120 vs 80 both give exactly 40.00%.
When should I use percent difference instead of percentage change?
Use percent difference when the two values are peers: two measurements of the same quantity, prices from two sellers, scores from two tests, or results from two methods where neither is the official reference. Use percentage change when one value really is the starting point.
What is the signed percent difference, and when is it useful?
The signed percent difference keeps the direction: it is (Value 2 minus Value 1) divided by the average of the two values, times 100. For 80 and 120 it is +40.00%, and reversed, 120 and 80, it is −40.00%. The magnitude is the same as the absolute answer; only the sign is new, showing whether Value 2 sits above or below Value 1. Use it when the order of the pair still means something, such as two readings taken in sequence, but neither value is a starting point. The toggle in the Advanced options panel switches the headline readout between the absolute and signed forms.
How do I compare three or four values at once?
Use the four-value comparison section: enter up to four values and the page builds a matrix of every pairwise percent difference, with the closest and furthest pairs picked out below it. Blank entries are left out, so two values are enough to start, and a fourth value adds three new pairs. The ranking panel under the matrix lists every pair from closest to furthest, which makes outliers visible at once: a value that is far from all the others owns the largest entries. The matrix updates as you type, exactly like the pair calculator.
What happens with negative numbers or zero?
The formula averages the sizes of the values, not the signed values, so negatives behave sensibly: −40 and −60 have a gap of 20 and an average size of 50, giving 40.00%. A pair straddling zero, such as −20 and 30, reaches the 200.00% maximum, because the gap of 50 is twice the average size of 25. One value zero and the other not zero also gives 200.00%, as 0 and 100 show. Both values zero is undefined, because the average is 0 and division by zero has no answer, and the calculator says so instead of printing a number.
Why is percent difference capped at 200%?
Because the gap between two values can never exceed the sum of their sizes, and the sum of their sizes is exactly twice their average. Dividing the largest possible gap by the average therefore gives 2, or 200%. The cap is reached when one value is 0, or when the pair straddles zero. Values above 100% need one value more than three times the other: 10 and 30 are exactly 100.00% apart, and 10 and 50, a ratio of 5, are 133.33% apart. Identical values sit at the other end of the scale, at 0%.
Why is percent difference the same in both directions?
Because it divides the gap by the average of the two values, and the average does not depend on order. For 80 and 100 the answer is 22.22 percent whichever value is named first, unlike percent change, which divides by the starting value.
When should I use percent difference instead of percent change?
Use percent difference when neither value is the natural baseline, such as two lab readings or two quotes for the same job. Use percent change when one value is genuinely the starting point and the other is the later value.
Can percent difference be negative?
By convention it is reported as a positive figure, because it measures the size of the gap, not a direction. A signed version exists, but if direction matters, percent change is usually the clearer tool.
Disclaimer
This calculator is for information only. Percent difference divides by the average of the two values’ sizes, as shown above; it is undefined when both values are 0, because their average is 0. If one of your values is an accepted true or starting value, percentage change or percent error will usually be the better tool.