Maths calculators
Quadratic Equation Solver
Enter a, b and c for ax² + bx + c = 0 to get the roots, the discriminant and the full working.
x = (−b ± √(b² − 4ac)) ÷ 2a. Discriminant D = b² − 4ac: D > 0 gives two real roots, D = 0 gives one repeated root, D < 0 gives two complex roots.
How to use
- Enter a, b and c from your equation ax² + bx + c = 0 (a cannot be 0).
- Press “Solve” to see the discriminant and the roots.
- Read the working to check each step of the quadratic formula.
Frequently asked questions
- How are the roots worked out?
- With the quadratic formula: x = (−b ± √(b² − 4ac)) ÷ 2a. For example, x² − 5x + 6 = 0 gives x = (5 ± √1) ÷ 2, so x = 2 or x = 3.
- What does the discriminant tell me?
- D = b² − 4ac. If D > 0 there are two different real roots; if D = 0 there is one repeated root; if D < 0 the roots are complex, shown as a ± bi.
- What if a is 0?
- The equation is no longer quadratic — it becomes the linear equation bx + c = 0, with x = −c ÷ b. Enter a non-zero value for a here.
- Is my data stored?
- No. The calculation runs in your browser.