Quadratic Formula Calculator

Solve equations in standard form ax^2 + bx + c = 0 by checking the discriminant first, then reading the real, repeated, complex, or linear result.

Start with standard form

Write the equation as ax^2 + bx + c = 0 before entering coefficients. The signs belong to a, b, and c, and the discriminant tells you what kind of roots to expect.

Solve a quadratic

  1. Identify a, b, and c.
  2. Check whether a = 0.
  3. Compute the discriminant.
  4. Solve the roots.
  5. Compare the roots with the vertex.

Loading tool...

Discriminant, roots, and vertex

Roots show x-intercepts; the vertex shows the turning point of the parabola.

DiscriminantD=b2-4ac
Quadratic formulax=-b±D2a
Expanded formulax=-b±b2-4ac2a
Vertex x-coordinatexvertex=-b2a
Linear fallbackIfa=0andb0,x=-cb

Discriminant cases

  • D > 0 means two real roots.
  • D = 0 means one repeated real root.
  • D < 0 means a complex conjugate pair.
  • If a = 0, the equation is linear instead of quadratic.

The vertex is extra context: roots show where the parabola crosses the x-axis, while the vertex shows where it turns. A repeated root happens at the vertex.

FAQ

What does the discriminant tell me before I solve?

It tells the root type: positive means two real roots, zero means one repeated real root, and negative means a complex conjugate pair.

What happens if a is 0?

The equation is no longer quadratic because the x^2 term disappears. If b is not 0, solve the remaining linear equation with x = -c / b.