← All calculators
Education

Quadratic Equation Calculator

Solve ax² + bx + c = 0 and see the discriminant and real or complex roots.

Your inputs

Results

Enter your values and select Calculate to see the result.

Formula and assumptions

D = b² - 4ac. Roots = (-b ± √D) / (2a). Negative D gives complex conjugate roots.

The coefficient a must be nonzero. Calculations use floating-point arithmetic; displayed steps are approximate.

Frequently Asked Questions