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 entered12x=3\frac{1}{2}x = 3

x=6\displaystyle x = 6

Exact

6\displaystyle 6

Decimal

6\displaystyle 6
Show the work
  1. Divide both sides by the coefficient

    The coefficient of xx is 12\frac{1}{2}. Divide both sides by it to leave xx alone.

    x=3÷(12)=6\begin{aligned} x &= 3 \div \left(\frac{1}{2}\right) \\ &= 6 \end{aligned}
  2. Check the solution

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

    3=33 = 3
  3. Result

    So the solution is x=6x = 6.

Worked examples