Compare two numbers
Percentage difference compares two numbers when neither one is the starting point. Divide the gap between them by their average, then multiply by 100. For 40 and 60: the gap is 20, the average is 50, and 20 ÷ 50 × 100 = 40%. Swapping the numbers gives the same answer.
- Use the percentage difference calculator when two values are on equal footing, like two lab results or two store prices.
- Formula: |A − B| ÷ ((A + B) ÷ 2) × 100.
- The order doesn’t matter. A vs B gives the same result as B vs A.
- If one value is clearly the “before” value, use percent change instead.
- When both values are already percents, also give the gap in percentage points.
This percentage difference calculator tells you how far apart two numbers are, as a percent of their average. It also shows the percent change in both directions, so you can see why the two ideas give different answers.
What is percentage difference?
Percentage difference measures the gap between two values relative to their average. You use it when there is no “old” and “new” value. Both numbers matter equally.
For example, two stores sell the same game for $45 and $55. Neither price is the starting price. So you compare the gap ($10) to the middle point ($50). The prices are 20% apart.
What is the percentage difference formula?
In words: take the absolute difference between the two values, divide it by their average, and multiply by 100.
The bars around A − B mean “absolute value.” You drop any minus sign, so the result is never negative. Because of that, swapping A and B never changes the answer.
Clemson University’s physics lab tutorial uses percent difference to compare two measured values. It divides the absolute difference of the two values by their average. Percent error is used instead when there is an accepted value. See Clemson Physics Lab Tutorials: % Error & % Difference.
How do you calculate percentage difference? (worked examples)
Example 1: Two store prices
One store sells a backpack for $45. Another sells it for $55. How far apart are the prices?
- Gap: |45 − 55| = 10.
- Average: (45 + 55) ÷ 2 = 50.
- Divide and multiply: 10 ÷ 50 × 100 = 20%.
The two prices are 20% apart.
Example 2: Two lab measurements
In a physics lab, two groups measure gravity. Group 1 gets 9.81 m/s² and Group 2 gets 9.95 m/s². (Science examples use SI units, as US chemistry and physics classes do.)
- Gap: |9.81 − 9.95| = 0.14.
- Average: (9.81 + 9.95) ÷ 2 = 9.88.
- Divide and multiply: 0.14 ÷ 9.88 × 100 = 1.417…%, which rounds to 1.42%.
The two results differ by about 1.42%. Your teacher’s lab handout may set its own limit for an acceptable difference, so check it.
Example 3: Two class averages
Class A averaged 78% on a test and Class B averaged 85%. How different are the class averages?
- Gap: |78 − 85| = 7.
- Average: (78 + 85) ÷ 2 = 81.5.
- Divide and multiply: 7 ÷ 81.5 × 100 = 8.588…%, which rounds to 8.59%.
Because these values are already percents, also say the gap plainly: Class B scored 7 percentage points higher. “8.59% difference” and “7 percentage points” describe the same gap in two different ways.
How do you find the percentage difference between two numbers?
To find the percentage difference between two numbers, divide the gap between them by their average, then multiply by 100. The order of the two numbers does not matter.
- Subtract the smaller number from the larger one to get the gap.
- Add the two numbers and divide by 2 to get the average.
- Divide the gap by the average.
- Multiply by 100 and add the % sign.
Example: find the percentage difference between 80 and 120. The gap is 120 − 80 = 40. The average is (80 + 120) ÷ 2 = 100. Then 40 ÷ 100 × 100 = 40%. Swap the numbers and you still get 40%.
Want to know how much one number grew from the other instead? That is percent change: from 80 to 120 is a 50% increase. Use the percent change calculator for that.
What is the variance between two numbers?
People use “variance” in two different ways, so check which one you need:
- Percent variance (budgets and reports): (actual − expected) ÷ expected × 100. A $500 budget with $560 spent is a 60 ÷ 500 × 100 = 12% variance. This is the same math as percent change.
- Statistical variance: the spread of data around the mean, not a percent. For two numbers, the population variance is (gap ÷ 2)². For 4 and 10, that is (6 ÷ 2)² = 9. The sample variance is gap² ÷ 2 = 36 ÷ 2 = 18.
If you only want to know how far apart two numbers are in percent, with neither one as the starting point, use percentage difference.
Percentage difference vs. percent change
Percent change has a starting value. It divides the change by the old value. Percentage difference has no starting value. It divides by the average. That is why the two can give different answers for the same pair of numbers.
| A | B | Percentage difference | Percent change A → B | Percent change B → A |
|---|---|---|---|---|
| 10 | 12 | 18.18% | +20.00% | −16.67% |
| 40 | 60 | 40.00% | +50.00% | −33.33% |
| 45 | 55 | 20.00% | +22.22% | −18.18% |
| 50 | 60 | 18.18% | +20.00% | −16.67% |
| 78 | 85 | 8.59% | +8.97% | −8.24% |
| 100 | 150 | 40.00% | +50.00% | −33.33% |
| 100 | 200 | 66.67% | +100.00% | −50.00% |
| 9.81 | 9.95 | 1.42% | +1.43% | −1.41% |
All values are rounded to 2 decimal places. Notice that the percentage difference always sits between the two percent changes.
- Don’t divide by just one of the values. That is percent change, not percentage difference.
- Don’t use percentage difference for a before-and-after. A price that rose from $45 to $55 went up 22.22%, not 20%.
- Don’t mix up percent and percentage points. 78% vs 85% is a 7-point gap and an 8.59% difference.
- Don’t use it for percent error. If one value is the accepted or true value, divide by that value instead.
- Ask first: “Is one of these numbers the starting value?” If yes, use percent change. If no, use percentage difference.
- Your answer should land between the two percent changes. If it doesn’t, recheck the average.
How can you check a percentage difference by hand?
First, find the halfway point between your two numbers. That is the average. Then ask what percent of that halfway point the gap is.
For 40 and 60, the halfway point is 50. The gap of 20 is two-fifths of 50, which is 40%. If the calculator shows 40%, you’re done. A second quick check: the answer should be between the two percent changes (here, 33.33% and 50%).
Rounding: the calculator keeps full precision during the math and rounds only the final answers, to 2 decimal places.
When should you use percentage difference?
- Lab reports: comparing two measured results when there is no accepted value.
- Price checks: comparing the same item at two stores.
- School data: comparing two classes, two sections, or two schools.
- Survey results: comparing two groups of the same size and type.
Percentage difference doesn’t work well when the two values have opposite signs or add up to zero. The average then becomes zero or very small, so the result means little. The calculator warns you in that case.
If one number is the “before” value, use our percentage change calculator. To find a number before a discount or tax, use the reverse percentage calculator. For everyday percent math, try the percentage calculator. You can find every tool on our percentage calculators hub.
Percentage difference FAQ
How do you calculate the percentage difference between two numbers?
Subtract one from the other and drop any minus sign. Divide that by the average of the two numbers, then multiply by 100.
What is the variance between two numbers?
In budgets, percent variance is (actual − expected) ÷ expected × 100, the same as percent change. In statistics, variance measures spread; for two numbers it is (gap ÷ 2)², for example 9 for 4 and 10.
Is percentage difference the same as percent change?
No. Percent change divides by the starting value, so its answer depends on direction. Percentage difference divides by the average, so the order doesn’t matter.
Can percentage difference be more than 100%?
Yes, but it can’t go above 200% for two positive numbers. For example, 1 and 9 have a gap of 8 and an average of 5, which gives 160%.
Can percentage difference be negative?
No. The formula uses the absolute value of the gap, so the result is always 0% or more.
What is the difference between percent difference and percent error?
Percent error compares a measured value to an accepted true value and divides by the true value. Percentage difference compares two values of equal standing and divides by their average.
Sources
- Clemson University, Physics Lab Tutorials: % Error & % Difference
- NC State University physics lab manual (WebAssign), Appendix B: Percent Error and Percent Difference
- OpenStax, Prealgebra, 6.2 Solve General Applications of Percent (percent increase and decrease)
Found an error? Tell us and we will fix it and note the change here. Corrections: none so far.
Get grade-season reminders and new calculators