Quadratic formula calculator

Roots, discriminant, vertex and vertex form of ax² + bx + c. Free, no sign-up.

ax² + bx + c = 0
Drag to pan, scroll to zoomOpen in graphing calculator
Quick answer

Enter a, b and c for ax² + bx + c = 0. The calculator computes the discriminant b² − 4ac and the roots x = (−b ± √(b² − 4ac))/(2a), including complex roots, plus the vertex, axis of symmetry, direction of opening, y-intercept and vertex form, and graphs the parabola.

How to use the quadratic formula calculator

  1. Write your equation in the form ax² + bx + c = 0.
  2. Enter a, b and c. Include negative signs.
  3. Read the discriminant first: it tells you whether to expect two, one or no real roots.
  4. Use the vertex and the graph to check that the roots are where the parabola meets the x-axis.

Example

x² − 2x − 3 = 0: the discriminant is 4 + 12 = 16, so x = (2 ± 4)/2, giving x = −1 or x = 3. The vertex is (1, −4). See the quadratic equation guide.

Frequently asked questions

What is the quadratic formula?

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

What does a negative discriminant mean?

There are no real solutions; the two solutions are complex conjugates and the parabola does not cross the x-axis.