Quadratic Formula Calculator
Solve ax² + bx + c = 0 for x, including complex roots, using x = (−b ± √(b²−4ac)) / 2a.
Quadratic Formula Calculator: Solve Any ax² + bx + c = 0 Equation
Quick summary: A quadratic formula calculator solves equations in the form ax² + bx + c = 0 using x = (−b ± √(b² − 4ac)) ÷ 2a, returning two real roots, one repeated root, or two complex roots depending on the value of the discriminant. The discriminant (b² − 4ac) tells you the nature of the solutions before you even finish solving.
Quadratic equations show up everywhere from algebra homework to physics problems involving projectile motion, and solving one by hand — especially when factoring doesn’t work cleanly — can be slow and error-prone. A quadratic formula calculator applies the same formula every time, correctly handling real, repeated, and complex roots. This guide breaks down exactly how the formula works, explains the discriminant that determines what kind of answer you’ll get, and walks through multiple fully worked examples.
What Is a Quadratic Formula Calculator?
A quadratic formula calculator is a tool that solves any equation in the standard quadratic form ax² + bx + c = 0, where a, b, and c are constants and a ≠ 0. Rather than requiring you to factor the equation (which doesn’t always produce clean, whole-number solutions), the quadratic formula works for every quadratic equation, including ones with irrational or complex roots (calculatorsoup.com).
The Quadratic Formula
The formula itself is:
x = (−b ± √(b² − 4ac)) ÷ 2a
The “±” symbol means there are typically two solutions — one calculated using the plus sign, and one using the minus sign. A quadratic formula calculator determines whether the discriminant (the expression under the square root) is less than, equal to, or greater than zero, since that value controls how many real solutions exist and what type they are (calculatorsoup.com).
Understanding the Discriminant
The discriminant is the expression b² − 4ac — the part of the quadratic formula that sits under the square root. It’s represented by the Greek letter Δ (delta) and tells you the nature of the roots without needing to fully solve the equation (allmath.com; redcrab-software.com).
The three possible outcomes are:
- If Δ > 0: the equation has two distinct real roots
- If Δ = 0: the equation has one repeated real root
- If Δ < 0: the equation has two complex (imaginary) roots, since you can’t take the square root of a negative number within the real number system (calculatorsoup.com; quadraticequation.org)
Geometrically, the discriminant tells you how many times the equation’s parabola crosses the x-axis: twice (Δ > 0), once (Δ = 0), or not at all (Δ < 0), since the parabola instead exists entirely above or below the x-axis (mathwarehouse.com; redcrab-software.com).
Worked Examples
Example 1: Two real roots (positive discriminant)
Solve x² − 8x + 5 = 0, where a = 1, b = −8, c = 5.
Step 1 — Calculate the discriminant: Δ = b² − 4ac = (−8)² − 4(1)(5) = 64 − 20 = 44
Since Δ > 0, there are two real roots (calculatorsoup.com).
Step 2 — Apply the quadratic formula: x = (8 ± √44) ÷ 2
x₁ = (8 + 6.633) ÷ 2 ≈ 7.32 x₂ = (8 − 6.633) ÷ 2 ≈ 0.68
Example 2: One repeated root (zero discriminant)
Solve x² − 2x + 1 = 0, where a = 1, b = −2, c = 1.
Step 1 — Calculate the discriminant: Δ = (−2)² − 4(1)(1) = 4 − 4 = 0
Step 2 — Apply the formula: Since Δ = 0, there’s only one solution: x = −b ÷ 2a = 2 ÷ 2 = x = 1 (mathwarehouse.com)
Example 3: Two complex roots (negative discriminant)
Solve x² + 3x + 10 = 0, where a = 1, b = 3, c = 10.
Step 1 — Calculate the discriminant: Δ = 3² − 4(1)(10) = 9 − 40 = −31
Since Δ < 0, the equation has two complex conjugate roots — there are no real number solutions (mathcracker.com).
Example 4: Solving with a negative leading coefficient
Solve −2x² − 3x + 7 = 0, where a = −2, b = −3, c = 7.
Step 1 — Calculate the discriminant: Δ = (−3)² − 4(−2)(7) = 9 + 56 = 65
Step 2 — Apply the formula: x = (3 ± √65) ÷ (2 × −2) = (3 ± 8.06) ÷ −4
x₁ = (3 + 8.06) ÷ −4 ≈ −2.77 x₂ = (3 − 8.06) ÷ −4 ≈ 1.27
Example 5: Quick discriminant check without full solving
Sometimes you just need to know how many solutions exist, without solving completely. For x² − 4 = 0:
Δ = 0² − 4(1)(−4) = 16 → since Δ > 0, there are two solutions: x = ±2 (redcrab-software.com)
How to Identify a, b, and c in Any Equation
Before using the formula, you need your equation in standard form: ax² + bx + c = 0. Once it’s arranged that way:
- a is the coefficient of the x² term
- b is the coefficient of the x term
- c is the constant term by itself
(study.com)
If your equation isn’t already in standard form — for example, if terms are on both sides of the equals sign — move everything to one side and simplify before identifying a, b, and c.
Why the Discriminant Matters Beyond Algebra Class
Knowing the nature of a quadratic’s roots isn’t just a classroom exercise — the discriminant is genuinely useful in applied fields like control systems, structural engineering, and circuit analysis, anywhere a second-degree polynomial is used to model system behavior (firgelliauto.com). For example, in physics, a negative discriminant in a motion equation can indicate that a projectile never reaches a certain height, since there’s no real-numbered time at which that condition is satisfied.
Common Mistakes When Using the Quadratic Formula
- Forgetting the ± symbol, which produces only one of the two possible solutions instead of both.
- Sign errors when b is negative. Remember the formula uses −b, so if b = −8, then −b = 8, not −8.
- Dividing only part of the numerator by 2a. Both the −b term and the entire ± √(b² − 4ac) expression need to be divided by 2a — not just one piece of it.
- Trying to take the square root of a negative discriminant within the real numbers, instead of recognizing that a negative discriminant signals complex roots.
- Not simplifying the equation into standard form first, which leads to picking the wrong values for a, b, or c.
FAQs
The discriminant is the expression b² − 4ac, found under the square root in the quadratic formula. It reveals whether an equation has two real roots, one repeated real root, or two complex roots, without requiring you to fully solve the equation.
Yes — when the discriminant is negative, the quadratic formula still produces an answer, but the solutions are complex (imaginary) numbers rather than real numbers.
A discriminant of exactly zero means the equation has one repeated real root — the parabola touches the x-axis at exactly one point rather than crossing it twice.
Factoring works only when a quadratic equation has “nice” rational roots. The quadratic formula works for every quadratic equation, including those with irrational or complex solutions, which is why it’s considered the universal method.
The discriminant is applied in real-world fields like engineering, control systems, and circuit design, wherever a second-degree polynomial equation is used to model a system’s behavior.
Related Calculators
- GPA Calculator
- Percentage Calculator
- Grade Calculator
- Solar Panel Calculator
- Solar Saving Calculator By State
- Date Difference Calculator
- Distance Calculator
- Electricity Calculator
- Exponent Calculator
- Resistor Calculator
- Big Number Calculator
- Permutation and Combination Calculator
- Hex Calculator
- Matrix Calculator
- Math Calculator
- Mulch Calculator
- Binary Calculator
- Right Triangle Calculator
- Mileage Calculator
- Stair Calculator
- Half-Life Calculator
- Density Calculator
- Log Calculator
- Scientific Notation Calculator
- Number Sequence Calculator
- Greatest Common Factor Calculator
- Prime Factorization Calculator
- Probability Calculator
- Ratio Calculator
- Circle Calculator
- Fraction Calculator
- Percent Error Calculator
- Surface Area Calculator
- Basic Calculator
- One Rep Max Calculator
Conclusion
A quadratic formula calculator takes the two-part challenge of solving ax² + bx + c = 0 — finding the roots and understanding their nature — and handles both in one step, using x = (−b ± √(b² − 4ac)) ÷ 2a alongside the discriminant to tell you exactly what kind of solution to expect. Whether you’re working through algebra homework or applying quadratics to a real engineering problem, understanding both the formula and the discriminant behind a quadratic formula calculator means you’ll always know not just the answer, but why that answer looks the way it does.