Solve for X Calculator
This solve for x calculator finds the value of x in a linear equation — including equations with x on both sides and equations with brackets. Type your equation into Arithly on the home page, and you get hints first, then the full step-by-step solution on the whiteboard.
Every solve-for-x question is the same game: undo whatever has been done to x, in reverse order, doing the same thing to both sides so the equation stays balanced. Expand brackets first, collect the x terms on one side, and finish by dividing. No sign-up, no cost — and the solver works in 32 languages.
Brackets on both sides: expand everything first
When both sides carry brackets, the reliable order is: expand every bracket, then collect the x terms on one side, then the numbers on the other. Trying to move terms before expanding is the classic way to lose a term — the 2 in 2(x + 9) multiplies the 9 as well, and forgetting that is the single most common slip.
Think first
Before reading the solution, try to answer these — they are the hints Arithly itself gives:
- What is the first thing to move — the numbers, or the x terms?
- Get all the x terms on one side and all the numbers on the other.
Worked example
Solve 5x + 3 = 2x + 15
- Collect the x terms on one side and the numbers on the other — subtract 2x from both sides (5 − 2 = 3) and subtract 3 from both sides (15 − 3 = 12): 3x = 12.
- Divide both sides by 3: x = 12 ÷ 3 = 4.
Answer: x = 4
Worked note — brackets on both sides
Solve 3(x + 2) = 2(x + 9)
- Expand both brackets: 3x + 6 = 2x + 18.
- Subtract 2x from both sides: x + 6 = 18.
- Subtract 6: x = 12.
Answer: x = 12
Practice
Try these yourself. Each one opens in Arithly with the question already filled in — solve it there and check your working:
- Solve 4(x − 3) = 20 Try it in Arithly →
- Solve 2(x + 5) = 3x + 4 Try it in Arithly →
- Solve 9x + 5 = 4x + 30 Try it in Arithly →
Related topics
Algebra hub
All of Arithly's algebra topics, from linear equations to quadratics.
Math Equation Solver
Equations of every school type, solved with the working shown.
Expanding Double Brackets
The bracket skills these equations depend on.
Changing the Subject
Rearranging formulas so a different letter becomes the subject.
Simultaneous Equations
Two equations, two unknowns — the next step up.
Absolute Value Equations & Inequalities
Equations with a modulus split into two plain equations.
More topics: all maths topics · Next topic: Simplify Calculator