Algebra Solver

Type any expression or equation. Get it simplified, factorised or solved, with steps and a graph.

Calculate

How to use this calculator

Type an expression such as (x+2)(x−3), or an equation such as 5x + 3y − 6 = 0. For an equation, pick the letter you want to solve for. The working appears underneath, with a graph when there is one letter.

How it's calculated

To solve an equation we do the same thing to both sides until the chosen letter is alone. For degree-2 equations the quadratic formula x = (−b ± √(b² − 4ac)) / 2a is used. Expressions are expanded by multiplying out brackets and collecting like terms.

Worked example

5x + 3y − 6 = 0 solved for x: move 3y − 6 across to get 5x = 6 − 3y, then divide by 5, so x = (6 − 3y) / 5.

Frequently asked questions

Can it solve an expression with no equals sign?

An expression is not an equation, so there is nothing to solve. Instead the calculator expands it, factorises it, and evaluates it if you give the letters values. Add = 0 to solve it.

What kinds of equations does it support?

Linear and quadratic equations with any letters, and higher-degree equations with one letter. If something is not supported, you get a clear message and never a wrong answer.

Are the answers exact?

Yes. Fractions and square roots are kept exact, and decimals are shown as well.

Related tools

Last updated October 2026. Results are for learning and guidance; always check important work. Calculations run in your browser and are not stored.