Skip to main content

Quadratic Equation Calculator

Solve ax² + bx + c = 0 — real and complex roots, discriminant and vertex.

The formula behind it

x = (−b ± √(b² − 4ac)) / 2a
Δ = b² − 4ac
discriminant — its sign decides how many real roots exist
±
one root with +, one with −

Completing the square on ax² + bx + c = 0 produces the quadratic formula. The discriminant Δ reports the nature of the roots before you compute them: Δ > 0 two real roots, Δ = 0 one repeated root, Δ < 0 a complex pair.

How to use this calculator

  1. 1

    Write the equation in the form ax² + bx + c = 0.

  2. 2

    Enter a, b and c (a must be non-zero).

  3. 3

    Press Calculate — roots, the vertex and the discriminant appear together.

Worked examples

Projectile time

−4.9t² + 20t + 1.5 = 0 → Δ = 429.4 > 0 → t ≈ 4.21 s to land.

Perfect square

x² − 6x + 9 = 0 → Δ = 0 → the double root x = 3.

No crossing

x² + x + 1 = 0 → Δ = −3 → complex roots only.

Frequently asked questions

Explore more categories

Command Palette

Search for a command to run...