Skip to main content
RT
RoughTools.com
free online toolsNo signup required
MATH CALCULATORS

Quadratic Formula Calculator — Solve Equations Step by Step

Solve any quadratic equation instantly with our free quadratic formula calculator. Shows step-by-step work, discriminant, and real or complex roots. No signup required — results in seconds.

By RoughTools Team··7 min read

The quadratic formula solves any equation of the form ax² + bx + c = 0: x = (−b ± √(b² − 4ac)) / 2a. For 2x² − 5x + 2 = 0 (a=2, b=−5, c=2): x = (5 ± √9) / 4, giving x = 2 and x = 0.5. The formula always works for any quadratic equation with real coefficients and appears in physics, economics, engineering, and computer graphics.

👉 Free Quadratic Formula Calculator — instant, no signup required →

What Is the Quadratic Formula?

The quadratic formula is a universal method for solving any second-degree polynomial equation — an equation of the form ax² + bx + c = 0, where a, b, and c are known numbers and x is the unknown. The formula is: x = (−b ± √(b² − 4ac)) / 2a.

The ± symbol means the formula produces two solutions: one using addition and one using subtraction inside the numerator. This is why quadratic equations can have zero, one, or two solutions depending on the value under the square root sign.

The expression b² − 4ac is called the discriminant and it tells you what type of solutions to expect before you do any further work. If the discriminant is positive, there are two distinct real solutions — the parabola crosses the x-axis at two points. If it equals zero, there is exactly one real solution — the parabola touches the x-axis at its vertex. If it is negative, there are no real solutions — the parabola does not cross the x-axis, and the solutions involve imaginary numbers.

Quadratic equations arise naturally in many real-world situations: calculating when a projectile hits the ground (where height = 0), finding break-even quantities in business (where profit = 0), determining dimensions of rectangles given area and perimeter constraints, and modeling curved paths in physics and engineering. The quadratic formula is the reliable method for all of these when the equation does not factor neatly into integers.

The Quadratic Formula

For ax² + bx + c = 0:

x = (−b ± √(b² − 4ac)) / 2a

The ± means two solutions: one with + and one with −.

Identifying a, b, c:

  • a = coefficient of x² (must not be 0)
  • b = coefficient of x (can be 0)
  • c = constant term (can be 0)

In x² + 3x − 10 = 0: a=1, b=3, c=−10

The Discriminant: Nature of the Roots

The expression b² − 4ac under the square root is called the discriminant. It tells you what type of roots to expect before solving:

| Discriminant | Type | Meaning | |-------------|------|---------| | b² − 4ac > 0 | Two distinct real roots | Parabola crosses x-axis at 2 points | | b² − 4ac = 0 | One repeated real root | Parabola touches x-axis at 1 point (vertex) | | b² − 4ac < 0 | Two complex roots | Parabola doesn't cross x-axis |

Worked Examples

Example 1: Two real roots x² − 5x + 6 = 0 (a=1, b=−5, c=6)

  • Discriminant: (−5)² − 4(1)(6) = 25 − 24 = 1 (positive → two real roots)
  • x = (5 ± √1) / 2 = (5 ± 1) / 2
  • x = 3 and x = 2 ✓ (Check: 3×2=6, 3+2=5)

Example 2: One repeated root x² − 4x + 4 = 0 (a=1, b=−4, c=4)

  • Discriminant: 16 − 16 = 0 (one root)
  • x = 4/2 = 2 (repeated root)

Example 3: Complex roots x² + x + 1 = 0 (a=1, b=1, c=1)

  • Discriminant: 1 − 4 = −3 (negative → complex roots)
  • x = (−1 ± √(−3)) / 2 = (−1 ± i√3) / 2

Factoring vs. Using the Formula

When the equation factors cleanly, factoring is faster:

  • x² − 7x + 12 = 0 → (x−3)(x−4) = 0 → x=3 or x=4

But factoring requires recognizing the pattern. The quadratic formula always works regardless of whether the equation factors cleanly. For coefficients that don't produce obvious integer factors, the formula is the reliable method.

Alternative methods:

  • Completing the square: Transform to (x + p)² = q form; useful for understanding vertex form
  • Factoring by grouping: For trinomials where a ≠ 1
  • Graphical: Find x-intercepts of the parabola y = ax² + bx + c

Real-World Applications

Projectile motion: A ball thrown upward with height h = −16t² + 64t + 5. When does it hit the ground (h=0)? Solve −16t² + 64t + 5 = 0 using the formula.

Break-even analysis: Revenue R = 150x, Cost C = 2x² + 30x + 800. Profit = 0 when 2x² + 30x + 800 = 150x → 2x² − 120x + 800 = 0. Solve to find break-even sales quantity.

Area problems: A rectangle has perimeter 40 and area 96. Let length = x, then width = 20−x. Area: x(20−x) = 96 → x² − 20x + 96 = 0 → x=12 or x=8 (length 12, width 8).

Frequently Asked Questions

What if a = 0 in the equation? If a=0, the equation is not quadratic — it's linear (bx + c = 0, solved by x = −c/b). The quadratic formula requires a ≠ 0 because you divide by 2a. If you get a=0, re-examine the equation — it's a different type.

Why does the quadratic formula have ± (plus or minus)? Because √(anything positive) has two values — a positive and a negative square root. For example, √9 = +3 and −3, since both 3² and (−3)² equal 9. The ± in the formula produces both solutions. This is why quadratic equations can have up to 2 solutions.

Can I use the quadratic formula for higher-degree polynomials? No — the quadratic formula only works for degree-2 (quadratic) equations. For cubic equations (degree 3), there's a more complex cubic formula. For degree 4 and above, there are general formulas but they're extremely complex. Degree 5 and above have no general algebraic solution formula (Abel-Ruffini theorem) — numerical methods are used instead.

What are complex roots and do they matter? Complex roots involve the imaginary unit i (where i² = −1). When the discriminant is negative, the equation has no real solutions (the parabola doesn't touch the x-axis). However, complex roots are important in engineering (AC circuit analysis uses complex impedance), control systems, and quantum mechanics. For most high school and basic physics problems, you only need real roots.

How do I verify my quadratic solution? Substitute the solution back into the original equation. If x=3 is a solution to x² − 5x + 6 = 0, check: 9 − 15 + 6 = 0 ✓. If x=2: 4 − 10 + 6 = 0 ✓. Both solutions verified. Also verify that both roots multiply to c/a and sum to −b/a (Vieta's formulas).

Related Free Tools on RoughTools

Solve Quadratic Equations Now

The free Quadratic Formula Calculator at RoughTools solves ax² + bx + c = 0, shows step-by-step work, calculates the discriminant, and graphs the parabola. Enter a, b, and c — see all solutions instantly. No account needed, completely free.

Free Quadratic Formula Calculator →

More Articles

DAILY CALCULATORS
Carbon Footprint Calculator: How to Calculate and Reduce Your CO2 Emissions
MATH CALCULATORS
Random Number Generator — Generate Numbers for Any Purpose
DAILY CALCULATORS
Solar Panel Calculator — Panels Needed, Cost, and Savings
PRODUCTIVITY CALCULATORS
Character Counter: Count Characters for Twitter, Instagram, SMS, and More
← Back to all articles