General

📊 Quadratic Equation Calculator

Solve ax²+bx+c=0 using the discriminant and quadratic formula.

What is a Quadratic Equation Calculator?

This calculator solves ax² + bx + c = 0 and shows the discriminant.

How it's calculated

Quadratic formula: x = (−b ± √(b²−4ac)) ÷ 2a
Discriminant D = b² − 4ac

Step-by-step example

Solving x² − 5x + 6 = 0

Interpretation: Checking (x−2)(x−3)=x²−5x+6 confirms this matches the original equation.

The discriminant tells you everything at a glance

Without solving for the roots directly, the discriminant alone tells you how many solutions exist and what type. D > 0 means two distinct real roots, D = 0 means one repeated root, and D < 0 means no real roots (two complex roots instead). When the value under the square root is negative, there's no real-number answer — this is exactly where imaginary numbers (i) enter the picture.

Good to know

Frequently asked questions

Q. Does a negative discriminant mean there's no answer?

No real solutions exist, but two complex (imaginary) solutions do.

Q. Is there a way to solve without the quadratic formula?

If the expression factors easily, factoring is much faster. The formula is the fallback when it doesn't.

Q. What happens if a = 0?

The equation loses its quadratic term and becomes linear. A true quadratic equation requires a ≠ 0.