incolator
EN
EN

Percentage Difference Calculator

This percentage difference calculator compares two values on equal terms. It divides their absolute gap by their average magnitude, so swapping the inputs leaves the result unchanged.

Result22.222222222222%

Your numbers

Example inputs. Results update as you type.

Example
Example

Use a dot for decimals. Up to 120 digits and 80 decimal places per number; no grouping commas or exponents.

Result

22.222222222222%

The symmetric percentage difference is 22.222222222222%; neither value is treated as the original.

Exact value: 200/9%

Mixed number: 22 2/9

Decimal approximation, rounded to at most 12 places. The exact value is shown above.

Decimal expansion: repeating.

Absolute difference
20
Average magnitude
90

What to check next

How the calculation works

Neither number is the baseline. The average of their magnitudes supplies a symmetric denominator. For signed values, opposite signs can yield the maximum difference under this definition; this is not signed percentage change.

Step-by-step solution
  1. Absolute difference = 20
  2. Average magnitude = 90
  3. 20 ÷ 90 × 100 = 200/9%

Examples

Two positive values — 22.222222222222%

The symmetric percentage difference is 22.222222222222%; neither value is treated as the original.

Value A
80
Value B
100
  1. Absolute difference = 20
  2. Average magnitude = 90
  3. 20 ÷ 90 × 100 = 200/9%
Same values — 0%

The symmetric percentage difference is 0%; neither value is treated as the original.

Value A
40
Value B
40
  1. Absolute difference = 0
  2. Average magnitude = 40
  3. 0 ÷ 40 × 100 = 0%
One zero — 200%

The symmetric percentage difference is 200%; neither value is treated as the original.

Value A
0
Value B
40
  1. Absolute difference = 40
  2. Average magnitude = 20
  3. 40 ÷ 20 × 100 = 200%
Opposite signs — 200%

The symmetric percentage difference is 200%; neither value is treated as the original.

Value A
-40
Value B
40
  1. Absolute difference = 80
  2. Average magnitude = 40
  3. 80 ÷ 40 × 100 = 200%

How this is calculated

Difference (%) = |A − B| / ((|A| + |B|) / 2) × 100.

The gap and average magnitude are formed before any rounding. The final decimal percentage uses up to 12 places, with the exact ratio available for comparisons of nearly equal inputs.

Reviewed

Continue exploring calculators

Questions

What happens when both values are zero?

Their average magnitude is zero, so this percentage is undefined. The page states that explicitly rather than returning zero or an infinite percentage.

Why does one zero produce 200%?

The gap equals the nonzero magnitude, while the average magnitude is half as large. Dividing the gap by that average gives two.

Does the order of the values matter?

No. Both the gap and the average magnitude are symmetric, so exchanging A and B leaves the answer unchanged.

Can I use this as a signed rate of change?

No. This measure is nonnegative and does not identify an original value. Use Percentage Change for direction and a baseline.

The arithmetic is exact for the numbers entered; rounded decimals are approximations. Applying a result to measured or estimated quantities also carries their uncertainty. General mathematical information, not professional advice.

Calculation checks and limits

We tested the exact rational results under the stated conventions with checks every answer must pass and with worked examples. We did not compare it with a separate calculation or an outside program. Measurement uncertainty and the meaning of real-world inputs are not covered by these checks; they require context outside the mathematical model.