Free online tools
English EN, Choose a language

Percentage difference calculator

Find the percentage difference between two numbers, with the steps, and see how it differs from percent change.

Result

—

Enter two numbers to compare.

Runs in your browser. Nothing you type is sent.

Related tools

All calculators →

How to use this percentage difference calculator

Type two numbers into A and B. The big number is the percentage difference: the gap between them as a share of their average. It does not matter which number you type first, because neither one is treated as the starting point. The result card also shows the plain difference, the average and, for comparison, the percent change in each direction. Everything runs in your browser.

Percentage difference formula

Percentage difference = |A − B| ÷ ((A + B) ÷ 2) × 100. The average of the two numbers is the base, which is what makes the answer symmetric. The default example, A = 50 and B = 80:

  1. Difference = |a − b| = |50 − 80| = 30.
  2. Average = (a + b) ÷ 2 = (50 + 80) ÷ 2 = 65.
  3. Percentage difference = difference ÷ average × 100 = 30 ÷ 65 × 100 = 46.1538%.

So 50 and 80 differ by 30, which is 46.15% of their average (65). Swap the two numbers and nothing changes: 80 and 50 differ by 30, which is 46.15% of their average (65).

Percentage difference vs percent change

Percent change has a direction: it asks how much a value grew or shrank from a starting point. Percentage difference has none: it compares two values that are equally valid, such as two measurements or the prices of two similar products. With 50 and 80 you get three different percentages from the same pair:

QuestionResult
Percentage difference46.15%
Percent change from A to B+60%
Percent change from B to A−37.5%

If one of the numbers is clearly the original (last year's sales, an old price), use the percent change calculator instead.

Small and large gaps

Two close numbers give a small percentage: 4.2 and 4.8 differ by 13.33%. A doubling is not 100%: 100 and 120 differ by 18.18%, because the base is the average, 110. Percentage difference is capped at 200% for two positive numbers, which is reached when one of them is 0.

Edge cases

If both numbers are 0 the difference is 0%. If one is positive and the other negative with the same size, their average is 0 and the percentage is not defined. Negative numbers are allowed but the result is hard to read; this measure is meant for two positive quantities of the same kind.

Related calculators and converters

Percentage difference calculator FAQ

What is the formula for percentage difference?

Take the absolute difference of the two numbers, divide it by their average, and multiply by 100: |A − B| ÷ ((A + B) ÷ 2) × 100.

What is the percentage difference between 50 and 80?

The difference is 30 and the average is 65, so the percentage difference is 46.15%.

Is percentage difference the same as percent change?

No. Percent change divides by the starting value, so it depends on the direction (+60% from 50 to 80, −37.5% back). Percentage difference divides by the average and gives one answer for both directions.

Can percentage difference be more than 100%?

Yes. Between 10 and 100 it is 163.6%. For two positive numbers it never exceeds 200%.

When should I use percentage difference?

When neither number is the reference: comparing two measurements, two prices, or two groups. When one number is the baseline, use percent change; when one is the true value, use percent error.

Does the order of the numbers matter?

No. Swapping A and B gives the same percentage, which is the point of using the average as the base.

Missing something in the percentage difference calculator?Suggest an idea. It takes 20 seconds and we read every one.Suggest an idea

Sends only what you type here, never the text you work with. Your email is used only to reply about this idea.

Free online tools