Quadratic Formula Calculator
Solve ax² + bx + c = 0 — discriminant, exact roots, vertex, factored form, steps and graph.
You can write x^2, x² or x2. Terms can sit on both sides of the equals sign, and a missing number in front of x means 1.
Solve the equation, then check your roots or reveal the answer. Every question factors with whole-number roots.
Key facts
Step-by-step — quadratic formula
Step-by-step — completing the square
Parabola graph
Orange dots mark the roots where the curve crosses the x-axis; the navy dot is the vertex.
Method: x = (−b ± √D) ÷ (2a) with D = b² − 4ac. Exact roots are shown as simplified fractions or radicals when the coefficients are whole numbers.
How to use the Quadratic Formula Calculator
- Enter the coefficients a, b and c from ax² + bx + c = 0, or switch to Type Equation and write the equation as it appears in your book.
- Read the discriminant and root type, then the exact roots, decimal roots and vertex.
- Open the step-by-step sections to see the formula method and completing the square, and check the parabola graph.
Quadratic Formula Calculator FAQs
What does the discriminant tell me?
The discriminant D = b² − 4ac decides what kind of roots the equation has. If D is positive there are two different real roots. If D is zero there is one repeated real root, and the parabola just touches the x-axis. If D is negative there are no real roots — the two roots are complex numbers with an imaginary part, and the parabola never crosses the x-axis.
How do I solve 2x² − 4x − 6 = 0?
Here a = 2, b = −4 and c = −6. The discriminant is (−4)² − 4×2×(−6) = 16 + 48 = 64, so √D = 8. The roots are (4 + 8) ÷ 4 = 3 and (4 − 8) ÷ 4 = −1. The vertex is at (1, −8) and the factored form is 2(x − 3)(x + 1). Type it into this calculator to see every step.
What are complex roots?
When the discriminant is negative, the square root in the formula is of a negative number, which gives imaginary parts written with i. For x² + 4x + 13 = 0, D = −36, so the roots are −2 + 3i and −2 − 3i. Complex roots always come in conjugate pairs like this, and the graph shows why: the parabola stays entirely above or below the x-axis.
How do I find the vertex of a parabola?
The vertex x-coordinate is h = −b ÷ (2a), which is also the axis of symmetry. Put h back into the equation to get k, the y-coordinate. For 2x² − 4x − 6, h = 4 ÷ 4 = 1 and k = 2 − 4 − 6 = −8, so the vertex is (1, −8) — the lowest point, because a is positive.
When can a quadratic be factored with whole numbers?
A quadratic factors neatly when the discriminant is a perfect square, which makes both roots rational numbers. For example x² − 5x + 6 has D = 1, roots 2 and 3, and factors as (x − 2)(x − 3). If D is not a perfect square, like x² − 2x − 2 with roots 1 ± √3, the quadratic formula still gives exact roots in radical form.
Free Quadratic Formula Calculator — Roots, Vertex and Steps
This free quadratic formula calculator solves any equation of the form ax² + bx + c = 0. Enter the coefficients or type the equation exactly as written, and it shows the discriminant, exact roots in fraction or radical form, decimal roots, complex roots when they occur, the vertex, the factored form, full step-by-step working and a graph of the parabola.
How to use it, step by step
- Enter a, b and c, or type the equation in the Type Equation tab.
- Read the discriminant, root type, exact roots and vertex.
- Check the formula steps, completing-the-square steps and the graph.
Popular uses
- Homework: check quadratic answers and see the working, not just the roots.
- Exam revision: practise with the random practice questions and reveal answers.
- Graphing: find where a parabola crosses the axes and where its vertex sits.
- Physics and engineering: solve projectile and area problems that reduce to quadratics.
