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
Clear brackets and fractions
Expand any brackets, then multiply both sides by the common denominator so no fractions remain.
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.
Isolate x
Divide both sides by the coefficient of x.
Check
Substitute the value back into the original equation and confirm both sides are equal.
Common mistakes
- Changing a sign on only one side when moving a term across the equals sign.
- Multiplying only the first term in a bracket instead of every term.
- Dividing by a negative coefficient and forgetting the sign of the result.
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.