Math Calculator
Quadratic Formula Calculator
Solve quadratic equations using the quadratic formula.
⚠️ Please enter valid values. Coefficient a cannot be zero.
Solutions
—
Calculator guide
How this calculator works
How to use this calculator
Enter the coefficients a, b, and c from a quadratic equation in the form ax² + bx + c = 0. The calculator solves for x.
Formula used
The quadratic formula is x = (-b ± √(b² − 4ac)) ÷ 2a. The value b² − 4ac is called the discriminant.
Example calculation
For x² − 5x + 6 = 0, a = 1, b = -5, and c = 6. The solutions are x = 3 and x = 2.
What the result means
The result shows the roots or solutions of the quadratic equation. If the discriminant is negative, the solutions are complex numbers.
Frequently asked questions
What if a is zero?
Then the equation is not quadratic, so this calculator shows an error.
What is the discriminant?
The discriminant tells whether the equation has two real solutions, one real solution, or complex solutions.
Can this solve complex roots?
Yes. If the discriminant is negative, the calculator shows solutions using i.
