Percentage difference calculator
This calculator compares two numbers that have no obvious before and after, such as two quotes, two test scores, or two measurements from different sources.
Results
Enter your values to see the result.
About this tool
Enter a First value and a Second value, and it shows the gap as a percentage of their average, plus the absolute difference between them.
- How it is calculated
- difference % = |a − b| ÷ ((a + b) ÷ 2) × 100
- Worked example
- With First value: 40; Second value: 60, the result is: Percentage difference: 40 %; Absolute difference: 20.
- Good to know
- The gap is divided by the average of the two values, so the order you enter them in does not matter. If the two values average to zero, no percentage can be calculated and an error appears.
Frequently asked questions
How is this different from percentage change?
Percentage change measures against one starting value and so depends on direction. Percentage difference divides by the average of both values, which treats them equally, so swapping the First value and Second value gives the same answer.
What does Absolute difference tell me?
It is the plain gap between the two numbers with the sign removed, in the same units you entered. The percentage figure then expresses that gap relative to the midpoint of the pair.
Why do I get an error when one value is the negative of the other?
If the First value and Second value are equal and opposite, such as 5 and -5, their average is zero. The percentage would require dividing by zero, so the calculator cannot produce one.