Quadratic Equation Calculator

Solve quadratic equations of the form ax² + bx + c = 0 and find their roots.

Solving a quadratic equation by hand means computing the discriminant and applying the quadratic formula carefully. Lilu Baba's Quadratic Equation Calculator does it instantly — enter the three coefficients and see both roots update live, including complex roots when the discriminant is negative.

How to use this calculator

  1. Enter the coefficients a, b and c from ax² + bx + c = 0.
  2. Roots update instantly as you type.
  3. If the discriminant is negative, complex roots are shown instead.
Root 1 (x₁) —
Root 2 (x₂) —

Quadratic Equation Calculator — frequently asked questions

x = (−b ± √(b² − 4ac)) / 2a, applied to an equation of the form ax² + bx + c = 0.

The equation has no real roots — this calculator shows the two complex roots instead.