Quadratic Formula Calculator

Solve a quadratic equation ax² + bx + c = 0 for its roots. Enter the three coefficients.

Roots
Solutions for x.

Usage Tip

If the discriminant is a perfect square, the roots are rational and the quadratic factors neatly.

THE MATH
x = (−b ± √(b² − 4ac)) ÷ 2a
The discriminant b² − 4ac sets the number of real roots
The quadratic formula solves any quadratic equation.
The discriminant tells the story: positive gives two real roots, zero gives one, negative gives a complex pair.
Coefficient a cannot be zero (that would be a linear equation).
Complex roots are shown in a ± bi form.
The vertex x-coordinate is −b ÷ 2a.
Scroll to Top

The calculators and tools on Formula Factory are provided for general guidance and informational purposes only. Results are estimates based on standard formulas and the values you enter — they do not constitute professional engineering, electrical, or architectural advice. Always verify calculations with a qualified professional before making decisions for any safety-critical, code-compliance, or commercial application. Formula Factory makes no representations or warranties as to the accuracy or completeness of any result, and accepts no liability for errors, omissions, or any outcomes arising from reliance on this information.