|x|

Absolute Value Calculator

The absolute value of a number or expression, and the distance between two numbers.

Math & AlgebraRuns in your browser

Result…

Leave empty for just |x|

 

…

How it's calculated

|x| = x if x ≥ 0, and −x if x < 0
Distance between a and b = |a − b|

The absolute value is a number's distance from zero on the number line, so it is never negative.

Your numbers, step by step

    More in Math & Algebra