Absolute Value Calculator

Enter a number to find how far it is from zero.

An integer, decimal or fraction, like -7, -2.5 or 3/4.

Try

Result

You entered∣−2.5∣\left|-2.5\right|

∣−2.5∣=2.5\displaystyle \left|-2.5\right| = 2.5
Show the work
  1. Absolute value is distance from 0

    The absolute value ∣x∣|x| is how far xx is from 0 on the number line, so it is never negative. Here xx is negative, so ∣x∣|x| is xx with its minus sign removed.

    Using ∣x∣={xx≥0−xx<0|x| = \begin{cases} x & x \ge 0 \\ -x & x < 0 \end{cases}

    ∣−2.5∣=−(−2.5)=2.5\begin{aligned} \left|-2.5\right| &= -\left(-2.5\right) \\ &= 2.5 \end{aligned}
  2. Result

    So ∣−2.5∣=2.5\left|-2.5\right| = 2.5.

Worked examples