Skip to content
toolgrid

No tool found. Try another word.

Quadratic Equation Solver

Solve ax² + bx + c = 0 with the quadratic formula: real and complex roots, the discriminant, the vertex of the parabola and every step.

x² + x + = 0

Check your input: a, b and c must be numbers and a cannot be 0.

Steps

Runs in your browser. What you enter is kept for 30 days to improve Toolgrid, then deleted.

How to use the Quadratic Equation Solver

  1. 1 Write your equation in the form ax² + bx + c = 0.
  2. 2 Enter the coefficients a, b and c (b and c may be 0 or negative).
  3. 3 Read the roots, the discriminant and the vertex, and follow the steps.

About the Quadratic Equation Solver

A quadratic equation has the form ax² + bx + c = 0 with a ≠ 0. The solver uses the quadratic formula x = (−b ± √(b² − 4ac)) / 2a, the method that always works, even when the equation cannot be factored nicely.

The discriminant D = b² − 4ac decides what kind of roots there are. If D is positive there are two different real roots: the parabola crosses the x-axis twice. If D is 0 there is exactly one (double) root: the parabola touches the x-axis. If D is negative there are no real roots, only two complex conjugate roots of the form p ± qi.

Besides the roots you get the vertex of the parabola y = ax² + bx + c at x = −b/2a, the axis of symmetry, the y-intercept (c) and whether the parabola opens upwards (a > 0) or downwards (a < 0). Results are rounded to 12 significant digits.

Frequently asked questions

What is the quadratic formula?

x = (−b ± √(b² − 4ac)) / 2a. The ± gives the two solutions: one with plus and one with minus.

What does a negative discriminant mean?

There are no real solutions: the parabola never reaches the x-axis. The equation does have two complex solutions, which the solver shows as p + qi and p − qi.

My equation is not in the form ax² + bx + c = 0. What now?

Move every term to one side first. For example 2x² = 3x + 5 becomes 2x² − 3x − 5 = 0, so a = 2, b = −3 and c = −5.

Why can a not be 0?

With a = 0 the x² term disappears and the equation is linear (bx + c = 0), with the single solution x = −c/b.

Is this the same as the abc formula?

Yes. The quadratic formula is also called the abc formula, after the coefficients a, b and c.