Math

Absolute Value Calculator

Distance from zero, and |ax+b| equations.

Enter your values

Results update instantly as you type — no submit needed.

Results
|x|
7.5
Solutions of |ax + b| = c
x = 8 or x = -2
Sign of x
negative
|x| squared
56.25

Quick answer

The absolute value of a number is its distance from zero, so it is always zero or positive.

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

How to use the Absolute Value Calculator

  1. 1Enter a value to get its absolute value.
  2. 2Enter a, b and c to solve |ax + b| = c.
  3. 3Remember there are usually two solutions.

Frequently asked questions

Can absolute value be negative?

No, never — the result is always zero or positive.

Why two solutions?

Both a positive and a negative inside expression can have the same distance from zero.