TinyCalc

Quadratic Equation

Solve ax² + bx + c = 0, including complex roots.

Resulttinycalc.net
x = (−b ± √(b² − 4ac)) ÷ 2a

How it works

The quadratic formula solves ax² + bx + c = 0: x = (−b ± √(b² − 4ac)) ÷ 2a. The discriminant b² − 4ac decides everything — positive gives two real roots (x² − 3x + 2 = 0 yields 1 and 2), zero a repeated root, negative a complex conjugate pair, which this calculator prints too.

Related calculators