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∣34∣\left|\frac{3}{4}\right|

∣34∣=34\displaystyle \left|\frac{3}{4}\right| = \frac{3}{4}
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 not negative, so ∣x∣|x| is just xx.

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

    ∣34∣=34\left|\frac{3}{4}\right| = \frac{3}{4}
  2. Result

    So ∣34∣=34\left|\frac{3}{4}\right| = \frac{3}{4}.

Worked examples