Quadratic Formula Calculator

Solve ax² + bx + c = 0, find the discriminant, and calculate roots.

Formula & Methodology

For ax² + bx + c = 0, the roots are x = (−b ± sqrt(b² − 4ac)) / 2a; the discriminant is b² − 4ac.

Worked Example

For x² − 5x + 6 = 0, the roots are x = 2 and x = 3.

Frequently Asked Questions

What does the discriminant tell me?

A positive discriminant means two real roots, zero means one repeated root, and a negative value means two complex roots.

Can it handle complex roots?

Yes. When the discriminant is negative, the calculator reports complex roots.

What if a is zero?

If a is zero the equation is not quadratic; it becomes linear and should be solved differently.

Browse all Math Calculators

Related Calculators