Quadratic Equation Calculator

Solve any quadratic equation of the form ax² + bx + c = 0 using the quadratic formula. Shows real and complex roots.

Enter coefficients for ax² + bx + c = 0

Quadratic Formula

x = (−b ± √(b² − 4ac)) / 2a
x² − 5x + 6 = 0 (a=1, b=−5, c=6)
Discriminant = 25 − 24 = 1
x = (5 ± 1) / 2 → x = 3 or x = 2

Discriminant

Discriminant (Δ)Nature of Roots
Δ > 0Two distinct real roots
Δ = 0One repeated real root
Δ < 0Two complex roots

Last updated: 2026-08-08