STEM-TutorLearn • Practice • ExcelBook Free DemoFree demo

The quadratic formula, explained with examples

The quadratic formula solves any quadratic equation, even ones that will not factorise. It is a Higher tier GCSE skill and is used all the way through A level.

On this page
  1. The formula
  2. When to use it
  3. A step-by-step method
  4. Worked examples
  5. The discriminant: how many solutions?
  6. Where the formula comes from
  7. Common mistakes
  8. Practice questions
  9. Frequently asked questions
  10. Key takeaways
  11. Related guides

The formula

For any quadratic equation in the form ax² + bx + c = 0, with a ≠ 0, the solutions are

x = (−b ± √(b² − 4ac)) / 2a

The ± sign means there are usually two answers: one using + and one using −. For GCSE Maths exams in 2025, 2026 and 2027, a formulae sheet is provided with the papers, covering formulae students previously had to memorise; check the sheet for your exam year, but learn the formula anyway, because recalling it quickly saves time. A common way to remember it is to say it aloud as a rhythm: “minus b, plus or minus the square root of b squared minus four a c, all over two a”.

When to use it

There are three main ways to solve a quadratic: factorising, completing the square and the quadratic formula. Factorising is quickest when it works, but many quadratics do not factorise with whole numbers. The formula always works. Use it when:

A step-by-step method

  1. Rearrange the equation so that it equals zero: ax² + bx + c = 0.
  2. Write down a, b and c, including their signs.
  3. Work out the discriminant b² − 4ac first, on its own line.
  4. Substitute into the formula, using brackets around negative numbers.
  5. Work out the two answers separately, then round as the question asks.

Calculating the discriminant separately is the single best habit for avoiding errors, because most mistakes happen inside the square root.

Worked examples

Example 1: a straightforward case

Solve x² + 5x + 3 = 0, giving answers to 2 decimal places.

Example 2: a negative coefficient

Solve 2x² − 3x − 4 = 0, giving answers to 3 significant figures.

Example 3: rearranging first

Solve 3x² = 7x − 1, to 2 decimal places.

Example 4: answers in surd form

Solve x² − 4x + 1 = 0, leaving your answer in surd form.

Example 5: a word problem

A rectangle has length (x + 3) cm and width x cm. Its area is 20 cm². Find x to 2 decimal places.

Example 6: an equation with fractions

Solve 1/x + 1/(x + 2) = 1, to 2 decimal places.

The discriminant: how many solutions?

The expression under the square root, b² − 4ac, is called the discriminant. It tells you how many real solutions there are before you finish the calculation:

If the discriminant is a perfect square, such as 25 or 49, the quadratic would have factorised. That is a useful check. The discriminant is used much more at A level, for example to find when a line is a tangent to a curve.

Where the formula comes from

The quadratic formula is what you get by completing the square on the general equation ax² + bx + c = 0. Divide by a, move c/a across, add (b/2a)² to both sides, and take square roots. You do not need to reproduce the proof at GCSE, but knowing it comes from completing the square helps you see that the two methods always agree.

Common mistakes

Practice questions

Try each one before opening the answer.

Q1. Solve x² + 2x − 5 = 0 to 2 decimal places.

Show answer
x = −1 ± √6: 1.45 or −3.45.

Q2. Solve 2x² + 7x + 2 = 0 to 2 decimal places.

Show answer
Discriminant 33: x = (−7 ± √33)/4, −0.31 or −3.19.

Q3. How many real solutions does x² + 2x + 5 = 0 have?

Show answer
Discriminant 4 − 20 = −16 < 0, so none.

Q4. Solve x² − 6x + 4 = 0 in surd form.

Show answer
x = 3 ± √5.

Q5. Solve 5x² = 3x + 1 to 3 significant figures.

Show answer
5x² − 3x − 1 = 0, discriminant 29: 0.839 or −0.239.

Frequently asked questions

Is the quadratic formula given in the GCSE exam?

For GCSE exams in 2025, 2026 and 2027, a formulae sheet is provided with the Maths papers, covering formulae students previously had to memorise. Check the sheet for your exam year. Learn the formula anyway: recalling it instantly saves time and avoids copying errors.

Is the quadratic formula on the Foundation paper?

No. It is a Higher tier topic. Foundation students solve quadratics by factorising.

Can I use my calculator's equation solver?

Some calculators solve quadratics directly, which is useful for checking. But you must show the formula and substitution to earn method marks, and it will not help on the non-calculator paper.

Key takeaways