Quadratic Formula Calculator

The quadratic formula is a fundamental tool in algebra used to find the roots (solutions) of any quadratic equation in the form ax² + bx + c = 0. This calculator applies the quadratic formula to find both roots, the discriminant, and shows whether the solutions are real or complex numbers.

Quadratic Formula Calculator Interactive Tool

Results

Enter values to see results

How to use this calculator

  1. Enter the coefficient a (must not be zero).
  2. Enter the coefficient b.
  3. Enter the constant c.
  4. The roots x₁ and x₂ are displayed instantly.

The Formula

The mathematical logic powering this calculation is:

x = (-b ± √(b² - 4ac)) / (2a)
Discriminant Δ = b² - 4ac
Δ > 0: two real roots | Δ = 0: one real root | Δ < 0: complex roots

Worked Example

If you input:

  • a (coefficient of x²): 1
  • b (coefficient of x): -5
  • c (constant term): 6

Result:

x₁ = 3, x₂ = 2

Frequently Asked Questions

What does the discriminant tell us?

The discriminant (b²-4ac) tells you the nature of the roots. Positive: two distinct real roots. Zero: one repeated real root. Negative: two complex conjugate roots.

What if a = 0?

If a = 0, the equation becomes linear (bx + c = 0), not quadratic. The quadratic formula cannot be used in that case; instead, solve x = -c/b.

Similar Calculators