How to use the Quadratic Equation Solver
- Enter coefficients a, b and c
- See the discriminant and roots
- Follow the step-by-step solution
Roots with full working
Enter the coefficients a, b and c of ax² + bx + c = 0 to get both roots, the discriminant and a step-by-step solution. Real and complex roots are both handled.
The quadratic formula
x = (−b ± √(b² − 4ac)) ÷ 2a. The discriminant b² − 4ac tells you what to expect: positive → two real roots; zero → one repeated root; negative → two complex roots.
Example
x² − 5x + 6 = 0 → a = 1, b = −5, c = 6 → discriminant = 25 − 24 = 1 → x = (5 ± 1) ÷ 2 → x = 3 or x = 2.
By factoring
The same equation factors as (x − 2)(x − 3) = 0. Factoring is quicker when the roots are whole numbers; the formula always works. Use the solver to check that your factors give the same roots.
On a calculator, in Excel or Python
On a TI-84, use the PlySmlt2 app. In Excel, one root is =(-B1+SQRT(B1^2-4*A1*C1))/(2*A1). In Python, use cmath.sqrt so complex roots work too.
Frequently asked questions
How accurate is the Quadratic Equation Solver?
Quadratic Equation Solver uses standard, widely accepted formulas and calculates instantly as you type. Results are for general information — for important academic decisions, please confirm with a qualified professional or your institution.