Percentage

Percentage Difference Calculator

% difference = |A − B| ÷ average(A, B) × 100. Compare two values without choosing a baseline.

Compares two values with no preferred baseline: uses their average.

Percent difference

22.222222%

Absolute difference

10

Average

45

Steps

  1. Absolute difference = |40 − 50| = 10.
  2. Average = (40 + 50) ÷ 2 = 45.
  3. Percent difference = (10 ÷ |45|) × 100 = 22.222222%.
Example pairs
AB% difference
405022.222…%
101218.182…%
1001000%
81022.222…%
https://calcwell.net/calculators/percentage-difference?a=40&b=50
Share, cite or embed this calculator

Share link (includes current inputs when available)

Cite this calculator

CalcWell. "Percentage Difference Calculator." CalcWell, https://calcwell.net/calculators/percentage-difference. Accessed 2026-11-28.

Embeddable widget

Embed on your site with attribution linking back to calcwell.net.

<iframe src="https://calcwell.net/calculators/percentage-difference" title="Percentage Difference Calculator" width="100%" height="520" loading="lazy" style="border:1px solid #e5e7eb;border-radius:8px;"></iframe>
<p>Calculator by <a href="https://calcwell.net/calculators/percentage-difference" rel="noopener">CalcWell</a></p>

Worked example

Default example: A = 40, B = 50.

|40 − 50| = 10; average = 45; percent difference = (10 ÷ 45) × 100 ≈ 22.2222%.

Answer: 22.2222%

Percentage difference formula

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

This is the common “relative difference to the mean” definition used when comparing two peer values. It differs from percent change, which picks one value as the baseline.

Percentage difference in practice

Comparing two job offers

Offer A pays 62,000 and offer B pays 70,000. Absolute difference = 8,000. Average = (62,000 + 70,000) ÷ 2 = 66,000. Percent difference = 8,000 ÷ 66,000 × 100 ≈ 12.12%. Treating 62,000 as a baseline would give 12.90% instead, and treating 70,000 as the baseline 11.43%, so the average gives a neutral middle figure.

Two lab measurements

Two instruments read 9.8 and 9.6. Difference = 0.2. Average = 9.7. Percent difference = 0.2 ÷ 9.7 × 100 ≈ 2.06%. Small percentages like this are a quick check that two readings agree.

Comparing apartment sizes

One flat is 850 sq ft and another is 1,020 sq ft. Difference = 170. Average = 935. Percent difference = 170 ÷ 935 × 100 ≈ 18.18%. Swap the two values and the answer is identical, because the formula is symmetric.

How the percentage grows as values diverge

ABAveragePercent difference
1001101059.52%
10015012540%
10020015066.67%
100300200100%
1001,000550163.64%

For two non-negative values the result can never exceed 200%, which is reached when one value is zero (for example 0 and 10: 10 ÷ 5 = 200%).

Common mistakes with percentage difference

  • Using it for before and after. If one value is clearly the original, the standard measure is percent change. Percent difference for 100 to 150 is 40%, while the percent change is 50%.
  • Dividing by one value instead of the average. That quietly turns the formula into percent change and makes the result depend on order.
  • Mixing units. Compare like with like. 5 kg against 5,000 g is a 0% difference only after converting to the same unit.
  • Using it against a reference value. Comparing a measurement to a known true value is percent error, which divides by the true value, not the average.
  • Expecting to recover a value from it. A percent difference alone cannot be applied to one number to produce the other, since it is relative to their midpoint.

Reading the result sensibly

Because the denominator is the average, percent difference treats both values equally. It suits comparisons of two prices from different shops, two product dimensions, or two survey figures from separate groups. Keep the absolute gap alongside the percentage: 0.2 on a reading of 9.7 and 2,000 on a figure of 97,000 are both about 2%, yet they mean very different things in practice.

Difference versus increase, decrease and change

Percentage difference answers "how far apart are these two peers?" with a non-negative number. The percentage change calculator answers "how much did this move from its starting point?" with a signed number, and the increase and decrease variants fix the direction. A simple test: if you could label one value "before", use change; if the order is arbitrary, use difference. The guide to calculating percentages explains the baseline idea in more depth.

Frequently asked questions

What is percentage difference?

It measures how far two values are apart relative to their average: |A − B| / ((A + B) / 2) × 100.

When should I use percent difference instead of percent change?

Use percent difference when neither value is a natural “before” baseline: for example comparing two lab measurements or two quotes.

Is percent difference always positive?

Yes. Absolute difference in the numerator makes the result non-negative (or undefined if the average is zero and values differ).

We use cookies and similar technologies to improve your experience, analyze traffic, and show personalized ads. By clicking "Accept", you consent to the use of cookies. Privacy Policy · Cookie Policy