Quadratic Formula Calculator: Roots With Steps
Use this quadratic formula calculator to solve any equation in the form ax² + bx + c = 0. Enter a, b and c to get both roots, real or complex, the discriminant, the vertex and step-by-step work. A graph shows the parabola.
Quadratic Formula Calculator
Solve ax^2 + bx + c = 0
-
-
-
-
This quadratic formula calculator solves any equation of the form ax² + bx + c = 0. It gives the discriminant, both roots (including complex roots), the vertex of the parabola and a graph, so you can see where the curve crosses the x-axis.
How to use the Quadratic Formula Calculator
- Rewrite your equation as ax² + bx + c = 0 if needed, so everything is on one side.
- Enter the coefficients a, b and c. Include negative signs, and use 0 for a missing term. a cannot be 0.
- Press Solve Quadratic.
- Read the Discriminant, Root x1, Root x2 and Vertex / Nature. The graph plots y = ax² + bx + c around the vertex.
Formula
Discriminant: Δ = b² − 4ac
Vertex: x = −b ÷ 2a, y = ax² + bx + c at that x
If Δ > 0 there are two real roots, if Δ = 0 there is one repeated root, and if Δ < 0 there are two complex roots of the form p ± qi.
Example
Solve 2x² + 4x − 6 = 0. Δ = 4² − 4(2)(−6) = 16 + 48 = 64. Then x = (−4 ± 8) ÷ 4, so x₁ = 1 and x₂ = −3. The vertex is at x = −4 ÷ 4 = −1, where y = 2 − 4 − 6 = −8, so it is (−1, −8).
Frequently asked questions
What does the discriminant tell you?
Its sign tells you what kind of roots to expect before you solve. Positive: two different real roots. Zero: one repeated real root. Negative: no real roots, only a pair of complex roots.
What if my equation has no x term or no constant?
Enter 0 for the missing coefficient. For x² − 9 = 0, use a = 1, b = 0 and c = −9, which gives x = 3 and x = −3.
How are complex roots shown?
As p + qi and p − qi, where i = √−1. For x² + 2x + 5 = 0, Δ = −16, so the roots are −1 + 2i and −1 − 2i.
Why can't a be zero?
If a = 0, the x² term disappears and the equation becomes linear (bx + c = 0), which has at most one solution, x = −c ÷ b. The quadratic formula would also divide by zero.
Solve a quadratic
How to use it
- Enter a.
- Enter b and c.
- Read the roots.
- Check the steps and graph.
More questions
What does the discriminant tell me?
Positive means two real roots, zero means one, negative means complex roots.
Can a be zero?
No. If a is zero, it is a linear equation, not a quadratic.
Does it show the vertex?
Yes. It shows the vertex, which is the top or bottom point of the parabola.
Related tools: System of Equations Solver, Root Calculator, Slope Calculator.