Quadratic equation calculator with steps
Enter the coefficients a, b and c and see the discriminant, the roots and every step.
- Private 1-to-1 lessons
- Maths in English or Russian
- Online, from anywhere
Quadratic equation calculator
Use the calculator to check your work. Try the problem yourself first, then compare your steps with the calculator's steps.
Solving a quadratic equation with the discriminant
Step 1: find D
Substitute the coefficients into D = b² − 4ac.
Step 2: check the sign
D > 0 gives two roots, D = 0 gives one repeated root and D < 0 gives no real roots.
Step 3: find the roots
Use x = (−b ± √D) / (2a) and check with Vieta's formulas.
Example: x² − 5x + 6 = 0 has D = 25 − 24 = 1, so x = 3 or x = 2.
Frequently asked questions
How do I use the quadratic equation calculator?
Write the equation as ax² + bx + c = 0, enter a, b and c, and press Solve. You get the discriminant, the roots and the steps.
What if there are no real roots?
If the discriminant D is below zero there are no real roots. The calculator says so and shows how D was found.
Can I enter decimals?
Yes. Use a decimal point, for example 0.5.
Which students is this for?
It suits GCSE, IGCSE, IB and SAT students, and US or Canadian Algebra 1 and 2.
More calculators and help
Free tools for students.
Do quadratics cause trouble?
Tell us the year or grade and what feels hard, and we will suggest a plan.
Book a trial lesson