Absolute Value Calculator
Enter a number to find its absolute value.
This result is an estimate only. Double-check important figures before relying on them.
How it is calculated
- |a| = a if a is zero or positive, and −a if a is negative
- Distance between a and b = |a − b|
For the size of a complex number or a vector, use the vector magnitude calculator.
Worked example
- |−7.5| = 7.5
- Distance between 3 and 10 = |3 − 10| = 7
Why your number may differ
Absolute value is exact for any number you enter. The result is shown to 6 decimal places.
Frequently asked questions
What is absolute value?
The distance of a number from zero, always positive or zero. |−7.5| = 7.5 and |7.5| = 7.5.
How do I find the distance between two numbers?
Subtract one from the other and take the absolute value: |a − b|. The distance between 3 and 10 is 7.
Is absolute value the same as the modulus?
Yes. For real numbers the two words mean the same.