Absolute Difference Calculator
Find the nonnegative distance between two real numbers in the same units.
Formula
Difference = |a − b|
Absolute difference ≈ abs((-3)-(5))
How to use
- Enter the first number.
- Enter the second number in the same units.
- Read the nonnegative difference.
Examples
- −3 and 5 have an absolute difference of 8.
Frequently asked questions
Does the order matter?
No. |a − b| equals |b − a|.
Can the result be negative?
No. Equal inputs give zero; other inputs give a positive distance.
Is this percentage difference?
No. The result keeps the input unit and has no percentage denominator.
Sources
Updated: