Free math tool

Linear Equation Solver

Solve one-variable linear equations in x, show the balancing steps, and catch no-solution and infinite-solution cases.

Reset

Ready

Enter values to get the answer.

This page keeps the calculation direct: answer first, then steps, then explanation and examples.

Steps

  1. Pick one of the example inputs or enter your own values.
  2. Use Solve to generate the direct answer and the conversion steps.
  3. Copy the result or share the URL with the query string intact.

Why it works

A linear equation is balanced as long as you do the same operation to both sides. Combining like terms and isolating x makes the balance explicit.

Common mistakes

  • Distributing incorrectly before combining like terms.
  • Moving a term across the equals sign without changing its sign.
  • Treating identity or contradiction cases as if they had one numeric answer.

Worked examples

Solve 2(x + 3) = 14

Distribute to get 2x + 6 = 14, then subtract 6 and divide by 2 to get x = 4.

Solve 4x + 3 = 4x + 3

Both sides are identical, so every x-value works.