StatGardenREF. DESK
Calculators/Maths/Absolute value equation
Maths

Absolute value equation calculator

Solves |ax + b| = c for x.

Published 6 August 2026 · Updated 23 September 2026

What this calculator does

An absolute value equation usually has two solutions, because the expression inside can be either positive or negative and still give the same absolute value. Solving means splitting into those two cases.

Three outcomes are possible. A positive right-hand side gives two solutions, a value of zero gives exactly one, and a negative value gives none at all, since an absolute value can never be negative.

The formula

FormulaIf c<0: no solution. If c=0: x = −b/a. Otherwise x = (c−b)/a or x = (−c−b)/a

The equation splits into ax + b equals c and ax + b equals minus c. Each is solved for x, and both are checked by substituting back.

TermMeaning
Absolute valueDistance from zero, always non-negative.
Two casesThe expression inside can be positive or negative, giving two equations.
No solutionWhat results when the right-hand side is negative.

The inputs explained

FieldWhat to enter
aCoefficient of x inside the absolute value. Cannot be zero.
bConstant inside the absolute value.
cThe value on the right. Negative values have no solution.

When to use it

Solving algebra problems

Absolute value equations are a standard topic and the two-case split is where errors happen.

Expressing a tolerance

A measurement within a tolerance is naturally an absolute value statement.

Understanding why there are two answers

Both solutions sit equally far from the point where the inside expression is zero.

Worked examples

Every figure in the tables below is produced by this page’s own calculator at build time, so the numbers and the tool always agree. Select any row to load that scenario.

How do the solutions spread?

The same expression at three right-hand values.

Equation |2x − 3| = c
Right-hand valuex₁x₂
c = 33.0000
c = 75.000-2.000
c = 117.000-4.000
At c = 3 the solutions are 3.000 and 0, and at c = 11 they are 7.000 and −4.000. Both always sit equally far either side of x = 1.5, which is where the expression inside reaches zero.

Questions

Why are there usually two solutions?

Because absolute value discards the sign. Both a positive and a negative value of the inside expression give the same absolute value, so two different x values satisfy the equation.

When is there only one solution?

When the right-hand side is exactly zero. The only way for an absolute value to be zero is for the expression inside to be zero, which happens at a single point.

Why can there be no solution?

Because an absolute value measures distance from zero and cannot be negative. Setting it equal to a negative number asks for something impossible.

How do absolute value inequalities differ?

They give intervals rather than points. Less than gives the region between the two solutions, and greater than gives the two regions outside them, which is a common source of confusion.

For quadratic equations, see the quadratic calculator. For solving exponentials, see the exponential equation calculator.