Quadratic Equation Solver

Enter the three coefficients a, b and c of a quadratic equation. You get both roots, the discriminant that decides what kind they are, and the vertex of the parabola.

Use the tool

Loading the tool…

About Quadratic Equation Solver

Solve an equation of the form ax² + bx + c = 0. Enter the values of a, b and c, and the tool gives the solutions.

Worked example

Enter a = 1, b = -3 and c = 2. The tool gives the solutions x = 1 and x = 2.

Limits

If a is 0, the equation is not quadratic and the tool cannot solve it in this form. Check your working for important calculations.

How to use Quadratic Equation Solver

  1. Enter a, b and c. The value a cannot be 0.
  2. Select Solve.
  3. Read the roots, the discriminant and the vertex.

Good to know

  • The discriminant b² − 4ac is worked out exactly. If it is a perfect square the roots are shown as exact fractions.
  • Otherwise the roots are rounded to 6 decimal places.
  • A negative discriminant gives two complex roots, written with i where i² = −1.
  • Coefficients can have up to 4 decimal places.

Frequently asked questions

What does the discriminant tell me?

If it is positive there are two real roots, if zero one repeated root, and if negative two complex roots.

What is the vertex?

It is the turning point of the parabola, the lowest point when a is positive and the highest when a is negative.

Is anything I type saved or sent?

No. The work happens in your browser on this page, and nothing is stored or sent to us.