Quadratic Equation Solver
Roots of ax² + bx + c = 0, with discriminant and vertex.
- Discriminant (b² − 4ac)
- 1
- Vertex
- (1.5, -0.25)
- Opens
- Upward
- Sum of roots
- 3
- Product of roots
- 2
How the quadratic equation solver calculation works
x = (−b ± √(b² − 4ac)) ÷ 2a. The discriminant D = b² − 4ac decides the roots: D > 0 gives two real roots, D = 0 one repeated root and D < 0 two complex roots. The parabola's vertex is at x = −b ÷ 2a.
How to use this calculator
- a. Type a number.
- b. Type a number.
- c. Type a number.
- Read the result. It updates as you type, with a breakdown. Use Copy result to save it.
Worked example
With a 1, b -3, c 2, the result is Roots: 2 and 1 (Two real roots). The result also breaks down into: discriminant (b² − 4ac); vertex; opens; sum of roots; product of roots.
Tips and common mistakes
A quadratic has the form ax² + bx + c = 0.
- The discriminant, b² − 4ac, tells you how many real roots there are.
- If it is negative there are no real roots.
- Make sure a is not zero.
Frequently asked questions
What if a is zero?
Then the equation is linear, not quadratic. The tool solves it as bx + c = 0.
What are complex roots?
Roots that include i, the square root of −1. They appear when the parabola never crosses the x-axis.
How can I check my roots?
The roots add up to −b ÷ a and multiply to c ÷ a. Both values are shown above.
Last reviewed 2026-10-30. Results are estimates for planning only. Read the disclaimer.