Quadratic Formula Calculator
Real and complex roots, discriminant, vertex and axis of symmetry.
The formula is one line, but the discriminant is what tells you what kind of answer to expect: positive means two real roots, zero means one repeated root, negative means a pair of complex conjugates. Knowing that before substituting saves the most common mistake — taking the square root of a negative and declaring there is no solution.
The vertex is included because it is usually the more useful number in an applied problem. A projectile's maximum height, a profit-maximising price and a parabola's turning point are all the vertex, and the roots only tell you where it crosses zero.
How to use it
- Enter a, b and c from ax² + bx + c = 0. a cannot be zero — that would be a line.
- Read the roots at the top. When the discriminant is negative they are shown as a complex pair.
- Use the vertex and axis rows for optimisation questions; the sum and product rows are a quick check against Vieta's formulas.
Vieta, and why the check works
For any quadratic, the roots add to −b/a and multiply to c/a. That gives a free verification: if the two roots shown do not sum to −b/a, something is wrong. It also gives a fast way to factor by hand — find two numbers with the right sum and product and the roots are those numbers negated.
The vertex sits at x = −b/2a, exactly halfway between the roots when they are real. That midpoint property is why completing the square and the quadratic formula always produce the same vertex, and why the axis of symmetry can be read off either form.
Reviewed 2026-10-26. This tool runs entirely in your browser — no server, no account, and nothing you generate is stored.
Frequently asked questions
What if the discriminant is negative?
The roots are complex conjugates, shown as a ± bi. They still satisfy the equation, but there is no real x where the parabola crosses the x-axis — it sits entirely above or below it.
Why can't a be zero?
Because ax² would vanish and the equation becomes linear: bx + c = 0, with a single root at −c/b. The quadratic formula divides by 2a, so it is undefined there.
How do I factor a quadratic?
Find two numbers that multiply to a·c and add to b, split the middle term, then group. If no such pair of integers exists, the quadratic does not factor over the integers and the formula is the faster route.
What does the vertex tell me?
The maximum or minimum of the function. If a is positive the parabola opens upward and the vertex is the minimum; if negative, it is the maximum. That is the answer to every 'maximum height' or 'best price' question.
Related tools
More from Calculators.