Quadratic Formula Calculator
1Enter Coefficients
2Your Equation
Breakdown
What Is a Quadratic Formula Calculator?
A quadratic formula calculator solves any equation of the form ax² + bx + c = 0 the moment you type in the three coefficients. The quadratic formula is the universal tool for this job — it works whether the equation factors neatly or not, and it never guesses. The CalcFinity version reports both roots in every case: two distinct real roots, one repeated root, or a pair of complex-conjugate roots written as p ± qi when the parabola never touches the x-axis. Alongside the roots you get the discriminant, the vertex of the parabola, and its axis of symmetry, so one entry gives you everything you’d need to sketch the graph.
How It Works
The formula packs the entire solution into one expression. The ± sign is why a quadratic has two roots: one root uses the plus, the other the minus.
For ax² + bx + c = 0 with a ≠ 0:
x = (−b ± √(b² − 4ac)) / (2a)What the discriminant tells you
The quantity under the square root, Δ = b² − 4ac, is called the discriminant, and its sign is a complete preview of the answer before you finish the arithmetic. If Δ > 0, the square root is a positive real number and the ± produces two different real roots — the parabola crosses the x-axis twice. If Δ = 0, the square root vanishes, both signs give the same value, and there is exactly one repeated root — the parabola just touches the axis at its vertex. If Δ < 0, no real number squares to a negative, so the roots are complex conjugates p ± qi — the parabola floats entirely above or below the axis. A bonus check: when Δ is a perfect square (and a, b, c are integers), the quadratic factors over the integers.
Vertex and axis of symmetry
The turning point of the parabola:
axis: x = −b / (2a) · vertex: (−b/2a, c − b²/4a)Worked Example: x² − 3x + 2 = 0
Take the default coefficients a = 1, b = −3, c = 2. The discriminant is (−3)² − 4(1)(2) = 9 − 8 = 1 — positive, so two real roots are coming. The formula gives x = (3 ± √1)/2 = (3 ± 1)/2, so x = 2 and x = 1. The axis of symmetry sits halfway between the roots at x = 3/2 = 1.5, and the vertex is (1.5, −0.25) — the parabola’s lowest point, just below the axis between the two crossings.
Now flip to a complex case: x² + 2x + 5 = 0. The discriminant is 4 − 20 = −16. The real part of each root is −2/2 = −1 and the imaginary part is √16/2 = 2, so the roots are x = −1 ± 2i. No real x satisfies the equation, but the two complex roots still multiply back to the original quadratic.
When to Use the Formula (and When Not To)
Factoring is faster when the roots are small integers, and completing the square is worth knowing because it’s where the quadratic formula comes from. But the formula is the reliable workhorse: it handles ugly decimals, irrational roots like (1 + √5)/2, and complex roots without any change in method. A good habit is to compute the discriminant first — three seconds of arithmetic tells you what kind of answer to expect and whether factoring is even possible. If you only need the parabola’s peak (maximum height, minimum cost), skip the roots entirely and go straight to the vertex formulas.
Common Mistakes to Avoid
Sign errors dominate. With b = −3, the formula’s −b becomes +3, and b² is +9 — squaring wipes out the negative. Writing −3² = −9 inside the discriminant is probably the single most common wrong turn. Next is dividing only part of the numerator by 2a: the entire quantity −b ± √Δ gets divided, not just the square root. Parentheses in your work prevent both.
Also make sure the equation is truly in standard form before reading off a, b, and c. For 3x² = 6x − 2, you must first move everything to one side: 3x² − 6x + 2 = 0, so b is −6, not 6. And if a turns out to be 0, stop — the equation is linear, the formula divides by zero, and the single solution is just x = −c/b, which the calculator points out rather than failing silently.
Frequently Asked Questions
What exactly does the discriminant tell me?
Its sign predicts the root type before you solve: positive means two distinct real roots, zero means one repeated real root, and negative means two complex-conjugate roots. Its size also hints at spacing — the two real roots are exactly √Δ/|a| apart.
Why does a = 0 break the formula?
The formula divides by 2a, and with a = 0 that’s division by zero. More fundamentally, without an x² term the equation isn’t a quadratic at all — it’s the linear equation bx + c = 0, solved directly by x = −c/b (when b ≠ 0).
What does a root like p ± qi mean?
It means no real number solves the equation, but two complex numbers do: p + qi and p − qi, where i = √(−1). Complex roots of real quadratics always arrive in conjugate pairs — same real part, opposite imaginary parts — and graphically the parabola never crosses the x-axis.
How do the roots relate to the vertex?
By symmetry, the vertex sits exactly halfway between the two real roots, at x = −b/(2a). When the discriminant is zero the roots merge, and that shared root is the vertex’s x-coordinate, with the vertex resting right on the x-axis.
