StatGardenREF. DESK
Calculators/Maths/Absolute value equation
Maths

Absolute value equation calculator

Solves |ax + b| = c for x.

What this calculator does

Absolute value equation works out solves |ax + b| = c for x. Enter your own figures above and the answer updates as you type: nothing is fixed in the code, so the result reflects exactly the numbers you supply.

The formula this calculator evaluates is printed under the tool and explained below, so you can check the working by hand or reuse it in a spreadsheet.

The formula

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

The inputs explained

FieldWhat to enter
aA number. Starts at 2.
bA number. Starts at -3.
cA number. Starts at 7.

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 the answer changes with a

Every other input is held at the calculator’s starting values while a varies. Select any row to load that scenario into the calculator.

How the answer changes with a
ax₁x₂Check x₁
110.000-4.0007.000 (should equal 7.000)
1.56.667-2.6677.000 (should equal 7.000)
25.000-2.0007.000 (should equal 7.000)
33.333-1.3337.000 (should equal 7.000)
42.500-1.0007.000 (should equal 7.000)
61.667-0.66677.000 (should equal 7.000)