Home › Math Calculators › Quadratic Formula Calculator
Solve ax² + bx + c = 0 and see the roots, including complex roots.
How the calculation works
The discriminant (b² − 4ac) tells you the type of roots: positive gives two real roots, zero gives one repeated root, and negative gives two complex roots.
Formula used
x = (−b ± √(b² − 4ac)) ÷ (2a)
Example
For x² − 5x + 6 = 0 (a = 1, b = −5, c = 6) the discriminant is 1 and the roots are 3 and 2.
About quadratic equations
The quadratic formula
For an equation ax squared plus bx plus c equals zero, the solutions are x equals minus b plus or minus the square root of b squared minus 4ac, all divided by 2a.
The discriminant
The part under the square root, b squared minus 4ac, tells you what kind of roots you get. If it is positive there are two real roots, if zero there is one repeated root and if negative the roots are complex.
Reading the graph
The graph is a parabola. Real roots are where it crosses the horizontal axis, and the vertex is its highest or lowest point. If a is positive the parabola opens up, and if negative it opens down.
Uses
Quadratics describe projectile motion, areas, profit curves and many physics and engineering problems.
Frequently asked questions
Why can’t a be zero?
If a is zero the equation is linear, not quadratic.
What are complex roots?
Roots that include the imaginary unit i, shown when the discriminant is negative.
Results are estimates for general information only and are not professional financial, medical or legal advice.
All Calculators
Every calculator on the site, in 16 categories.
💰
Financial Calculators
- Mortgage Calculator
- Loan Calculator
- Interest Calculator
- Payment Calculator
- Retirement Calculator
- Amortization Calculator
- Investment Calculator
- Inflation Calculator
- Finance Calculator
- Income Tax Calculator
- Compound Interest Calculator
- Daily Compound Interest Calculator
- Salary Calculator
- Pay Raise Calculator
- Interest Rate Calculator
- Sales Tax Calculator
- Simple Interest Calculator
- ROI Calculator
- Percent Off Calculator
- Unit Price Calculator
- Tip Calculator
📐
Math Calculators
- Scientific Calculator
- Fraction Calculator
- Improper Fraction to Mixed Number Calculator
- Long Division Calculator
- Percentage Calculator
- Percentage Change Calculator
- Discount Calculator
- Random Number Generator
- Triangle Calculator
- Rise Over Run to Degrees Calculator
- Average Rate of Change Calculator
- Standard Deviation Calculator
- Average Calculator
- Pythagorean Theorem Calculator
- Quadratic Formula Calculator
- GCD and LCM Calculator