Equation Solver With Steps (Linear Equations)
Type an equation with one unknown, such as 3(x + 2) = 2x − 7, and the solver shows every step: expanding brackets, collecting the unknowns, moving the numbers and dividing. It then checks the answer in both sides. It handles brackets, fractions and decimals, tells you when there is no solution or when every value works, and points you to the quadratic solver for x² equations. It runs in your browser and no exam-board data is used.
The tool needs JavaScript. The instructions, method and limitations below remain available even when JavaScript is disabled.
Solve an equation
Type an equation with one unknown letter, such as 3(x + 2) = 2x − 7. Brackets, fractions like 1/2 and decimals are fine. Use × or * for multiply and ^ for a power.
Type an equation, then choose “Solve with steps”.
How to use the solver
- Type the equation in the box. Use + and − as normal, × or * to multiply, / to divide and ^ for a power. Brackets are fine, and so are fractions such as 1/2 and decimals.
- Use any single letter for the unknown. The solver finds the letter for you.
- Choose “Solve with steps” and read the working from top to bottom.
- Try the question yourself first, then use the steps to find where your working differs.
Worked example: 3x + 5 = 2x − 7
- Collect the x terms on the left by subtracting 2x from both sides: x + 5 = −7.
- Move the number to the right by subtracting 5 from both sides: x = −12.
- Check: left side 3 × (−12) + 5 = −31 and right side 2 × (−12) − 7 = −31. They match, so x = −12.
Worked example with brackets: 2(x + 3) = 14
- Expand the bracket: 2x + 6 = 14.
- Subtract 6 from both sides: 2x = 8.
- Divide both sides by 2: x = 4.
- Check: 2 × (4 + 3) = 14, which is correct.
When there is no solution, or every value works
If the unknown cancels, you are left with a statement about numbers only. For 5x − 2 = 5x + 7 you get −2 = 7, which is never true, so there is no solution. For 2(x + 1) = 2x + 2 you get 2 = 2, which is always true, so every value of x works.
Common mistakes
- Changing a sign wrongly when moving a term across the equals sign. Adding or subtracting the same thing on both sides is safer than “changing sides”.
- Multiplying only the first term in a bracket. In 2(x + 3), both x and 3 are multiplied by 2.
- Dividing only one term. Divide every term on both sides.
- Not checking the answer by putting it back into the original equation.
Common questions
Can I use this in an exam?
No. Online tools are not allowed in exams. Use the solver to check practice questions and to understand each step. Your school or exam board sets the calculator rules.
What kinds of equation can it solve?
Linear equations with one unknown, with the unknown on one or both sides, brackets, fractions and decimals. If the equation has an x² term it explains that it is a quadratic and points you to the quadratic solver.
What if I have two unknowns, such as x and y?
Use the simultaneous equations solver, which solves two equations with two unknowns.
How do I type a fraction or a power?
Type 1/2 for a half and (x + 1)/3 for a bracket divided by 3. Type x^2 for x squared.
Is what I type saved or sent anywhere?
No. The calculation happens in your browser and nothing you enter is stored or sent to us.
Limitations and privacy
The solver handles one linear equation with one unknown. It does not solve equations with the unknown in a denominator, in a root or in a power higher than 2, and it does not solve inequalities. It is a learning aid: it shows a standard method but cannot tell you which one your teacher or exam board prefers.
No input is sent to a server, an analytics service or an email provider. Nothing you enter is saved: refreshing the page clears it.
Sources and method
The text is read with a small expression parser and all working uses exact fractions. The unit tests check thousands of random equations: each answer must satisfy the original equation, and equations with no solution or infinitely many solutions must be recognised. Calculation version: algebra-exact-v1. No syllabus, date, grade boundary or tariff dataset has been imported. Maintained by Mehar Ahmad. This tool has not had a tutor or academic review.
Related study guides
Want help with this topic?
If solving equations keeps going wrong, you can request a free 30-minute demo to talk it through.
Request a free 30-minute demo