CalcSutra

Quadratic Formula Calculator & Equation Solver

Instantly solve quadratic equations using the quadratic formula. Find real and complex roots, vertex, and discriminant step-by-step for free.

Enter Values

Fill in the fields and press Calculate to see instant results.

Introduction to the Quadratic Formula Calculator

The Quadratic Formula Calculator is the most powerful and universally applicable tool for solving any quadratic equation. A quadratic equation is any equation that can be written in the standard form ax² + bx + c = 0, where a, b, and c are real number coefficients and a ≠ 0.

The quadratic formula is celebrated in mathematics because it works every time—no matter how "ugly" the numbers are. While methods like factoring only work for specially crafted equations, and completing the square is tedious, the quadratic formula is a foolproof, algorithmic solution applicable to any quadratic.

When to Use This Calculator

  • Physics: Solving projectile motion problems to find when an object hits the ground (height = 0).
  • Engineering: Finding the dimensions of a structure that must satisfy a quadratic area or volume constraint.
  • Finance: Finding break-even points where a quadratic profit or cost function equals zero.
  • Computer Graphics: Calculating ray-sphere intersections, a fundamental operation in 3D rendering.
  • Academics: Verifying solutions to algebra homework or checking manual calculations on exams.

The Quadratic Formula

The quadratic formula is derived by completing the square on the general form ax² + bx + c = 0:

$x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}$
(x = (-b ± √(b² - 4ac)) / 2a)

Variable Definitions

  • a: The leading coefficient (the coefficient of x²). Must not be zero.
  • b: The coefficient of x (the linear term).
  • c: The constant term.
  • ±: This symbol means we compute two solutions—one with addition and one with subtraction.
  • Δ (Discriminant): The expression b² - 4ac determines the nature of the roots.

Interpreting the Discriminant (Δ = b² - 4ac)

Discriminant ValueNumber of Real RootsGeometric Interpretation
Δ > 0Two distinct real rootsParabola crosses x-axis twice
Δ = 0One repeated real rootParabola touches x-axis at one point
Δ < 0No real roots (complex)Parabola does not intersect x-axis

Step-by-Step Calculation Guide

1

Write in Standard FormMake sure your equation is in the form ax² + bx + c = 0. Move all terms to one side if necessary.

2

Identify a, b, cRead off the numerical coefficients. If a term is missing (like +bx), treat b as 0.

3

Calculate DiscriminantCompute Δ = b² - 4ac. Check if it's positive, zero, or negative.

4

Compute √ΔFind the square root of the discriminant.

5

Apply the FormulaCalculate x₁ = (-b + √Δ) / 2a and x₂ = (-b - √Δ) / 2a.

Worked Examples

Example 1: Two Distinct Real Roots

Given Inputs

InputValue
Equationx² - 5x + 6 = 0

Calculation Steps

  1. Identify a, b, c= a = 1, b = -5, c = 6
  2. Discriminant= Δ = (-5)² - 4(1)(6) = 25 - 24 = 1
  3. √Δ= √1 = 1
  4. x₁= (-(-5) + 1) / 2(1) = 6 / 2 = 3
  5. x₂= (-(-5) - 1) / 2(1) = 4 / 2 = 2

Results

Roots

x = 3 and x = 2

Example 2: One Repeated Root (Perfect Square)

Given Inputs

InputValue
Equationx² - 6x + 9 = 0

Calculation Steps

  1. Identify a, b, c= a = 1, b = -6, c = 9
  2. Discriminant= Δ = (-6)² - 4(1)(9) = 36 - 36 = 0
  3. Since Δ = 0= There is exactly one repeated root.
  4. x= (-(-6)) / 2(1) = 6 / 2 = 3

Results

Root

x = 3 (repeated)

Example 3: No Real Roots

Given Inputs

InputValue
Equationx² + x + 1 = 0

Calculation Steps

  1. Identify a, b, c= a = 1, b = 1, c = 1
  2. Discriminant= Δ = 1² - 4(1)(1) = 1 - 4 = -3
  3. Interpretation= Since Δ < 0, there are no real roots. The roots are complex.

Results

Roots

Complex: x = (-1 ± i√3) / 2

Example 4: Leading Coefficient > 1

Given Inputs

InputValue
Equation2x² + 3x - 2 = 0

Calculation Steps

  1. Identify a, b, c= a = 2, b = 3, c = -2
  2. Discriminant= Δ = 9 - 4(2)(-2) = 9 + 16 = 25
  3. x₁= (-3 + 5) / 4 = 2/4 = 0.5
  4. x₂= (-3 - 5) / 4 = -8/4 = -2

Results

Roots

x = 0.5 and x = -2

Example 5: Physics – Projectile Motion

Given Inputs

InputValue
ScenarioBall thrown upward from height 1m with velocity 10 m/s. When does it hit the ground? Height h = -4.9t² + 10t + 1

Calculation Steps

  1. Set h = 0= -4.9t² + 10t + 1 = 0 → a=-4.9, b=10, c=1
  2. Discriminant= Δ = 100 + 4(4.9)(1) = 119.6
  3. t₁= (-10 + √119.6) / (-9.8) ≈ -0.096 (negative, discard)
  4. t₂= (-10 - √119.6) / (-9.8) ≈ 2.14 seconds

Results

Time to land

≈ 2.14 seconds

Common Mistakes

Avoid these errors:

  • Forgetting the ± sign: The ± gives you both roots. Students often only compute one.
  • Sign errors on b: The formula has -b, not b. If b is -5, then -b = +5.
  • Not putting the equation in standard form first: x² = 5x - 3 must be rewritten as x² - 5x + 3 = 0 before you can identify a, b, c.
  • Order of operations in the denominator: The entire denominator is 2a, not just 2. Many students accidentally write -b/2 × a.

Tips and Best Practices

  • Always check the discriminant first: Before doing any calculation, compute b² - 4ac. This instantly tells you how many real solutions to expect.
  • Verify by substitution: Plug your roots back into the original equation to make sure they produce zero. This takes 30 seconds and catches mistakes immediately.
  • Try factoring first: For simple equations, factoring is faster. Use the quadratic formula when the roots aren't obvious integers.

Conclusion

The Quadratic Formula is one of mathematics' most powerful and elegant tools. By identifying just three numbers—a, b, and c—you can unlock the solutions to any second-degree polynomial equation. Use this Quadratic Formula Calculator to check homework, solve physics problems, or explore the relationship between an equation's coefficients and the nature of its roots.

Frequently Asked Questions

What is the quadratic formula?

The quadratic formula is x = [-b ± √(b² - 4ac)] / 2a. It is used to find the solutions (roots) of a quadratic equation in the form ax² + bx + c = 0.

What is the discriminant?

The discriminant is the part of the quadratic formula under the square root: b² - 4ac. It tells you the number and type of roots the equation has.

How do I know if an equation has no real solutions?

If the discriminant (b² - 4ac) is negative, the square root of a negative number yields an imaginary number, meaning the equation has no real solutions (complex roots instead).

Can the quadratic formula solve any quadratic equation?

Yes, unlike factoring which only works for specific equations, the quadratic formula can successfully solve any quadratic equation, including those with complex roots.

What is a vertex in a quadratic equation?

The vertex is the highest or lowest point on the parabola created by the quadratic equation. The x-coordinate of the vertex is found using -b / 2a.

People Also Calculate

Calculators visitors commonly use alongside this one.