Reviewed by CalcMulti Editorial Team·Last updated: ·← Algebra Hub
The quadratic formula solves any equation of the form ax² + bx + c = 0 in one step: x = (−b ± √(b²−4ac)) / 2a. Enter your three coefficients below and instantly get both roots, the discriminant, vertex coordinates, and axis of symmetry — with every step shown.
The discriminant (b²−4ac) tells you the nature of the roots before you solve: positive → two distinct real roots; zero → one repeated real root; negative → two complex conjugate roots (no real solutions).
x = (−b ± √(b² − 4ac)) / 2a
Enter the three coefficients of your quadratic equation.
Coefficient of x²
Coefficient of x
Constant term
Quick examples:
| Discriminant D | Root Type | Graph | Example |
|---|---|---|---|
| D > 0 (e.g. D = 9) | Two distinct real roots | Crosses x-axis twice | x²−5x+6: D=1 → x=2, x=3 |
| D = 0 | One repeated real root | Touches x-axis at vertex | 2x²−4x+2: D=0 → x=1 |
| D < 0 (e.g. D = −4) | Two complex conjugate roots | Does not touch x-axis | x²+2x+5: D=−16 → x=−1±2i |
| D is perfect square | Two rational roots | Crosses x-axis at rational pts | x²−7x+12: D=1 → x=3, x=4 |
| Equation | D | Roots | Vertex |
|---|---|---|---|
| x² − 5x + 6 = 0 | 1 | x = 3, x = 2 | (2.5, −0.25) |
| x² − 4x + 4 = 0 | 0 | x = 2 (repeated) | (2, 0) |
| x² + x + 1 = 0 | −3 | x = −0.5 ± 0.866i | (−0.5, 0.75) |
| 2x² − 3x − 2 = 0 | 25 | x = 2, x = −0.5 | (0.75, −3.125) |
| x² − 2x − 15 = 0 | 64 | x = 5, x = −3 | (1, −16) |
| 3x² + 6x + 3 = 0 | 0 | x = −1 (repeated) | (−1, 0) |
Find b²−4ac and interpret roots
Completing the Square CalculatorConvert to vertex form a(x−h)²+k
Factoring CalculatorFactor trinomials and polynomials
Polynomial CalculatorAdd, subtract, multiply polynomials
Quadratic Equation SolverExtended solver with Vieta's formulas
Algebra HubAll algebra calculators and guides
This calculator is for educational purposes only and does not constitute professional advice. Results are based on standard mathematical formulas. Always verify critical calculations with a qualified professional before making important decisions.