Calculate

Percentage Difference Calculator

Enter two values to see how different they are relative to their average size. The result is the same whichever value you enter first, and you get the absolute difference, the average magnitude and the full working. Calculated exactly in your browser.

Back

1. Values

Order does not matter
Formula

|A − B| ÷ ((|A| + |B|) ÷ 2) × 100

This is percentage difference, which is symmetric. It is not percentage change, which divides by the original value.

2. Result

Exact decimal arithmetic
Enter two values and press Calculate difference.
About this tool

About Percentage Difference Calculator

Percentage Difference Calculator compares two values with the symmetric formula |A − B| ÷ ((|A| + |B|) ÷ 2) × 100. It shows the absolute difference, the average magnitude and the percentage difference, with every step written out. Because neither value is treated as the starting point, swapping A and B gives the same answer.

When two measurements have no natural “before” and “after” — two lab readings, two suppliers’ prices, two survey results — percentage change would give different answers depending on which you divide by. Percentage difference compares them evenly.

How to use

Step by step

  1. Enter Value A.
  2. Enter Value B — the order does not matter.
  3. Press Calculate difference.
  4. Read the percentage difference, absolute difference and average magnitude, and check the working.
  5. Copy or download the summary, which includes the formula and every step.
Key features

What it offers

  • Symmetric percentage difference formula, clearly stated
  • Absolute difference and average magnitude shown alongside the result
  • Positive, negative and decimal values (up to 10 decimal places)
  • Exact decimal arithmetic; the percentage is rounded to 6 decimal places and marked when rounded
  • Clear explanation when both values are 0 and the result is undefined
  • Step-by-step working in the page, the copied text and the download
Best practices

Tips for best results

  • Use percentage change instead when one value is clearly the original and the other the new value.
  • Keep both values in the same unit before comparing them.
  • Remember that the result can never exceed 200%, which is reached when one value is 0 or the signs are opposite and equal.
  • Report the absolute difference too — a large percentage can hide a tiny absolute gap between small numbers.
Benefits

Why people use it

Order-independent

A vs B and B vs A always give the same answer.

Exact

Decimal values are handled without floating-point errors.

Transparent

Formula and working are shown and exported.

Private

Calculated locally in your browser.

FAQ

Common questions

Percentage difference = |A − B| ÷ ((|A| + |B|) ÷ 2) × 100. The difference between the values is divided by the average of their magnitudes, so neither value is treated as the starting point.
Percentage change measures growth from an old value to a new one and divides by the old value, so swapping the values gives a different answer. Percentage difference is symmetric: A vs B gives the same result as B vs A. Use the Percentage Change Calculator when one value clearly comes first.
When both values are 0, the average magnitude (|A| + |B|) ÷ 2 is 0, and dividing by zero is undefined. The two values are identical, but the formula cannot express that as a percentage, so the calculator reports it as undefined instead of inventing a number.
If B is 0, the difference is |A| and the average magnitude is |A| ÷ 2, so the ratio is always 2, or 200%. The same happens whenever the two values have opposite signs with equal size.
Yes. Values can be negative and have up to 10 decimal places. The formula uses absolute values in the average, so the result is never negative and can be up to 200%.
The absolute difference and average magnitude are exact. The percentage is calculated exactly and then rounded to 6 decimal places; an ≈ sign shows when rounding happened.
No. The calculation runs locally in your browser.
Private by design

This runs entirely in your browser

No file or text you enter here is uploaded. Encoding and decoding happen on your device using native browser APIs — close the tab and nothing remains on a server.

Install Toolisco Add it to your device for offline, one-tap access.