Solve for x Calculator with Steps

Enter any equation in one unknown and see it solved line by line. Each step applies one operation to both sides, so you can follow exactly how the equation is reduced to x = a value.

Try

How to do it by hand

  1. Clear brackets and fractions

    Expand any brackets, then multiply both sides by the common denominator so no fractions remain.

  2. Collect like terms

    Move every x term to one side and every constant to the other by adding or subtracting the same thing on both sides.

  3. Isolate x

    Divide both sides by the coefficient of x.

  4. Check

    Substitute the value back into the original equation and confirm both sides are equal.

Common mistakes

Questions about solve for x

What if x cancels out?

If you are left with a true statement such as 4 = 4, every value of x works. If you get a false statement such as 0 = 5, there is no solution.

Can it solve equations with x on both sides?

Yes. The steps collect the x terms on one side first, then isolate x.

More calculators