Quadratic Equation Solver: ax² + bx + c = 0

Solve any quadratic equation: real or complex roots, discriminant, vertex, axis of symmetry and intercepts, with the quadratic formula explained.

Loading the calculator…

The quadratic formula

x = (−b ± √(b² − 4ac)) ÷ 2a

Enter the coefficients a, b and c of your equation in standard form. If your equation is written differently, move everything to one side first: 2x² = 3x + 5 becomes 2x² − 3x − 5 = 0, so a = 2, b = −3, c = −5.

What the discriminant tells you

b² − 4ac Roots The parabola…
Positive Two different real roots crosses the x-axis twice
Zero One double root touches the x-axis at its vertex
Negative Two complex roots never touches the x-axis

Example: x² − 3x − 10 = 0

  1. a = 1, b = −3, c = −10.
  2. Discriminant: (−3)² − 4 × 1 × (−10) = 9 + 40 = 49.
  3. √49 = 7, so x = (3 ± 7) ÷ 2.
  4. Roots: x = 5 and x = −2. Check: 5² − 15 − 10 = 0.

The vertex is at x = −b ÷ 2a = 1.5, where y = −12.25: the lowest point of this upward-opening parabola.

Need the slope of a straight line instead? Use the slope calculator.

FAQ

What happens if a = 0?

The x² term disappears and the equation becomes linear (bx + c = 0), with a single solution x = −c ÷ b. The solver handles that case too.

What does “i” mean in complex roots?

i is the imaginary unit, with i² = −1. Complex roots come in pairs like 1.5 ± 2i.

Can I solve by factoring instead?

When the roots are whole numbers, factoring is quicker: x² − 3x − 10 = (x − 5)(x + 2). The formula always works, even when factoring doesn’t.

Last reviewed November 30, 2026. Results are estimates for general information.