Skip to content
LoveToCalc

Definition — what does that mean?

Absolute value

A number's distance from zero. It is never negative, which is why |x| = a has two answers when a > 0.

In Swedish: Absolutbelopp

Absolute value

The relation

a=|x|

A number's absolute value is its distance from zero, so it is never negative.

A number line with zero in the middle and the number x to the left of it. The absolute value a is the distance from zero, drawn as an arrow, and it is the same length whether the number lies on one side of zero or the other.
Solve for

a=5

a equals the absolute value of (−5), equals 5

Working2 steps

Practice questions

You are given

  • a=1

What the formula says

a = |x|

x is a number and a its absolute value, the number’s distance from zero on the number line. It is a definition: |x| is x if x is zero or positive, and −x if x is negative. A distance cannot be negative, so a is never less than zero.

One way round there is always exactly one answer. The other way, when you know a and want x, there are two if a > 0: both a and −a lie at distance a from zero.

Worked examples

A negative number. |−5| = 5. The number −5 is five steps from zero.

A positive number. |5| = 5. The same distance, the other way. It is the distance that counts, not the direction.

The equation |x| = 7. Which numbers are seven steps from zero? x = 7 and x = −7. Write both.

An equation with no solution. |x| = −3 has no solution, because no distance is negative.

The distance between two numbers. |a − b| is the distance between a and b on the number line. Between 2 and −6 it is |2 − (−6)| = |8| = 8, and the other way round |−6 − 2| = |−8| = 8.

Common mistakes

Common questions

Why does |x| = a have two solutions? When a > 0, two numbers are the same distance from zero, one on each side. |x| = 4 gives x = 4 or x = −4.

What if a is zero? Then there is only one solution, x = 0. Zero is the only number at distance zero from zero.

How is the absolute value related to the square root? √(x²) = |x|. A square root is never negative, so √((−3)²) = √9 = 3, not −3. It is the same idea as in the root of a product.

Looking for another letter? The formula solved for each one
Solved for each letter
Solve forRearrangedWith the numbersComes to
a|x||−5|5
xa55

Last reviewed October 6, 2026 ·How pages are reviewed

ArithmeticAll formulas

Put this formula on your site

Copy the code into your page where the formula card should appear. It loads from lovetocalc.com, so it stays current on its own — all we ask is that the credit line comes with it.