Formula
|a - b| / ((a + b)/2) × 100
Worked example
With these values
- First number
- 40
- Second number
- 50
The calculator gives
- Difference
- 22.22 %
These values are only an illustration. Replace them with yours in the form above.
How "Difference" changes with "First number"
| First number | Difference |
|---|---|
| 20 | 85.71 % |
| 32 | 43.9 % |
| 40 | 22.22 % |
| 48 | 4.08 % |
| 60 | 18.18 % |
All other values stay as in the example.
How to use this calculator
Change any value: results update as you type. Copy a result with one click, or share a link that keeps all your values.
Read the guide
Questions
How is the result calculated?
The calculator applies this rule: |a - b| / ((a + b)/2) × 100
Is it free?
Yes. It is free, needs no account, and works on phone and desktop.
Are my numbers stored?
Everything runs in your browser. Nothing you type is sent to a server.