Linear Equation Solver

Solve basic linear equations step-by-step.

Solve a linear equation of the form ax + b = c

How to Do It Manually

A linear equation has the form ax + b = c. Isolate x by performing the same operation on both sides of the equation.

ax + b = c → x = (c − b) / a
  1. Subtract b from both sides: ax = c − b.
  2. Divide both sides by a: x = (c − b) / a.
  3. Check your answer by substituting x back into the original equation.

Frequently Asked Questions

What if a = 0?

If a = 0, the equation has no x term. It either has no solution (0 = non-zero) or infinite solutions (0 = 0).

Can I solve equations with variables on both sides?

Yes — move all x terms to one side and constants to the other, then solve.