Math Last updated: July 2026

Discriminant Calculator

Calculate the discriminant of any quadratic equation instantly with our free calculator. Enter a, b, and c to find b² - 4ac and classify the roots as real, repeated, or complex.

How to Use the Discriminant Calculator

Interactive calculator available after JavaScript loads.

Loading calculator...

Written by Calculator Archive Team

Math & Finance Experts — Verified Formulas, Peer-Reviewed Sources, Expert Analysis

Looking for a deeper explanation?

Read our comprehensive, peer-reviewed educational article in our Blog to learn the underlying math, formulas, and step-by-step examples.

Read Blog Guide ›

Mathematical Formula & Logic

For the quadratic equation ax² + bx + c = 0, the discriminant is — = b² - 4ac. If — > 0: two distinct real roots. If — = 0: one repeated real root. If — < 0: two complex conjugate roots.
Variable Glossary
- The discriminant value: b² - 4ac
a Coefficient of the quadratic term (x²), must be non-zero
b Coefficient of the linear term (x)
c Constant term
x₁, x₂ The roots of the quadratic: x = (-b ± √—) / (2a)

Step-by-Step Worked Calculation

Scenario: Discriminant of x² - 5x + 6 = 0

Classify the roots and find their values.

1

Step 1: Identify a = 1, b = -5, c = 6.

2

Step 2: Compute — = b² - 4ac = (-5)² - 4(1)(6) = 25 - 24 = 1.

3

Step 3: — = 1 > 0, so there are two distinct real roots.

4

Step 4: Roots: x = (5 ± √1) / 2 = (5 ± 1) / 2. So x = 3 or x = 2.

How to Use the Discriminant Calculator

  1. 1. Enter coefficient a (the x² term) — must be non-zero.
  2. 2. Enter coefficient b (the x term).
  3. 3. Enter coefficient c (the constant term).
  4. 4. Review the discriminant value, root type, and actual roots when real.

What Is a Discriminant Calculator?

Discriminant Calculator is a mathematical computation tool that helps you calculate the discriminant b² - 4ac of any quadratic equation. Determine if roots are real, repeated, or complex with step-by-step solutions. It applies established mathematical principles to deliver accurate results, often showing the underlying formula and step-by-step working so you can understand the computation process.

Why This Calculation Matters

Mathematical calculations form the foundation of science, engineering, finance, and everyday problem-solving. Discriminant Calculator helps you work through calculations accurately and efficiently, reducing the risk of manual arithmetic errors. Whether you are a student learning concepts, a professional verifying work, or anyone needing quick and reliable math results, this tool ensures precision and saves time.

Historical Background

Mathematics has evolved over thousands of years, from ancient Babylonian clay tablets and Egyptian papyri to Greek formal proofs by Euclid and Archimedes. The development of algebra by Persian mathematician al-Khwarizmi in the 9th century and the invention of calculus by Newton and Leibniz in the 17th century laid the groundwork for modern computation. Discriminant Calculator continues this tradition by making mathematical operations accessible through digital technology.

Frequently Asked Questions

Complete indexable directory of answers (11 questions)

What is the discriminant of a quadratic equation?

The discriminant is the expression — = b² - 4ac, where a, b, and c are the coefficients of ax² + bx + c = 0. It determines the number and type of roots without fully solving the equation.

What does a positive discriminant mean?

When — > 0, the quadratic equation has two distinct real roots. The parabola crosses the x-axis at two different points.

What does a zero discriminant mean?

When — = 0, the equation has exactly one repeated (double) real root. The parabola touches the x-axis at exactly one point — its vertex.

What does a negative discriminant mean?

When — < 0, there are no real roots. Instead, the equation has two complex conjugate roots. The parabola never crosses the x-axis.

How does the discriminant relate to the quadratic formula?

The discriminant appears under the square root in the quadratic formula: x = (-b ± √—) / (2a). Its sign determines whether √— is real, zero, or imaginary.

Can the discriminant be used for higher-degree polynomials?

The discriminant concept extends to cubic and quartic equations, but the formula becomes more complex. For quadratics, — = b² - 4ac is the standard expression.

What if a = 0?

If a = 0, the equation is not quadratic — it becomes linear (bx + c = 0). The discriminant formula does not apply. Solve directly: x = -c/b.

Is a perfect square discriminant special?

Yes. When — is a perfect square (and a, b, c are integers), the quadratic factors neatly over the integers, giving rational roots.

What mathematical formula does the Discriminant Calculator use?

The Discriminant Calculator uses standard mathematical formulas validated against authoritative references. The specific formula is displayed in the calculator interface with a detailed explanation of each variable.

How can I verify the Discriminant Calculator results manually?

Each calculator includes a step-by-step worked example showing exactly how the formula is applied. You can follow these steps with pen and paper to verify any result.

What types of inputs does the Discriminant Calculator accept?

The Discriminant Calculator accepts numeric inputs including integers and decimals. Invalid inputs (letters, special characters) are rejected with clear error messages.