Solve for X Calculator
One-step, two-step and multi-step equations with every operation shown
What "Solve for X" Means
An equation is a balance. Whatever you do to one side you must do to the other, and the balance still holds. Solving for means peeling operations off — using the inverse of each one — until stands alone on one side.
The inverses are the obvious pairs: addition undoes subtraction, multiplication undoes division, and squaring undoes a square root.
In , two things have been done to : it was multiplied by 3, then 7 was added. Undo them in reverse order, like taking off shoes after socks — subtract the 7 first, then divide by the 3:
That reverse order is the whole idea behind "two-step" equations, and it does not change no matter how many steps get added.
Multi-Step: Tidy First, Then Undo
Before undoing anything, clean up each side:
- Distribute through any brackets: . Multiply the outside term by every term inside.
- Combine like terms on each side separately: becomes . Only terms with the identical variable part combine — and do not.
- Clear fractions by multiplying every term by the least common denominator. becomes in one move.
- Gather the variables on one side by adding or subtracting a variable term from both sides. Move them to whichever side keeps the coefficient positive — it prevents sign errors.
- Undo the remaining two operations in reverse order.
- Substitute your answer back into the original equation. This catches nearly every slip, and it costs ten seconds.
Common Mistakes to Avoid
- Distributing to only the first term. is , never .
- Dropping a negative through brackets. ; the minus hits both terms.
- Operating on one side only. Subtracting 7 from the left means subtracting 7 from the right in the same line.
- Combining unlike terms. is already finished; it does not become .
- Dividing only part of a side. From , dividing by 2 gives , not .
- Panicking when disappears. If you end at there is no solution; if you end at every value of works. Both are legitimate answers, not errors.
Examples
Frequently Asked Questions
The reverse of the order they were applied. Since the order of operations builds an expression by doing multiplication before addition, you unwind it by removing the addition or subtraction first and the multiplication or division last.
Add or subtract one of the variable terms so all the x ends up on a single side, then finish normally. Choose the side that leaves a positive coefficient, because it removes the most common source of sign errors.
If you are left with a false statement such as 0 = 8, the equation has no solution. If you are left with a true statement such as 0 = 0, every number is a solution and the equation is an identity. Neither outcome means you made a mistake.
Multiply every term on both sides by the least common denominator, which clears all the fractions in one step. Be careful to multiply whole sides, not just the fractional terms, and remember that a fraction bar groups everything above it like a bracket.
Related Solvers
Try AI-Math for Free
Get step-by-step solutions to any math problem. Upload a photo or type your question.
Start Solving