Quadratic Formula Calculator
Solve ax² + bx + c = 0 for its real roots.
Solve any quadratic equation ax² + bx + c = 0 for its real roots.
The math behind it
x = (−b ± √(b² − 4ac)) ÷ 2a. The discriminant b² − 4ac tells you the number of real roots: >0 gives two, =0 gives one, <0 gives none (complex).
Worked example
x² − 3x + 2 = 0 → disc = 1, roots x = 2 and x = 1.
FAQ
What if the discriminant is negative?
There are no real roots — the solutions are complex numbers.