Quadratic formula calculator

Updated 30 November 2026 · ClearCost USA · 4 min read

The quadratic formula is x = (−b ± √(b² − 4ac)) / 2a. For x² − 3x + 2 = 0 it gives x = 2 and x = 1.
Advertisement

How do you use the quadratic formula?

Write the equation as ax² + bx + c = 0, plug a, b and c into x = (−b ± √(b² − 4ac)) / 2a, and work out the plus and minus versions. The discriminant b² − 4ac tells you how many real roots there are.

How do you solve 2x² + 4x − 6 = 0?

Here a = 2, b = 4, c = −6, so the discriminant is 16 + 48 = 64. Then x = (−4 ± 8) / 4, which gives x = 1 and x = -3. The vertex is at x = -1, y = -8.

Advertisement

What does the discriminant tell you?

The table below gives ready answers for common values; the calculator above works for any value.

Discriminant and roots

EquationDiscriminantRoots
1x² − 5x + 61x = 3 and x = 2
1x² + 2x + 10x = -1 (double root)
1x² + 0x − 936x = 3 and x = -3
1x² + 2x + 5-16x = -1 ± 2i
2x² − 7x + 325x = 3 and x = 0.5
1x² − 2x − 18x = 2.4142 and x = -0.4142

Positive: 2 real roots; zero: 1 repeated root; negative: 2 complex roots.

How does this calculator work?

It uses x = (−b ± √(b² − 4ac)) / 2a and the vertex (−b/2a, c − b²/4a). Results update as you type and are rounded for display; the maths runs in your browser and nothing is stored.

For more, see the math, statistics and date calculators page, slope calculator (two points), exponent (power) calculator, square root and cube root calculator and scientific notation converter.

Advertisement

Related searches

People who use this page also search for the terms below; the calculator, tables and answers above cover each of them.

  • quadratic formula calculator
  • axis of symmetry formula
  • standard form of a quadratic equation
  • unit 3 homework 5 vertex form of a quadratic equation
  • homework 5 vertex form of a quadratic equation
  • contact lens vertex calculator
  • vertex form calculator
  • vertex calculator contacts
  • quadratic formula factoring
  • pens and corrals in vertex form

Sources and further reading

Questions people ask

What is the quadratic formula?
x = (−b ± √(b² − 4ac)) / 2a.
What if the discriminant is negative?
The roots are complex numbers with an imaginary part.
Can a be zero?
No, then the equation is linear, not quadratic.
How do you find the vertex of a parabola?
x = −b/2a, then put that x into the equation for y.
Is factoring faster?
When the roots are whole numbers, factoring is often quicker; the formula always works.
What is the axis of symmetry?
The vertical line x = −b/2a.

Results are estimates for information only, not financial advice. Read the full disclaimer.

More free calculators

Advertisement