Guide

How to Calculate Percentage Difference

The correct formula for percentage difference, how it differs from percentage change, worked examples, and when to use which one.

Percentage difference is the most useful comparison number and the one most often calculated wrong. It answers a symmetric question — how far apart are two values, relative to their size? — while its cousin percentage change answers a directional question: how far did one value move from another?

The formula

Percentage difference = |A − B| ÷ ((|A| + |B|) ÷ 2) × 100

The denominator is the average of the two values. That is what makes the result symmetric: swapping A and B changes nothing. The absolute values in the denominator keep negative inputs from producing nonsense.

Worked example

Two phones list batteries of 4000mAh and 5000mAh.

1. Difference: |4000 − 5000| = 1000 2. Average: (4000 + 5000) ÷ 2 = 4500 3. 1000 ÷ 4500 = 0.2222… 4. × 100 → 22.2%

The 5000mAh battery is 22.2% larger than the average of the two — equivalently, the pair differs by 22.2%. Notice it is not 25% (which you get by dividing by 4000) and not 20% (dividing by 5000). Choosing one value as the denominator silently picks a direction.

Percentage difference vs percentage change

**Percentage change** uses only the original value as the denominator: (new − old) ÷ |old| × 100. Use it when there is a genuine before and after — last year's price to this year's, yesterday's closing value to today's. Direction matters, so order matters.

**Percentage difference** uses the average and ignores order. Use it when comparing two peers: two products, two measurements, two competing offers. There is no "original" phone in a comparison — both are just there.

A common error is calculating "percent cheaper" with the wrong base. If a $100 item drops to $80, that is a 20% decrease (base 100). If you compare $80 against $100 using the symmetric formula you get 22.2% — a correct percentage difference, but not the discount percentage a shopper expects. Match the formula to the question being asked.

Where it shows up in buying decisions

  • Price comparisons. Two similar items at $899 and $1049 differ by about 14.7% relative to their average — a clearer framing than the raw $150.
  • Battery and storage. A 4000mAh vs 4500mAh gap is 11.8% by the symmetric formula; whether that matters depends on the phone class it sits in.
  • Dimensions. A 4% width difference is a hairline; a 25% one is a different size class. Percentage framing scales the difference so unlike products become comparable.
  • Unit prices. When packages differ in size, comparing price-per-unit first, then percentage difference between those unit prices, gives the true gap.

Caveats

A percentage difference tells you relative gap, not importance. A 30% difference in screen brightness matters differently from a 30% difference in charging wattage. Always re-attach the unit and your use case to the number before acting on it, and beware small denominators: differences against near-zero values explode and become meaningless.

Common mistakes

  • Rounding early. 1000 ÷ 4500 is 0.2222...; rounding to 0.22 before multiplying by 100 turns 22.2% into 22.0%. Keep full precision until the final step.
  • Using the wrong base for a discount. A price cut from $100 to $80 is a 20% discount, not 22.2%. The symmetric formula answers "how far apart", not "how much did it drop".
  • Mixing formulas in one table. If one row is percentage change and the next is percentage difference, the columns no longer compare. Pick one definition per table and state which.
  • Adding percentages. Two gaps of 10% do not combine into a 20% gap unless they share the same base. Convert back to absolute values first, then compare.
  • Percentages against near-zero values. The gap between 1 and 2 is 66.7%; against zero the result is undefined. Check the denominators before quoting the number.

Comparing against a group instead of one value

A pair is not always the choice in front of you. When a product sits inside a set - a category, a market, a shortlist - the useful move is to pick one named reference and compare every candidate against it, rather than running every pair against every other pair.

The median is the reference that distorts the picture least: half the values sit above it, half below, and a single extreme value cannot drag it the way it drags an average. Our product pages work exactly this way - each phone's battery, weight, starting price and screen size are shown against the median of the phones we track, with the gap stated in both absolute and percentage terms.

Averages work too when the distribution is tight, but name the set you used. "18% above the median of the phones we track" is a claim a reader can check; "18% above average" with no stated set is not.

How to report a comparison honestly

  • Lead with the values, not the percentage. "5,000 mAh against 4,000 mAh - 22.2% by the symmetric formula" is verifiable. "22.2% bigger" alone is not.
  • Name the formula. If it is percentage difference, say so. If it is a discount off the original price, say that instead.
  • Treat small gaps as ties. Below roughly 5% on a spec where test conditions and tolerances vary, the honest summary is "effectively equal" - then decide on something else.
  • Re-attach the unit and the use case. A 10% gap in battery capacity and a 10% gap in weight are not the same decision. The number is arithmetic; the importance is yours.

Our Percentage Difference Calculator implements exactly this formula, shows the steps, and pairs with a separate Percentage Change Calculator for directional questions — so the base you get is the base the question requires.

Related Tools