Math & Everyday
Quadratic Formula Calculator
The roots of ax² + bx + c = 0, with the formula written out.
The quadratic formula solves any equation in the form ax² + bx + c = 0, and the discriminant underneath it says how many answers there are before you do any arithmetic. Enter the three numbers, and this gives the discriminant, both roots and the vertex, with the substitution written out so it can be followed line by line.
Your measurements
Loading calculator…
What your project looks like
How this is worked out
First work out b² − 4ac, the discriminant. Then x = (−b ± √(discriminant)) ÷ 2a. For x² − 3x + 2, the discriminant is 9 − 8 = 1, so x = (3 ± 1) ÷ 2, giving 2 and 1. A negative discriminant means no real roots, and the page says so instead of showing roots.
Good to know
- Read the discriminant first: it saves work when there are no real roots at all.
- A quadratic with a = 0 is not a quadratic. The first box refuses zero for that reason.
- The roots add to −b ÷ a and multiply to c ÷ a — a quick way to check the pair you were given.
What this assumes
- The equation is exactly ax² + bx + c = 0, with a not zero.
- The roots are real; when the discriminant is negative the page says so rather than inventing an imaginary answer.
- The numbers are the coefficients themselves, not the equation written in text.
Common questions
What does the discriminant tell me?
b² − 4ac decides how many real roots there are: positive gives two, zero gives one repeated root, and negative gives none. The page shows it before the roots for exactly that reason.
How do I use the quadratic formula?
x = (−b ± √(b² − 4ac)) ÷ 2a. For x² − 3x + 2 = 0, the discriminant is 9 − 8 = 1, so x = (3 ± 1) ÷ 2, giving 2 and 1.
Estimate only. Figures come from the numbers you enter and the standard rates shown on the page. Check anything that matters against the official figure before you rely on it.