Percentage difference calculator. How far apart two numbers are.

Percentage difference measures the gap between two values against their average, so neither one is treated as the starting point. Enter two values to get the percent difference, with the percentage change in each direction shown alongside.

By Brady Heinrich · Updated

The order does not change the percentage difference.

Percentage difference22.22%

40 and 50 are 22.22% apart, measured against their average of 45.

Difference
10
Average of the two
45
Percentage change, first to second
+25%
Percentage change, second to first
-20%
The formula

Percentage difference = |a - b| / ((a + b) / 2) x 100

A worked example

For 40 and 50: the difference is 10 and the average is 45, so the percentage difference is 10 / 45 x 100 = 22.22%. The answer is the same if you enter 50 first.

How to calculate percent difference

Subtract one value from the other, ignore the sign, divide by the average of the two and multiply by 100.

  1. Find the absolute difference: |40 - 50| = 10.
  2. Find the average: (40 + 50) / 2 = 45.
  3. Divide: 10 / 45 = 0.2222.
  4. Multiply by 100: 22.22%.

Because the formula divides by the average, swapping the two values gives the same answer. That is the point of it: it describes the gap between two things without calling either one the original.

Percentage difference vs percentage change

Use percentage difference when the two values are peers. Use percentage change when one came first. They answer different questions and give different numbers for the same pair.

ValuesPercentage differenceChange, first to secondChange, second to first
40 and 5022.22%+25%-20%
80 and 12040%+50%-33.33%
1,200 and 1,50022.22%+25%-20%
100 and 300100%+200%-66.67%

Going from 40 to 50 is a 25% increase. Going from 50 to 40 is a 20% decrease. The percentage difference, 22.22%, sits between the two and does not depend on direction. The calculator shows all three so you can pick the one that fits the question.

Some typical uses for each:

  • Percentage difference: two suppliers' quotes, two regions' average order values, two measurements of the same thing, two plans' prices.
  • Percentage change: this month against last month, a price before and after a rise, a metric before and after a launch. For these, the percentage increase calculator is the better tool.

How to read the result

The result runs from 0% to 200%. Zero means the values are equal. 200% is the ceiling, reached when one of the values is zero, because the gap then equals twice the average.

A percentage difference says how far apart two numbers are, not which is better or whether the gap means anything. Two things help:

  • Look at the absolute difference too. A 40% difference between 2 and 3 customers is one customer. The same percentage between 2,000 and 3,000 is a thousand.
  • Ask whether the gap is noise. If the two values are rates from samples, such as conversion rates from two pages, a difference can come from chance. Check it with the statistical significance calculator.

Common mistakes

  1. Using it for change over time. "Revenue is 22% different from last year" hides the direction. When there is a before and an after, report the percentage change.
  2. Dividing by one of the values. Dividing the gap by the first value gives percentage change, not percentage difference. The divisor here is the average.
  3. Comparing percentages without saying how. The gap between a 4% rate and a 5% rate is 1 percentage point, a 25% change from the lower one and a 22.22% difference. State which you are quoting.
  4. Mixing units. Both values have to measure the same thing in the same unit and over the same period.

How people search for a percentage difference calculator

  • percentage difference calculator165,000 a month
  • percent difference calculator165,000 a month
  • percent change calculator110,000 a month
  • how to calculate percent difference49,500 a month
  • percent difference formula18,100 a month

US monthly searches, Google Ads keyword data.

Questions

What is the percent difference formula?

Percentage difference = |a - b| / ((a + b) / 2) x 100. Take the absolute gap between the two values, divide by their average and multiply by 100.

Is percent difference the same as percent change?

No. Percent change divides the gap by the starting value and has a direction. Percent difference divides by the average of the two values and has none. For 40 and 50 the change is +25% or -20%, and the difference is 22.22%.

Can percentage difference be negative?

No. It uses the absolute difference, so it is always zero or more. If you need a sign to show direction, you want percentage change.

Can percentage difference be more than 100%?

Yes, up to 200%. Values of 100 and 300 differ by 200 against an average of 200, which is a 100% difference. The 200% limit is reached when one value is zero.

Is percent difference the same as percent error?

No. Percent error compares a measured value with a known true value and divides by the true value. Percent difference compares two values when neither is the reference.

Keep reading

Building something ambitious? Let's talk.

We reply within one business day.