Math

Quadratic Equation Solver

Solve any quadratic equation ax² + bx + c = 0 and see the discriminant, both roots and the vertex.

Your numbers

Your results

Discriminant (b² − 4ac)
Discriminant (b² − 4ac)
—
Roots
—
Vertex x
—
Vertex y
—

Quadratic Equation Solver by TheCalcTools

How the Quadratic Equation Solver works

Enter the three coefficients.

The formula

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

Worked example

Using the default values shown in the calculator:

a (x² coefficient)1
b (x coefficient)-3
c (constant)2
  1. Discriminant = (−3)² − 4×1×2 = 1.00.
  2. x = 2.0000 and x = 1.0000.

Result:

Discriminant (b² − 4ac)1.00
Rootsx = 2.0000 and x = 1.0000
Vertex x1.5000
Vertex y-0.2500

Frequently asked questions

What does the discriminant tell me?

Positive: two real roots. Zero: one repeated root. Negative: two complex roots.

Sources and further reading

More in Math · All calculators

This calculator gives estimates for information only. Check important results independently before you rely on them. See our disclaimer.