Menu

Equation Solver

Any equation, solved with every step named as your teacher would name it.

By Nethanel Bar, Co-founder & CEO

Last updated

Want to solve these without the calculator?

The Coddy math course teaches the method itself - you work each step on an interactive board and get told exactly where a move went wrong.

Solving for x is a sequence of moves, not a trick

Every equation you will meet in school algebra is solved the same way: you do the same thing to both sides, over and over, until the letter stands alone. What changes from problem to problem is which move to make next, and that is the only thing worth learning. An answer alone teaches you none of it.

So this solver shows the moves. Each line says what was done - "Subtract 7 from both sides", "Split into cases", "Cross multiply" - and then shows the equation that move produced. The names are not invented for this page: they are the same names the Coddy math course uses on its interactive board, because the calculator and the course run on one engine.

It also chooses the route the way a teacher would rather than the way a computer would. Factoring beats the quadratic formula where factoring applies, because it is shorter and it is what you would do by hand. The number of steps shown is the number of steps the problem actually takes.

What to watch for in the steps

  • Read the move names, not just the lines. If you can say why each move was chosen, you can solve the next one without this page.
  • Watch where the equation stops being about x and starts being about arithmetic. That handover is the moment most people lose a sign.
  • A quadratic that factors is solved by factoring here, not by the formula. Both are correct; one is shorter, and knowing which is which is a skill.
  • Answers stay exact. 7/2 is the answer and 3.5 is a decimal of it - on a fractions question the difference is marked.
  • "No solution" and "every number works" are real answers, not errors. An equation that reduces to 1 = 2 has no solution; one that reduces to 1 = 1 has all of them.

How to use the equation solver

  1. Type the equation

    Write it the way you would on paper: 2x + 3 = 11, x^2 - 5x + 6 = 0, (x+1)/(x-2) = 3. Use ^ for powers, sqrt(...) for roots and |x| for absolute value.

  2. Choose which letter to solve for

    With more than one letter in the equation a row of buttons appears. That is how you rearrange a formula: put in A = l w and pick l to get l = A/w.

  3. Read the answer, then the route

    The answer sits at the top because that is what most people came for. The numbered steps below it are the part worth reading twice.

  4. Compare it against your own working

    If you got a different answer, the useful question is not which number is right but which line diverged. Find that line and the mistake usually explains itself.

What it can solve

One solver, and it picks the method rather than asking you to. These are the shapes it recognises and the first move it makes on each.

Kind of equationExampleHow it starts
Linear3x + 7 = 22Move the constant, then divide
Unknown on both sides5x - 4 = 3x + 6Collect the x terms on one side first
Brackets2(x - 3) = 4x + 1Divide through or expand, whichever is shorter
Quadraticx² - 5x + 6 = 0Factor if it factors, otherwise the quadratic formula
Fractions and rationals(x+1)/(x-2) = 3Cross multiply, then solve what is left
Absolute value|x - 1| = 4Split into the two cases the bars stand for
Radical√(x + 3) = 5Square both sides, then check for extraneous roots
Systems2x + y = 5; x - y = 1Eliminate one unknown, then substitute back
Inequalities3x + 2 > 11The same moves, with the sign flipping on a negative divide
Formulas (literal)A = l wPick the letter you want and isolate it

Worked examples

A linear equation: 3x + 7 = 22

plain
3x + 7 = 22

Two moves. The 7 goes to the other side, leaving 3x = 15, and then dividing by 3 gives x = 5. Notice the solver does not 'subtract 7 from both sides' and then 'divide both sides by 3' as separate ceremonies - it names each move by what it accomplishes, which is how you would describe it out loud.

Unknown on both sides: 5x - 4 = 3x + 6

plain
5x - 4 = 3x + 6

The first job is to get every x onto one side. After that it is the previous example again. This is the shape that first convinces students that algebra is a procedure rather than a puzzle, and it is worth doing a dozen of them until the first move is automatic.

A quadratic that factors: x² - 5x + 6 = 0

plain
x^2 - 5x + 6 = 0

Factoring gives (x - 3)(x - 2) = 0, and then the zero-product rule splits it into two cases, each of them a one-step linear equation. The quadratic formula would also work and would take four more lines - which is exactly why the solver does not use it here.

Rearranging a formula: A = l w for l

plain
A = l w

Pick l in the 'Solve for' row and the solver moves w across, giving l = A/w. This is the same machinery as solving for x, and realising that is one of the more useful moments in a first algebra course: a formula is just an equation whose letters have names.

Common mistakes

  • Doing something to one side only. Every move here is applied to both sides; the moment that stops being true the equation stops being the same equation.
  • Forgetting to flip an inequality when multiplying or dividing by a negative. -2x > 6 gives x < -3, not x > -3.
  • Losing a solution on a quadratic. (x - 3)(x - 2) = 0 has two answers, and writing down only the first is the most common way to lose half the marks.
  • Squaring both sides of a radical equation and not checking. Squaring can invent roots that do not satisfy the original; they have to be tested and thrown out.
  • Cancelling across a plus. In (2x + 4)/2 both terms are divided by 2, so it is x + 2 and never 2x + 2.
  • Treating 'no solution' as a mistake. Some equations genuinely have none, and recognising that is the answer, not a failure to find one.

Equation solver FAQ

How do I solve for x?
Undo what is being done to x, one operation at a time, doing the same thing to both sides each time. Work outwards: get rid of additions and subtractions first, then multiplications and divisions, then powers and roots. When x stands alone, the other side is the answer. Every route this solver prints is that idea applied over and over.
Is the step-by-step working really free?
Yes, and with no sign-up. It is worth saying plainly because the two best known step-by-step math sites show you an answer and then ask for a subscription to see how they got there. Here the working is simply on the page - it is the part that teaches, so putting it behind a payment would defeat the point.
What can it solve?
Linear equations, equations with the unknown on both sides, brackets, fractions and rational equations, quadratics, absolute value, radicals, exponentials with a common base, systems of equations, inequalities and compound inequalities, and literal equations where you rearrange a formula for one of its letters.
Why did it factor instead of using the quadratic formula?
Because factoring is shorter when it applies, and the solver picks its route the way a teacher would rather than the way a computer would. On a quadratic that does not factor neatly it reaches for the formula and writes that out instead, one step at a time.
Can it rearrange a formula rather than solve an equation?
Yes - that is the 'Solve for' row. Enter the formula, pick the letter you want on its own, and the solver isolates it. Rearranging v = u + at for t is exactly the same work as solving 3x + 7 = 22 for x, and seeing that written out is often what makes it click.
What does 'no solution' mean?
That the equation contradicts itself. x + 1 = x + 2 reduces to 1 = 2, which no value of x can fix, so the equation has no solution. Its opposite also happens: 2(x + 1) = 2x + 2 reduces to 1 = 1, meaning every number works.
Does it show decimals?
It shows exact values, because that is what the answer is. 7/2 stays 7/2 and √12 becomes 2√3 rather than 3.464. A decimal is a rounding of the answer, and on a question about fractions or surds a rounding is marked wrong.

More math tools

Coddy programming languages illustration

Learn math with Coddy

GET STARTED