↑

Free Quadratic Formula Calculator

What this tool does

The Quadratic Formula Calculator solves any quadratic equation of the form a x squared plus b x plus c equals zero. Enter the three coefficients and it shows the roots, the discriminant and the vertex of the parabola. It handles two real roots, one repeated root and complex roots, and falls back to a linear solution when a is zero. Free, private and instant in your browser, with no signup, for students and teachers.




Roots
Discriminant (b squared - 4ac)
Vertex
x=(-b plus or minus square root of (b squared - 4ac)) / (2a)

Let us know

Please share your experience with this tool.

Thanks for rating!
No ratings yet — be the first!

How do I solve a quadratic equation?

Write the equation in the standard form a x squared plus b x plus c equals zero, then enter the three coefficients a, b and c. The calculator applies the quadratic formula and shows the roots, the discriminant and the vertex instantly. For example, x squared minus 5x plus 6 equals zero (a=1, b=-5, c=6) has discriminant 1 and roots x=3 and x=2, with the vertex of the parabola at (2.5, -0.25). Results update as you type, so you can check homework answers, explore how changing one coefficient moves the roots, and copy the result for your notes. If a is zero the equation is linear, and the calculator solves that case too instead of failing.

What is the quadratic formula?

The quadratic formula finds the values of x that make a x squared plus b x plus c equal zero: x equals minus b, plus or minus the square root of (b squared minus 4ac), all divided by 2a. The plus-or-minus is why a quadratic usually has two solutions. The formula works for every quadratic, including ones that cannot be factorised neatly, which is why it is taught in every algebra course. It comes from completing the square on the general equation, and the part under the square root, b squared minus 4ac, is called the discriminant because it discriminates between the kinds of roots the equation has. This calculator shows the discriminant alongside the roots so you can see which case you are in before looking at the answers.

What does the discriminant tell me?

The discriminant D=b squared minus 4ac decides how many real roots exist. If D is positive, there are two different real roots and the parabola crosses the x-axis twice. If D is zero, there is one repeated real root and the parabola just touches the x-axis at its vertex; for example x squared plus 2x plus 1 has D=0 and the single root x=-1. If D is negative, there are no real roots and the parabola never reaches the x-axis; the roots are a pair of complex conjugates instead. For x squared plus 2x plus 5, D=-16 and the roots are x=-1 + 2i and x=-1 - 2i, where i is the imaginary unit. Checking the discriminant first is the fastest way to know what kind of answer to expect.

What is the vertex of a parabola?

The vertex is the highest or lowest point of the parabola y=a x squared plus b x plus c. Its x-coordinate is minus b divided by 2a, and its y-coordinate is found by substituting that x back into the equation. If a is positive the parabola opens upwards and the vertex is a minimum; if a is negative it opens downwards and the vertex is a maximum. For x squared minus 5x plus 6 the vertex is (2.5, -0.25): the lowest point of the curve sits halfway between the roots 2 and 3, slightly below the x-axis. The vertex matters in optimisation problems (maximum area, maximum profit, the peak of a projectile) and in graphing, where it anchors the whole curve. This calculator reports it for every quadratic, including complex-root cases where the vertex sits above or below the axis without touching it.

Quadratic formula, factoring or completing the square: which should I use?

Factoring is fastest when the roots are simple whole numbers, because you can often spot them by inspection: x squared minus 5x plus 6 factors as (x - 2)(x - 3). Completing the square is useful for deriving the vertex form and is how the formula itself is proved. The quadratic formula is the reliable general method: it always works, including with decimal coefficients, irrational roots and complex roots, at the cost of a little more arithmetic. In exams, factoring earns the same marks when it works, but the formula is the safe fallback when factors are not obvious. Use this calculator to check any method: enter the coefficients, compare the roots, and use the discriminant to confirm how many real solutions there should be before you start.

Is it free and private?

Yes. The quadratic formula calculator is free, with no signup, no account and no limits. The maths runs in your browser, so the coefficients you enter are never sent to a server, stored or logged, and they disappear when you clear the form or close the tab. That makes it safe for homework, exam revision and classroom demonstrations. For students checking algebra work, teachers preparing examples, and anyone who needs the roots, discriminant and vertex of a quadratic without reaching for a textbook, this page solves it in one step, including the repeated-root and complex-root cases.

FAQs

What is the quadratic formula?

x equals minus b plus or minus the square root of (b squared minus 4ac), all divided by 2a. It solves any equation of the form a x squared plus b x plus c equals zero.

What does a negative discriminant mean?

The equation has no real roots. The roots are complex conjugates, like -1 + 2i and -1 - 2i for x squared plus 2x plus 5.

What if the discriminant is zero?

There is one repeated real root, and the parabola touches the x-axis exactly at its vertex.

What happens if a is zero?

The equation becomes linear (b x plus c equals zero), and the calculator solves it as x=-c / b.

How is the vertex calculated?

The x-coordinate is minus b divided by 2a; the y-coordinate comes from substituting that x into the equation.

Is my data stored anywhere?

No. The calculation runs in your browser. Your coefficients are never sent to a server or stored.


Author

Awais Arshad

Web Tools Developer & Content Creator at FastToolKit.