Home · Math · Algebra · Absolute Value Equation Calculator

Absolute Value Equation Calculator

Solve |x − a| = b: the two solutions sit at distance b either side of a.

Your figures

Example result — edit the figures to make it yours

8

Solution x = a + b

Solution x = a − b-2.00

What this calculator does

Solve |x − a| = b: the two solutions sit at distance b either side of a. 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 = a + b or x = a − b

An absolute-value equation |x − a| = b asks which numbers are exactly b away from a on the number line. For b ≥ 0 there are two solutions, a + b and a − b (they coincide when b = 0).

Worked example

With the example inputs this page opens with (centre a 3, distance b 5), the result is 8.00 — solution x = a + b. Change any figure and the result updates with the same formula.

Quick reference

Quick reference — varying centre a
Centre aSolution x = a + b
1.56.50
2.47.40
38.00
3.758.75
4.59.50
611.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 Equation Calculator work?

Solve |x − a| = b: the two solutions sit at distance b either side of a. Centre a, distance b → Larger solution, smaller solution. 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 Equation Calculator need?

Centre a, distance b → Larger solution, smaller solution. 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 Equation 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.