How-To Guide
How to Calculate Percentage Difference
Percentage difference measures how far apart two numbers are, using their average as the base. Here's the formula with three worked examples.
๐ What You'll Need
- Two numbers to compare
- Basic arithmetic (add, subtract, divide, multiply)
- A calculator โ or use our free percentage calculator
Find the Absolute Difference
Subtract one value from the other, then take the absolute value:
|A โ B|
Example: for 80 and 100, |80 โ 100| = 20.
Find the Average
Add the two values together and divide by 2:
(A + B) รท 2
Example: (80 + 100) รท 2 = 90.
Divide and Multiply by 100
Divide the difference by the average, then multiply by 100:
(difference รท average) ร 100
Example: (20 รท 90) ร 100 = 22.22%.
๐ก Quick check: the result is always positive. If you got a negative number, you forgot the absolute value step.
๐งฎ Worked Examples
Example 1 โ Comparing Prices
Example 2 โ Comparing Test Scores
Example 3 โ Comparing Measurements
โ๏ธ Percentage Difference vs. Percentage Change
((new โ old) รท old) ร 100.(|A โ B| รท ((A + B) รท 2)) ร 100.๐ก Rule of thumb: use percentage change when there's a clear "before and after." Use percentage difference when comparing two things side by side.
๐ซ Common Mistakes to Avoid
- Forgetting the absolute value. Without it, the result can be negative โ but percentage difference is always positive.
- Using the wrong base. Percentage difference uses the average, not the original value.
- Dividing by the sum instead of the average. The correct denominator is
(A + B) รท 2, notA + B. - Confusing it with percentage error. Percentage error compares to a "true" value; percentage difference compares two measured values.
๐ Skip the Math
Use our free percentage calculator to compute percentage difference, change, and more instantly.
Open Percentage Calculator โโ Frequently Asked Questions
What is the formula for percentage difference?
|A โ B| รท ((A + B) รท 2) ร 100. It uses the average of the two values as the base.
Can percentage difference be negative?
No. The absolute value makes it always positive. If direction matters, use percentage change.
Does order matter?
No. Percentage difference between 20 and 30 is identical to the difference between 30 and 20.
When should I use percentage difference?
When comparing two values with no clear "before and after" โ prices at two stores, scores between two students, measurements between two samples.
What if one value is zero?
Percentage difference isn't meaningful when one value is zero. It assumes both values are positive and non-zero.