- First value
- 40
- Second value
- 60
40.0000%
Open with these values40.0000%
Result: 40.0000 %Percentage difference compares two values where neither is the reference: it divides their gap by their average, not by one of them. That makes it symmetric — swapping the two inputs changes nothing. When one value is a known correct one, use percent error instead.
Held fixed: First value 40.0000.
| Second value | Result (%) |
|---|---|
| 0.0000 | 200.0000 |
| 20.0000 | 66.6667 |
| 40.0000 | 0.0000 |
| 60.0000Your value | 40.0000 |
| 80.0000 | 66.6667 |
| 100.0000 | 85.7143 |
| 120.0000 | 100.0000 |
40.0000%
Open with these values66.6667%
Open with these values100.0000%
Open with these values%diff = |a − b| ÷ ((a + b) ÷ 2) × 100
Neither value is the reference, so the gap is divided by their average. For 100 and 50 that gap is 50 and the average 75, giving 66.6667 % — dividing by 100 would give 50 %, dividing by 50 would give 100 %.
The gap does not depend on the order and the average is the same either way. Comparing 40 with 60 gives 40 %, and so does comparing 60 with 40.
Values equal in size but opposite in sign, such as 5 and −5, average to zero and the formula divides by zero. The page shows no result rather than an infinite one.
Math is Fun gives it as (25 − 15) ÷ ((25 + 15)/2) × 100 % = 50 %, together with the reason for taking the average. Checked on 2026-08-25.
The gap is divided by one of the two values.
It is divided by their average: 100 and 50 come to 66.6667 %, where dividing by 100 would give 50 % and dividing by 50 would give 100 %.
Percentage difference and percent error are the same measure.
Percent error measures a reading against a value already known to be right. Percentage difference treats both values as equally valid.
40 and 60 sit further apart in percentage terms than 8 and 12.
Both pairs come to 40 %. What counts is the gap relative to the average, not the size of the numbers.
5 and −5 are as far apart as it gets, so the answer is large.
Their average is zero, so the measure is undefined and the calculator returns nothing at all.
| Both values | Comparison | Percentage difference |
|---|---|---|
| 10, 10 | Identical readings | 0.0000 |
| 8, 12 | Same ratio as 40 and 60, smaller numbers | 40.0000 |
| 40, 60 | Average 50, gap 20 | 40.0000 |
| 100, 50 | One is double the other | 66.6667 |
| 5, 15 | One is triple the other | 100.0000 |
Take the absolute gap between the two values, divide it by their average and multiply by 100. For 40 and 60 the gap is 20 and the average is 50, so 20 ÷ 50 × 100 = 40 %.
Percentage change is directional: it measures how far a value moved from an old reference to a new one, so it needs a before and an after. Percentage difference is symmetric and compares two values of equal standing, dividing by their average. Use change for growth over time and difference for two independent measurements.
No, the measure is symmetric, so swapping the first and second value gives exactly the same answer. The gap does not depend on the order, and the average is the same either way. Comparing 40 with 60 gives 40 %, and so does comparing 60 with 40.
When the average of the two values is zero, the formula divides by zero and there is no answer. That happens whenever the values are equal in size but opposite in sign, for example 5 and −5. The calculator shows no result rather than an infinite one.
Use it when neither value is the correct baseline: two lab readings of the same quantity, prices from two shops, or results from two methods. Because it treats both values equally, it is the fair way to say how far apart two figures of the same standing are.
Information, not professional advice.
Diese Seite gibt es auch auf Deutsch.
Zu Deutsch wechseln