All topic guides
MathsDaily › Topic guides › Quadratic equation solver

Quadratic equation solver

Type a quadratic equation to get the solutions with full working: the discriminant, factorising, the quadratic formula, exact surd answers, decimals, the completed square form and a graph.

GCSEA-levelSQA Higher

Solve a quadratic equation

Write x² as x^2. Terms can be on both sides of the = sign.

or enter a, b and c in ax² + bx + c = 0
Try:

How the solver works

It follows the same steps you would write in an exam, so you can check each line of your own working.

  1. Rearrange to ax² + bx + c = 0 and clear any fractions or decimals.
  2. Find the discriminant b² − 4ac to see how many solutions there are.
  3. Factorise if the discriminant is a square number; otherwise use the quadratic formula.
  4. Simplify any surd for the exact answer, then round to 2 decimal places and 3 significant figures.
  5. Complete the square to find the turning point and sketch the graph.

Which method should I use?

MethodUse it whenLearn it
FactorisingThe numbers are small and b² − 4ac is a square numberFactorising quadratics guide
Quadratic formulaIt does not factorise, or the question asks for decimals or an exact surd answerQuadratic formula guide
Completing the squareYou need the turning point, or the question asks for the form (x + p)² + qCompleting the square guide

The quadratic formula is printed on the GCSE Higher formula sheet but not the Foundation one. See the GCSE Maths formula sheet.

Practise solving quadratics

A solver is great for checking, but the skill comes from doing it yourself. The quadratic formula guide has five exam-style questions with worked answers, and GCSE and A-level daily practice include quadratics regularly.

Try five quadratic formula questions →
Free. Worked answers for every question.

Common questions

How do you solve a quadratic equation?

Rearrange it to ax² + bx + c = 0. If it factorises, set each bracket equal to zero. If it does not, use the quadratic formula x = (−b ± √(b² − 4ac)) / 2a, or complete the square.

What does the discriminant tell you?

The discriminant b² − 4ac tells you how many real solutions there are: two if it is positive, one repeated solution if it is zero, and none if it is negative. If it is a square number, the quadratic factorises.

Why does the solver give an answer with a square root?

When b² − 4ac is not a square number, the exact solutions contain a surd such as √3. Exam questions often ask for this exact form, or for the answer to 2 decimal places or 3 significant figures, so the solver shows all of them.

Can I type fractions or decimals?

Yes. You can enter numbers like 0.5, 3/4 or −1 1/2. The solver multiplies through to whole numbers first, which does not change the solutions.

What if there are no real solutions?

If b² − 4ac is negative, the graph never crosses the x-axis, so there are no real solutions. That is the answer expected at GCSE. For A-level Further Maths, the solver also shows the complex solutions.

Should I use a solver for homework?

Use it to check your answers and to see the method when you are stuck. Then try a similar question on your own. Exams expect you to show this working yourself.

Related