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∣−7∣\left|-7\right|

∣−7∣=7\displaystyle \left|-7\right| = 7
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}

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

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

Worked examples