Quadratic Formula Calculator
Enter the coefficients of ax² + bx + c = 0. The calculator computes the discriminant, explains what it tells you about the roots, applies the quadratic formula exactly (simplifying square roots), and shows factoring or completing the square as an alternative method.
How to use the quadratic formula calculator
- Rewrite your equation in standard form ax² + bx + c = 0.
- Enter a, b and c (a cannot be zero).
- Read the discriminant, the exact roots and their decimal approximations.
Examples
x² − 3x − 10 = 0
Answer: x = −2, x = 5
2x² − 3x − 1 = 0
Answer: x = (3 ± √17)/4
x² + 2x + 5 = 0
Answer: x = −1 ± 2i
The quadratic formula
Every quadratic equation (with ) can be solved with
Enter the coefficients , and , or type the whole equation, and the calculator substitutes them, simplifies the square root exactly, and gives both roots as exact values and decimals.
The discriminant tells you what to expect
The expression under the root, , is called the discriminant:
| Discriminant | Roots | Graph of |
|---|---|---|
| two different real roots | crosses the x-axis twice | |
| one repeated real root | touches the x-axis at its vertex | |
| two complex roots | doesn't reach the x-axis |
Worked example
Solve . Here , , .
- Discriminant: .
- Substitute: .
- Simplify the root: , so .
- Decimals: or .
Check: the roots add to and multiply to . Both are true.
Common mistakes
- Sign of : if , then and (always positive).
- Dividing only part of the top by . The whole numerator is divided by .
- Not rearranging first. The equation must equal zero: rewrite as .
When to use something else
If the quadratic factors easily (like ), factoring is faster. Completing the square gives the vertex form. The formula always works, which is why it's the safe choice on a test.
Formulas
Practice problems
Try each one first, then open the answer to check your work.
1.Solve .
Show answer
or . , so .
2.Solve .
Show answer
. and .
3.Solve .
Show answer
or . , so .
4.How many real roots does have?
Show answer
None. .
5.Solve .
Show answer
(a repeated root). .
Key terms
- Quadratic equation
- An equation of the form with .
- Discriminant
- The value , which tells you how many real roots there are.
- Roots (zeros)
- The solutions of the equation, where the graph crosses the x-axis.
- Complex root
- A root involving , which appears when the discriminant is negative.
- Parabola
- The U-shaped graph of a quadratic function.