The Quadratic Formula Step by Step

Published 16 November 2026 · Math

Try it nowSolve for X Calculator →

Check solutions with the solve for x calculator.

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

Step by step

  1. Rearrange to ax² + bx + c = 0.
  2. Identify a, b and c.
  3. Work out the discriminant b² − 4ac.
  4. Substitute and simplify.

Example

2x² − 3x − 12 = 0: discriminant = 9 + 96 = 105, so x = (3 ± √105) ÷ 4 = 3.312 or −1.812.

What the discriminant tells you

  • Positive: two real solutions.
  • Zero: one repeated solution.
  • Negative: no real solutions (two complex ones).

Keep reading