Skip to content
2x2xKit

Quadratic Formula Calculator

Solve ax² + bx + c = 0 for real or complex roots.

How this is calculated
x = (−b ± √(b² − 4ac)) ÷ 2a

Assumptions used in this calculation

  • Complex roots: When the discriminant is negative, roots are reported in a + bi complex form rather than being treated as no solution.

About this calculator

The quadratic formula calculator solves ax² + bx + c = 0, returning two real roots, one repeated root, or complex roots depending on the discriminant.

Worked example

x² − 5x + 6 = 0

Result: x₁ = 3, x₂ = 2

Was this helpful?

Frequently asked questions