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.
Check the highlighted fields.
Your numbers
Example inputs. Results update as you type.
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
No result. Check the fields marked below.
What to check next
- How much did a value increase or decrease?
Compare a new value with its original value.
- What is the arithmetic mean of these values?
Find the unweighted mean, along with the sum, count, minimum and maximum.
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
- Absolute difference = 20
- Average magnitude = 90
- 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
- Absolute difference = 20
- Average magnitude = 90
- 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
- Absolute difference = 0
- Average magnitude = 40
- 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
- Absolute difference = 40
- Average magnitude = 20
- 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
- Absolute difference = 80
- Average magnitude = 40
- 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
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.