Free quadratic formula calculator
Solve any quadratic equation ax² + bx + c = 0 — enter a, b, and c to find both roots using the quadratic formula, updated live, as you type.
On this page10 sections
x = (−b ± √(b²−4ac)) / 2a. Δ < 0 → no real roots.
Results are estimates. Consult a professional.
How the quadratic formula works
The quadratic formula solves any equation of the form ax²+bx+c=0, giving the exact values of x where the parabola crosses the x-axis. Plug in the three coefficients a, b, and c, and the formula does the rest.
Worked example: solving 2x²−4x−6=0
Identify the coefficients: a = 2, b = −4, c = −6. Substitute into the formula and simplify step by step.
Discriminant interpretation
The discriminant (Δ = b²−4ac) tells you how many real roots exist before you finish the calculation.
| Discriminant (Δ) | Number of real roots | Description |
|---|---|---|
| Δ > 0 | 2 distinct roots | Parabola crosses x-axis twice |
| Δ = 0 | 1 repeated root | Parabola touches x-axis at vertex |
| Δ < 0 | 0 real roots | Parabola does not cross x-axis (complex roots) |
Source: standard algebra curriculum.
Tips for using the quadratic formula
A few habits will prevent the most common errors when applying the quadratic formula.
- Rearrange first — move all terms to one side so the equation is in the form ax²+bx+c=0 before identifying a, b, and c.
- Watch negative signs — if b is negative, −b becomes positive. Write out the substitution explicitly to avoid sign errors.
- Check the discriminant first — computing Δ before the full formula tells you immediately whether real solutions exist.
- Simplify the square root — factor out perfect squares from √Δ to get a cleaner answer (e.g. √48 = 4√3).
- Verify by substitution — plug each root back into the original equation to confirm both sides equal zero.
Accuracy and limitations
The quadratic formula is exact for any quadratic with rational or irrational coefficients. Results displayed as decimals are limited by floating-point precision (typically 15 significant digits). The formula only applies to degree-2 polynomials — for higher degrees, different methods (cubic formula, numerical solvers) are required. When the discriminant is negative, roots are complex numbers of the form p ± qi and cannot be plotted on a standard number line.
Key terms
About this calculator
Part of our math calculators suite — explore all calculators.