Linear Equation Calculator

Solve one linear equation and see every step of the working.

Use one letter, brackets and one =, <, >, ≤ or ≥ sign.

Try

Result

You entered2x+3=72x + 3 = 7

x=2\displaystyle x = 2

Exact

2\displaystyle 2

Decimal

2\displaystyle 2
Show the work
  1. Collect the numbers on the other side

    Move the plain number to the right by subtracting 33 from both sides, so the left side keeps only the variable term.

    2x=42x = 4
  2. Divide both sides by the coefficient

    The coefficient of xx is 22. Divide both sides by it to leave xx alone.

    x=42=2\begin{aligned} x &= \frac{4}{2} \\ &= 2 \end{aligned}
  3. Check the solution

    Substitute x=2x = 2 into both sides of the original equation. The left side is 77 and the right side is 77; they match, so the solution is correct.

    7=77 = 7
  4. Result

    So the solution is x=2x = 2.

Worked examples