Home · Math · Algebra · Absolute Value Calculator

Absolute Value Calculator

The absolute value of a number is its distance from zero — always non-negative.

Your figures

Example result — edit the figures to make it yours

7

|x|

x²49.00
√(x²)7.00

What this calculator does

The absolute value of a number is its distance from zero — always non-negative. Every figure on this page is computed from the formula or definition stated below, with no hidden rounding steps, and the method notes name the exact convention where more than one exists.

The formula and method

|x| = x if x ≥ 0, otherwise −x

Absolute value strips the sign: |−7| = 7 and |7| = 7. It also equals sqrt(x²), which is shown as a cross-check.

Worked example

With the example inputs this page opens with (number x -7), the result is 7.00 — |x|. Change any figure and the result updates with the same formula.

Quick reference

Quick reference — varying number x
Number x|x|
-3.53.50
-5.65.60
-77.00
-8.758.75
-10.510.50
-1414.00

Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.

Common questions

How does the Absolute Value Calculator work?

The absolute value of a number is its distance from zero — always non-negative. Number x → |x|, x². The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.

What inputs does the Absolute Value Calculator need?

Number x → |x|, x². Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.

Is the Absolute Value Calculator free to use?

Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.