Skip to content
CalculatorsFinder
Math Calculators

Quadratic Formula Calculator

Solve ax² + bx + c = 0 with real or complex roots, the discriminant and the parabola's vertex.

  • Instant results
  • Step-by-step
  • Private: runs in your browser

Enter your numbers

Result

Roots

x1 = 2, x2 = 1

Two real roots

Discriminant (b² − 4ac)
1
Vertex
(1.5, -0.25)
Opens
Upward
Step-by-step calculation
  1. Δ = b² − 4ac = 9 − 4 × 1 × 2 = 1
  2. x = (−b ± √Δ) ÷ 2a
  3. x = 2
  4. x = 1

About the Quadratic Formula Calculator

A quadratic equation has the form ax² + bx + c = 0 with a ≠ 0. Its solutions (roots) are where the parabola y = ax² + bx + c crosses the x-axis.

Enter the three coefficients to see the roots, whether they are real or complex, the discriminant and the vertex of the parabola.

Formula and how it works

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

Discriminant Δ = b² − 4ac

Vertex: x = −b ÷ 2a

If Δ > 0 there are two real roots, if Δ = 0 one repeated root, and if Δ < 0 two complex conjugate roots of the form p ± qi.

Worked example

Solve x² − 3x + 2 = 0

Δ = 9 − 8 = 1, so √Δ = 1. x = (3 ± 1) ÷ 2 gives x = 2 and x = 1. The vertex is at (1.5, −0.25).

Tip: press “Try example” in the calculator above to load these numbers.

Understanding your result

Real roots are the x-intercepts of the parabola; complex roots mean the parabola never touches the x-axis.

The vertex is the minimum point when a > 0 and the maximum when a < 0.

Common mistakes to avoid

  • Forgetting the sign: with b = −3, −b is +3.
  • Using a = 0, which is a linear equation.
  • Dividing by a instead of 2a.

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 roots are complex numbers.

Can a be negative?

Yes. The parabola then opens downward.