Quadratic Formula calculator

Find real or complex roots and the discriminant of a quadratic equation.

Two real roots
2 and 3

Set the polynomial equal to zero at these x values.

Breakdown & share
Discriminant
1
Vertex x-coordinate
2.5
Estimates only.

Your inputs

Example values. Change any of them.

How it’s worked out

See how we got 2 and 3

For ax² + bx + c = 0, x = (−b ± √(b² − 4ac)) ÷ (2a). The discriminant b² − 4ac determines the root type.

  1. Compute the discriminant 1.
  2. Apply the quadratic formula to obtain 2 and 3.

About this calculator

Use coefficients from an equation already set equal to zero.

Worked example

Two real roots · 2 and 3

For ax² + bx + c = 0, x = (−b ± √(b² − 4ac)) ÷ (2a). The discriminant b² − 4ac determines the root type.

  1. Compute the discriminant 1.
  2. Apply the quadratic formula to obtain 2 and 3.

Formula sources

Reference checked November 22, 2026.