Linear Equation Solver

Solve equations like 3x + 5 = x − 7 step by step.

Fractions and decimals both work.
x
Equation
Steps
Check
Work

Saved Calculations

Items you add are saved in this browser.

NameCalculationResultRemove

How to Solve a Linear Equation

Get all the x terms on one side and the numbers on the other, then divide by the x coefficient. Whatever you do to one side, do to the other.

ax + b = cx + d → (a − c)x = d − b → x = (d − b) ÷ (a − c)

Worked Example

Tips

If the x terms cancel, there’s either no solution or every number is a solution. Fractions work in the boxes (1/2).