Calcorithmevery number has an answer
πŸ”
All tools β†’
← Percentage

Percentage Difference

Calculate the percentage difference between two numbers.

Value Ai
Value Bi
Percentage Difference
40.00%
|50 βˆ’ 75| / avg(50, 75) Γ— 100

What is percentage difference?

Percentage difference measures how far apart two values are relative to their average. Unlike percentage change β€” which requires a clear β€œbefore” and β€œafter” β€” percentage difference is symmetric: it does not matter which value you call A and which you call B, the result is always the same.

This makes it ideal for comparing two peers where neither is clearly the baseline: two products with different prices, two cities with different populations, two candidates with different polling numbers, or two lab samples from a replicated experiment.

The percentage difference formula

% Difference = (|A βˆ’ B| Γ· ((A + B) Γ· 2)) Γ— 100

Breaking it down:

  • |A βˆ’ B| β€” the absolute difference, always positive
  • (A + B) Γ· 2 β€” the average (mean) of the two values, used as the reference point
  • The result is multiplied by 100 to express it as a percentage

Worked example: Comparing two laptops priced at €899 and €1,149:

|899 βˆ’ 1149| = 250 (899 + 1149) Γ· 2 = 1024 % difference = (250 Γ· 1024) Γ— 100 = 24.4%

Percentage difference vs. percentage change

Percentage differencePercentage change
DirectionDirectionless β€” always positiveShows increase (+) or decrease (βˆ’)
Reference pointAverage of both valuesThe original (old) value
SymmetryA vs B = B vs AA→B ≠ B→A
Best forComparing two peersTracking change over time
ExamplePrice of two carsStock price before and after earnings

Why the average is used as the denominator

Using the average of the two values as the denominator ensures that the formula is symmetric β€” swapping A and B produces the same result. If instead you used A as the denominator, comparing 50 to 75 would give 50% (75 is 50% more than 50), but comparing 75 to 50 would give 33.3% (50 is 33.3% less than 75). That asymmetry makes the result dependent on which value you arbitrarily choose as the reference β€” which is not useful when you are comparing peers.

The average-based formula solves this by treating both values equally. The trade-off is that the result is not directly interpretable as β€œX% more than Y” β€” it is a symmetric measure of how different the two values are relative to their midpoint.

Practical examples

Price comparison
€49 vs €79 β†’ 46.9%
Two competing subscriptions
Election polls
47% vs 43% β†’ 8.9%
Two candidates’ vote share
Fuel efficiency
6.5 L/100km vs 8.2 L/100km β†’ 23.1%
Two car models
Body weight
72 kg vs 85 kg β†’ 16.5%
Two individuals

When not to use percentage difference

  • When there is a clear baseline. If you are measuring change over time (last year vs. this year), use percentage change instead β€” the old value is the natural reference point.
  • When one value is a target or standard. If you are measuring how far a result deviates from a target, use percentage error: (|Measured βˆ’ Target| Γ· Target) Γ— 100.
  • When values include zero. The formula breaks down if both values are zero (division by zero). If one value is zero and the other is not, the result is 200% β€” technically correct, but often not intuitively useful.
  • For very large or very small numbers. Percentage difference can be misleading when values span multiple orders of magnitude. In those cases, a log scale or absolute difference may communicate the comparison more clearly.
iFormula / How it works

% difference = (|A βˆ’ B| Γ· ((A + B) Γ· 2)) Γ— 100