Percent Difference Calculator
Compare two values that have no “before” and “after” — the percent difference uses their average as the base.
Percent difference40%difference 20 · average 50
Step by step
- Difference: |40 − 60| = 20
- Average: (40 + 60) ÷ 2 = 50
- 20 ÷ 50 × 100 = 40%
Percent difference formula
percent difference = |a − b| ÷ ((a + b) ÷ 2) × 100
Because the base is the average, the answer is the same whichever value you put first. Use it to compare two measurements, two prices from different stores or two lab results. If one value is the “correct” one, use percent error; if one came first, use percent change.
More percentage calculators
Percent change calculatorChange from old to new valuePercentage increase calculatorHow much a value went upPercentage decrease calculatorHow much a value went downPercent error calculatorMeasured vs. true valuePercent yield calculatorActual vs. theoretical yieldPercentage calculatorX% of Y, X is what % of Y, reverse
Frequently asked questions
What is the percent difference formula?
|a − b| divided by the average of a and b, times 100.
What is the percent difference between 40 and 60?
|40 − 60| ÷ 50 × 100 = 40%.
Why is percent difference different from percent change?
Percent change divides by the old value (40 → 60 is +50%); percent difference divides by the average (40%).
Last reviewed November 2026 · Formulas and steps shown with every result.