Calculators Free

Discriminant calculator

Calculator

The calculator needs JavaScript. The tables below give the same numbers for common cases.

How it is worked out

  1. D = b² − 4ac.
  2. D = -6² − 4 × 1 × 5 = 36 − 20 = 16.
  3. D is positive: two real roots.
Worked examples
InputsAnswer
a: 1; b: -3; c: 2For x² − 3x + 2 = 0 the discriminant is b² − 4ac = 1, so the equation has two different real roots.
a: 1; b: 2; c: 1For x² + 2x + 1 = 0 the discriminant is b² − 4ac = 0, so the equation has one repeated real root.
a: 2; b: 1; c: 3For 2x² + x + 3 = 0 the discriminant is b² − 4ac = -23, so the equation has two complex (non-real) roots.

How to use it

The discriminant of ax² + bx + c is D = b² − 4ac. It sits under the square root in the quadratic formula, so it tells you what kind of roots to expect before you solve.

If D is positive there are two different real roots, if D is 0 there is one repeated real root, and if D is negative there are no real roots but two complex ones. The graph crosses the x-axis twice, touches it once, or does not reach it.

Frequently asked questions

What does the discriminant tell you?

The number and type of roots: two real, one repeated real or two complex.

What is the discriminant formula?

D = b² − 4ac.

Can the discriminant be negative?

Yes. Then the quadratic has no real roots, only two complex roots.

Method: standard arithmetic shown step by step; no outside data is used. Checked 2026-11-12.

Written by Calculators Free Editorial Team · Data checked 2026-11-12
About · How we verify this · Editorial policy · Corrections

General information only. Results are plain arithmetic on the numbers you enter; check anything important (money, health, school work) against your own records or the official source.