Equation Calculator

Solve linear equations for x. Enter an equation like 2x + 5 = 15 and get the solution with steps.

Supports: ax + b = c, ax + b = cx + d

Enter an equation to solve.

How to Solve a Linear Equation

  1. Move all terms with x to one side.
  2. Move all constant terms to the other side.
  3. Divide both sides by the coefficient of x.
ax + b = c → x = (c − b) / a
Example: 3x + 7 = 22
3x = 22 − 7 = 15
x = 15 / 3 = 5

FAQ

What equations can this solve?

This calculator solves linear equations with one variable (x). For quadratic equations, use the Quadratic Equation Calculator.

Last updated: 2026-08-08