Percentage Difference Calculator
Find the percentage difference between two values using their average, and compare it with the percentage change from A to B — instantly, in your browser.
How to Use the Percentage Difference Calculator
The Percentage Difference Calculator measures how far apart two numbers are relative to their average, and it also shows the percentage change between them so you can tell the two concepts apart. Everything runs locally in your browser, so your numbers never leave your device.
Enter your two numbers. Type the first value in the Value A field and the second value in the Value B field. You can use positive numbers, negative numbers, or decimals — for example A = 40 and B = 50.
Click Calculate. The tool instantly computes three key figures: the average of the two values, the absolute difference between them, and the percentage difference obtained by dividing the gap by the average and multiplying by 100.
Read the percentage difference. In the example above, the average is 45 and the absolute difference is 10, so the percentage difference is 10 ÷ 45 × 100 = 22.22%. This tells you that the two values are roughly 22% apart relative to their shared midpoint.
Compare it with the percentage change. The tool also shows the percentage change from A to B: (50 − 40) ÷ 40 × 100 = 25%. Notice that this is a different number, because percentage change uses A as its base while percentage difference uses the average as its base. Use Copy results to save both values at once.
What Is Percentage Difference?
Percentage difference is a measure of how far apart two values are, expressed as a proportion of their average. Unlike percentage change, it does not treat either value as the starting point. Both numbers are considered equally important, so the average (A + B) ÷ 2 acts as the shared reference point. The formula is |A − B| ÷ |(A + B) ÷ 2| × 100, and the result is always non-negative because absolute values are used. This metric is especially useful when neither value is clearly the "original" one. If two laboratories measure the same sample and report 40 and 50, it would be misleading to call one of them the baseline. Percentage difference sidesteps that problem by comparing both against their midpoint: the gap of 10 is 22.22% of the average of 45. You can swap A and B freely and the answer stays the same, which is the defining property of this metric. Percentage difference is often confused with percentage change, but they answer different questions. Percentage change asks "how much did this value move from its starting point?", while percentage difference asks "how far apart are these two values from their common centre?". A percentage change of 50 up to 75 is +50%, but the percentage difference between 50 and 75 is 40%, because it divides the gap of 25 by the average of 62.5. Knowing which one to use prevents common reporting errors.
Common Applications
1. Comparing two measurements: two thermometers report 20 °C and 22 °C for the same room. The percentage difference (about 9.52%) objectively states how much they disagree without declaring either reading the reference.
2. Quality control: a machine should fill bottles with 500 ml, and two sampled bottles contain 495 ml and 505 ml. The percentage difference of about 2% shows the spread around the target average.
3. Price comparison: a product costs 80 in one shop and 96 in another. The percentage difference is about 18.18%, helping shoppers judge the gap independently of which price they treat as the norm.
4. Scientific replication: a study reports a conductivity of 12.5 and a replication reports 11.8. Percentage difference gives a symmetric figure for how closely the two experiments agree.
5. Sports and performance data: an athlete records a jump of 6.40 m and 6.80 m in two attempts. The percentage difference of about 6.06% quantifies the variation between attempts using the average of the two.
Percentage Difference vs Percentage Change
Percentage difference compares two values against their average and is symmetrical: swapping A and B never changes the answer. Percentage change compares a new value against an original one and is directional: going from 40 to 50 is +25%, while going from 50 to 40 is −20%.
Use percentage difference when neither value is a baseline (two readings, two prices, two samples). Use percentage change when there is a clear before-and-after (last month versus this month, original price versus sale price).
Worked Example: 40 and 50
Average = (40 + 50) ÷ 2 = 45. Absolute difference = |40 − 50| = 10. Percentage difference = 10 ÷ 45 × 100 = 22.22%.
Percentage change from A to B = (50 − 40) ÷ 40 × 100 = 25%. Percentage change from B to A = (40 − 50) ÷ 50 × 100 = −20%. The two change figures show the direction of movement, while the single percentage difference figure summarises how far apart the values are.
Related Utilities
- Percentage Calculator — Increase, Decrease, X of Y
- Fraction Calculator — Simplify & Convert Fractions
- Random Number Generator — Pick Numbers Online
- Percentage Increase Calculator — Percent Change
- X out of Y Calculator — Score to Percentage
- Remove Duplicate Lines — Online Line Remover
Guides
Frequently Asked Questions - FAQ
What is the difference between percentage difference and percentage change?
Percentage difference divides the absolute gap between two values by their average, so it is symmetrical and always non-negative. Percentage change divides the gap by the original value only, so it is directional and can be positive or negative.
What is the formula for percentage difference?
The formula is |A − B| ÷ |(A + B) ÷ 2| × 100, where A and B are the two values being compared. The average of the two values is used as the denominator.
Can percentage difference be negative?
No. Because the numerator (the absolute difference) and the denominator (the absolute average) are both non-negative, the percentage difference is always zero or positive.
What happens if the two values are equal?
If A equals B, the absolute difference is zero, so the percentage difference is 0%. The percentage change between them is also 0%.
What if the average of the two values is zero?
If A + B = 0, the average is zero and the percentage difference is undefined because you cannot divide by zero. The tool displays a clear error message instead of an unreliable result.
Last updated: