Quadratic Formula Calculator (with Discriminant)

Solve ax² + bx + c = 0 with the quadratic formula — real or complex roots, the discriminant and what it tells you, the…

Results

Enter your details and click Calculate to see your results.
About This Calculator

Put the equation in the form ax² + bx + c = 0 first. x = (−b ± √(b² − 4ac)) / 2a. If the discriminant is positive there are two real roots, zero gives one repeated root, negative gives two complex conjugate roots.

Example

Example: x² − 3x + 2 = 0 has discriminant 1, so two real roots: x = 2 and x = 1.

Assumptions

Exact formula, evaluated in double precision.

Frequently Asked Questions

What is the discriminant?

D = b² − 4ac. It tells you how many real roots a quadratic has without solving it.

Can a be 0?

No — then it's a linear equation, bx + c = 0.

Related Calculators

About the Author

Imran Hossain
Imran Hossain

Professional SEO, Digital Marketer Specialist

I am a Certified Google Ads Expert And Professional SEO, Digital Marketing Specialist

View full profile