Quadratic Equation Solver
Solve ax² + bx + c = 0. You get both roots (real or complex), the discriminant, the vertex of the parabola and the steps of the quadratic formula.
Last updated: 24 November 2026
How it works
Discriminant D = b² − 4ac
D > 0: two real roots · D = 0: one repeated root · D < 0: two complex roots
Example: x² − 5x + 6 = 0 has a = 1, b = −5, c = 6. D = 25 − 24 = 1, so x = (5 ± 1) ÷ 2, which gives x = 3 and x = 2.
The sum of the roots is −b/a and the product is c/a. The vertex of the parabola is at x = −b/(2a). The calculator shows all of these so you can check your homework.
Frequently asked questions
How do I solve a quadratic equation?
Write it as ax² + bx + c = 0, find the discriminant b² − 4ac, then use the quadratic formula x = (−b ± √D) ÷ 2a.
What does the discriminant tell me?
If it is positive there are two real roots, if zero one repeated root, and if negative two complex roots.
What if a is zero in a quadratic equation?
Then the equation is linear, not quadratic. The solver shows the linear solution instead.
Can it solve equations with decimals or negatives?
Yes. Enter negative numbers and decimals in a, b and c.
Where can I learn quadratic equations with practice questions?
Open the free notes and MCQs on algebraic expressions and quadratic equations.
More free tools
- Scientific Calculatorsin, cos, tan, log, ln, powers, roots and factorials.
- Percentage Calculator% of a number, percentage change, increase and decrease.
- Marks Percentage CalculatorAdd subject marks to get total, percentage and grade.
- Unit ConverterLength, weight, area, volume, temperature, speed, time and data. Includes tola, marla and kanal.
All free tools
Math Calculators
- Scientific Calculator
- Percentage Calculator
- Quadratic Equation Solver
- Average Calculator
- HCF & LCM Calculator
- Prime Number Checker
- Square Root Calculator
- Speed, Distance & Time Calculator
- Fraction Calculator
- Ratio Calculator
- Standard Deviation Calculator
- Pythagorean Theorem Calculator
- Area Calculator
- Percent Error Calculator
- Online Calculator
- Plot Area Calculator
Free notes and MCQs: Algebraic expressions and quadratic equations.