Linear Equation Solver

Solve a linear equation of the form ax + b = c for the unknown x.

Solve ax + b = c

x = —
—
The first box is a, the second is b and the third is c, so 2, 3, 7 means 2x + 3 = 7.

How to use the Linear Equation Solver

  1. Enter the coefficient a of the unknown x.
  2. Enter the constant b and the right hand value c.
  3. Read the value of x and the rearrangement below.

Features

Advertisement

Frequently Asked Questions

Common questions about the free online linear equation solver.

Enter the values of a, b and c, and the solver returns x for the equation ax plus b equals c.
It shows the rearrangement x equals c minus b divided by a, so you can follow each step of the calculation.
If a is zero there is no single solution: the equation either has no solution at all or is true for every number.
Yes. Negative numbers and decimals are accepted in every field, including values with several decimal places.
No. Everything is solved locally in your browser and no values are transmitted or stored.
Yes. The solver is responsive and works in any modern browser on a phone, tablet or desktop.
Yes. It is completely free with no account, no sign-up and no limit on how many equations you solve.
A linear equation has the unknown raised only to the first power, so it graphs as a straight line with one solution.

Last updated: October 10, 2026