Quick guide
How to use the Quadratic Formula Calculator
- Enter or choose a, b, c.
- Select Solve quadratic.
- Review the main result, supporting breakdown, and step-by-step calculation notes.
- Copy the output or download the generated file when available.
What this tool does
Solve any quadratic equation ax² + bx + c = 0 with complete discriminant analysis, exact real or complex conjugate roots, vertex coordinates, axis of symmetry, and a live responsive SVG graph of the parabola.
Calculation method
- Verify coefficient a is nonzero (otherwise the equation is linear, not quadratic).
- Compute the discriminant Δ = b² − 4ac to classify the roots as two real roots, one double root, or two complex conjugates.
- Solve for the roots, calculate the vertex (h, k) where h = −b / (2a) and k = ah² + bh + c, and plot the parabola centered around its axis of symmetry.
Example: solving x² − 5x + 6 = 0
Input: a = 1; b = -5; c = 6
Result: x₁ = 3, x₂ = 2 · Δ = 1 · Vertex (2.5, −0.25)
The discriminant is (−5)² − 4(1)(6) = 25 − 24 = 1 > 0, giving two real roots: (5 + 1)/2 = 3 and (5 − 1)/2 = 2. Because a > 0, the parabola opens upward with minimum at (2.5, −0.25).
Interpreting the discriminant (Δ = b² − 4ac)
| Discriminant | Root Type | Graph Behavior |
|---|---|---|
| Δ > 0 | Two distinct real roots | Parabola crosses the x-axis at two points |
| Δ = 0 | One repeated (double) real root | Vertex touches the x-axis at exactly one point |
| Δ < 0 | Two complex conjugate roots (p ± qi) | Parabola never crosses the x-axis |
Practical uses
- Algebra I & II homework verification
- Projectile motion height and landing times
- Finding maximum profit or area vertices
- Checking complex roots in engineering equations
Accuracy tips and common mistakes
- Rearrange your equation into standard form ax² + bx + c = 0 before entering a, b, and c (watch signs when moving terms across the equals sign).
- If a = 0, the equation reduces to bx + c = 0, which has linear solution x = −c/b.
- Negative discriminants are fully supported and displayed in complex form a ± bi.