Skip to content

Percentage Difference Calculator

A percentage difference calculator compares two numbers when neither one is the "original". Two suppliers quoting different prices, two cities with different rainfall, two test readings from the same instrument: there is no before and after, so the difference is measured against the average of the two. Type both values and the tool returns the percentage difference, symmetric no matter which box you use first.

FreeNo signupNothing uploaded or stored

Mode

Numbers

Order does not matter

Percentage difference

-

Relative to the average of the two values

Absolute difference

0

Average of A and B

0

Formula: |0 − 0| ÷ ((0 + 0) ÷ 2) × 100 = -

How to use the percentage difference calculator

  1. Enter the first value in "Value A" and the second in "Value B". The order does not matter because the formula uses the average of the two as its base.
  2. Read the percentage difference shown below the inputs, together with the absolute difference so you can see the gap in the original units.
  3. If you actually have a before and an after, use the percentage change mode instead, since that measures movement from a known starting point.
  4. Use the decimal toggle to round the result to one or two places if you are copying it into a report.

What to include

  • Two values measured in the same units, for example two prices in the same currency
  • Confirmation that neither value is the baseline, otherwise percentage change is the right tool
  • Whether both values are positive, because the formula uses absolute values
  • The precision you want for the result
  • A label for each value so you remember which was which after you copy the result
  • Any adjustment needed to make the two values comparable, such as the same quantity

Percentage difference vs percentage change: which do you need?

The percentage difference formula is: Difference = |A − B| ÷ ((A + B) ÷ 2) × 100. Both numbers are treated equally, which is why swapping them gives the same answer. Say you type 480 and 520. The gap is 40, the average is 500, and 40 ÷ 500 × 100 is 8 percent. Percentage change, by contrast, divides by the first value only: (520 − 480) ÷ 480 × 100 is 8.33 percent, while going the other way, (480 − 520) ÷ 520 × 100, is −7.69 percent.

So use percentage difference when you are comparing two things that exist side by side and neither is the reference, and percentage change when one value came first and the other replaced it. Scientists and engineers tend to use percentage difference to compare two measurements; business reports use percentage change for growth over time. If you are not sure, ask whether the sentence you want to write contains "went from" or "compared with". "Went from" means change; "compared with" usually means difference.

Frequently asked questions

Why does the calculator divide by the average instead of the first number?

Dividing by the average gives the same result regardless of order, which is the point of a difference as opposed to a change. It treats both values as equally valid references.

Can the percentage difference be negative?

No. The formula uses the absolute gap between the two values, so the result is always zero or positive. If you need a signed figure, that is a percentage change.

What if one of my numbers is zero?

The formula still works as long as the average is not zero. If both are zero there is no difference to measure and the tool shows a dash rather than an error.

Is percentage difference the same as percentage error?

Not quite. Percentage error compares a measured value with a known correct value and divides by the correct value. Use percentage change with the correct value in the "old" box to get that.

Do I need to register to use this calculator?

No. It is free, there is no account, and the inputs are processed in your browser rather than on a server.