About this tool
Solve ax² + bx + c = 0 — real or complex roots, discriminant and vertex.
This Quadratic Equation Solver takes the coefficients a, b and c of ax² + bx + c = 0 and returns the roots from the quadratic formula x = (-b ± √(b² - 4ac)) / 2a, along with the discriminant, the nature of the roots, and the vertex at (-b/2a, f(-b/2a)). Students and anyone checking algebra homework get real roots to three decimals when the discriminant is positive, a double root when it is exactly zero, and a ± bi complex pair when it is negative. Enter a = 0 and it tells you the equation is not quadratic rather than dividing by zero.
Open Quadratic Equation Solver on AltFTool — it loads instantly in your browser.
Enter the coefficients into the three input fields labelled a, b and c to define your quadratic equation; they start at 1, -3 and 2, and setting a to 0 replaces the result with the message a can't be zero (not quadratic)
There is no Solve button — the Result panel recalculates as you type, printing x₁ and x₂ for a positive discriminant, a single x marked (double root) when it is zero, or the x = h ± ki form when it is negative
Review the cards under the result — Discriminant, Nature (two real roots, one real root or two complex roots) and Vertex as an (x, y) pair — then use Copy or Download to save the whole solution as quadratic-equation-solver.txt
When b² - 4ac is negative the answer is returned as -b/2a ± (√|D|)/2a i, instead of stopping at "no real solution".
Each run reports b² - 4ac, whether that means two real, one real or two complex roots, and the turning point of the parabola.
If a is zero the equation is linear, and the solver says so instead of returning infinity or NaN from the 2a denominator.
x = (-b ± √(b² - 4ac)) / 2a, applied directly to the a, b and c you enter. Real roots are shown to three decimal places and complex roots to two.
The discriminant is b² - 4ac and its sign decides the root type: positive gives two distinct real roots, exactly zero gives one repeated real root at -b/2a, and negative gives a conjugate pair of complex roots. The solver prints the value and labels which case you are in.
The vertex x-coordinate is -b/2a and the y-coordinate is that value substituted back into ax² + bx + c. The tool computes both and shows them as a coordinate pair rounded to two decimals.
Because you entered a = 0, which removes the x² term and leaves the linear equation bx + c = 0. The quadratic formula divides by 2a, so it is undefined there; solve it as x = -c/b instead.
Add the Quadratic Equation Solver widget to your blog or website — free, responsive, no signup. Just keep the “Widget by AltFTool” credit link visible.
<iframe src="https://www.altftool.com/embed/widget/quadratic-equation-solver"
title="Quadratic Equation Solver — free AltFTool widget"
width="100%" height="640" style="border:0;border-radius:12px;overflow:hidden"
loading="lazy" referrerpolicy="no-referrer-when-downgrade" allow="clipboard-write"></iframe>
<p style="font-size:12px;margin:4px 0 0">Widget by <a href="https://www.altftool.com/tools/all/quadratic-equation-solver?utm_source=embed&utm_medium=widget" rel="nofollow">AltFTool — free online tools</a></p>