What does this calculator do?
A quadratic equation has the form ax² + bx + c = 0, where a is not zero.
Formula
The discriminant determines the number of real roots before the quadratic formula is applied:
x = (−b ± √(b² − 4ac)) ÷ 2a
How to use it
Enter coefficients a, b and c. A must not be zero. The tool reports the discriminant and all real roots.
Worked example
For x² − 5x + 6 = 0, Δ = 1 and the two roots are 3 and 2.
Formula version1.0.0
Formulax = (−b ± √(b² − 4ac)) ÷ 2a
Precision6 decimals
Frequently asked questions
What does the discriminant mean?
A positive discriminant gives two real roots, zero gives one repeated root and a negative value gives complex roots.
Why can a not be zero?
If a is zero, the x² term disappears and the equation is linear rather than quadratic.
Does this calculator show complex roots?
It identifies that no real roots exist; this version reports real-valued outputs only.
Sources
- Standard arithmetic definitions (mean, half-up rounding). The exact formulas used are shown on this page; no external data is involved.
- Khan Academy — Arithmetic (review of the underlying math)
- Reviewed: 2026-08-05
Related calculators
Percentage Calculator
Find what percent one number is of another, with every step shown.
Average Calculator
The average (mean) of any list of numbers, with sum and count shown.
Scientific Notation Calculator
Express a number as a coefficient multiplied by a power of ten.
Rounding Calculator
Round any number to the decimal places you choose.
GCD Calculator
Find the largest integer that divides both numbers without a remainder.
Percentage of a Number
Work out what X% of any number is — for example, 15% of 240.
LCM Calculator
Find the smallest positive integer divisible by both input numbers.
Prime Factorization Calculator
Write a whole number as a product of prime powers.
Last updated: 2026-08-05 · v1.0.0 · Report an error