ILOMRAHomeStudy topicsFree toolsTest zoneSearch any topic
Free online tool

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

x = (−b ± √(b² − 4ac)) ÷ (2a)
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

All free tools

Studying this topic?

Free notes and MCQs: Algebraic expressions and quadratic equations.