The quadratic formula solves any quadratic—even when factoring fails. Learn the exact steps, how to use the discriminant, and how to avoid sign mistakes.
Want it solved instantly? Use our ai math solver to apply the quadratic formula (and simplify everything) automatically.
Solve Now →Any quadratic equation can be rewritten in standard form: ax² + bx + c = 0. Once it's in that form, the solutions are:
This formula is powerful because it does not rely on guessing factors. It gives exact answers as fractions, radicals (square roots), or sometimes complex numbers.
For an additional worked-example style explanation, Math is Fun’s quadratic equation page is a quick read.
Your goal is ax² + bx + c = 0. If the equation is not equal to 0, subtract everything from one side.
Carefully read off the coefficients. This is where most errors happen.
Quick reminders
The discriminant is D = b² − 4ac. It tells you how many real solutions exist.
D > 0
Two real solutions
D = 0
One real solution (double root)
D < 0
No real solutions (complex)
Plug a, b, c into x = (−b ± √(b² − 4ac)) / (2a). Use parentheses for b and for 2a to avoid sign mistakes.
Simplify the radical when possible and reduce fractions. Then substitute both solutions back into the original equation to verify.
Example 1: Two real solutions
Solve: x² - 5x + 6 = 0
Example 2: Radical answers (doesn't factor nicely)
Solve: 2x² + 3x - 1 = 0
Example 3: One real solution (discriminant = 0)
Solve: x² + 6x + 9 = 0
Example 4: No real solutions (discriminant < 0)
Solve: x² + 4x + 10 = 0
Forgetting parentheses around b
If b = -5, then b² is (-5)² = 25 (not -25). Always use parentheses.
Mixing up −b and b
The formula starts with −b. If b = 7, then −b = −7.
Only computing one solution
The ± gives two answers unless the discriminant is 0.
Use the quadratic formula when factoring is difficult or when you want a method that always works. It's especially useful for word problems, messy coefficients, and cases where you need exact answers.
If you want the full “choose the best method” overview, start here: how to solve a quadratic equation step by step.
Paste your quadratic and get both solutions, simplified.
Try AI Math Solver →