Back to Tools
Quadratic Formula Calculator
About the Quadratic Formula Calculator
Solve any quadratic equation of the form axΒ² + bx + c = 0 and see whether it has two real roots, one repeated root or complex roots.
How to use the Quadratic Formula Calculator
- Enter the coefficient a of xΒ², the coefficient b of x and the constant c.
- Press Solve Equation to see the roots and the discriminant.
Formula and method
x = (βb Β± β(bΒ² β 4ac)) Γ· 2a
The discriminant D = bΒ² β 4ac tells you the type of roots: D > 0 gives two real roots, D = 0 gives one repeated root and D < 0 gives two complex roots.
Worked example
For xΒ² β 5x + 6 = 0, a = 1, b = β5 and c = 6. D = 25 β 24 = 1, so x = (5 Β± 1) Γ· 2, which gives x = 3 and x = 2.
Solving xΒ² β 5x + 6 = 0. The discriminant is (β5)Β² β 4Β·1Β·6 = 1, so x = (5 Β± 1) Γ· 2, giving x = 3 and x = 2.
When to use the Quadratic Formula Calculator
- Solving quadratic equations in algebra homework.
- Finding when a thrown object hits the ground or reaches a height.
- Checking whether an equation has real solutions.
Common mistakes to avoid
- Forgetting to move everything to one side so the equation equals zero.
- Getting a sign wrong when b is negative.
- Dividing only part of the numerator by 2a.
Tips
- The value of a cannot be zero; that would make the equation linear.
- Check answers by substituting them back into the original equation.
Frequently Asked Questions
When the discriminant is negative there are no real solutions. The roots include the imaginary unit i, where iΒ² = β1.
If bΒ² β 4ac is positive there are two real solutions, if it is zero there is one, and if it is negative there are no real solutions.
Sometimes by factorising or completing the square, but the formula always works.