Quadratic Equation Calculator
Solve ax² + bx + c = 0 with steps
By Team Vind · Updated · How we check
Quick answer: The roots of ax² + bx + c = 0 are x = (−b ± √(b² − 4ac)) ÷ 2a; the discriminant b² − 4ac decides whether they are real.
Example: Coefficients, a: 1; Coefficients, b: -5; Coefficients, c: 6. This gives x₁: 3; x₂: 2.
- 1Write it as ax² + bx + c = 0Move everything to one side
- 2Enter a, b and cUse negatives where needed
- 3Press SolveRoots, vertex and working
What is the quadratic formula?
Every quadratic equation can be solved with the quadratic formula. The discriminant D = b² − 4ac decides what kind of roots it has.
x = (−b ± √(b² − 4ac)) ÷ 2a
D > 0: two real roots · D = 0: one repeated root · D < 0: two complex roots
Sum of roots = −b/a · Product of roots = c/a
Nature of roots
When D is a perfect square and a, b, c are whole numbers, the roots are rational and the equation can be factorised. When D is positive but not a perfect square, the roots are irrational, like (5 ± √13)/2.
The vertex
The graph of y = ax² + bx + c is a parabola. Its turning point (vertex) is at x = −b/2a. It opens upward when a > 0, so the vertex is the minimum, and downward when a < 0.
Related calculators
Frequently asked questions
How do I solve x² − 5x + 6 = 0?
D = 25 − 24 = 1, so x = (5 ± 1)/2, giving x = 3 and x = 2. It factors as (x − 3)(x − 2).
What if the discriminant is negative?
There are no real roots; the parabola doesn't cross the x-axis. The roots are complex: x² + 2x + 5 = 0 gives x = −1 ± 2i.
What if a is 0?
Then it's not a quadratic but a linear equation bx + c = 0, with the single answer x = −c/b.
How do I solve a quadratic equation by factorisation?
Find two numbers that multiply to ac and add to b, split the middle term, and factor. For x² − 5x + 6: −2 and −3, so (x − 2)(x − 3) = 0 and x = 2 or 3.
Related guides
- NumbersHow to Calculate Percentage: 3 Formulas and Quick TricksThe three types of percentage question, mental shortcuts, a fraction table and the reverse percentage.4 min read · Updated 12 October 2026
- StudentsSGPA to CGPA: How to Calculate It with CreditsThe credit-weighted formulas for SGPA and CGPA, a worked grade card, and the SGPA needed for a target.4 min read · Updated 12 October 2026
- StudentsGPA on the 4.0 Scale: A Guide for Indian StudentsThe 4.0 scale, how GPA is calculated, why Indian marks don't convert directly, and what to report.4 min read · Updated 12 October 2026
Sources
Last reviewed: 15 October 2026

