The formula this page uses
x = ( −b ± √(b² − 4ac) ) / (2a)
Solve quadratic formula problems with clear steps, notation, and a final check.
Evaluate the governing formula locally in your browser. Define each known quantity once, then change values to test another case instantly.
Choose an example or enter a formula.
No calculations yet.
x = ( −b ± √(b² − 4ac) ) / (2a)
The equation
No. Try factoring first, because 2x² + 5x − 12 splits neatly into (2x − 3)(x + 4) and takes ten seconds. Reach for the formula when nothing factors, when the coefficients are decimals, or when the discriminant turns out negative.
Its sign alone answers most multiple-choice questions. Positive means the parabola cuts the x-axis twice, zero means it grazes it once, negative means it misses entirely. You often never need the roots themselves.
The formula comes from completing the square on ax² + bx + c. Halving b/a during that step is where the 2 appears, and it stays in the final denominator.
Then there is no x² term, the equation is linear, and 2a in the denominator becomes zero. Solve bx + c = 0 directly instead: x = −c/b.
A calculator gives you the number. If you also want to be able to do this without one, the quadratic formula explained walks through the method step by step, with a worked example and the mistakes that cost marks.