Enter the coefficients a, b, and c and the page applies the quadratic formula x = (−b ± √(b² − 4ac)) / 2a. The discriminant is reported alongside the roots so you can see at a glance whether the solution is two real numbers, one repeated real number, or a complex-conjugate pair.
When a is zero, the equation collapses to the linear case bx + c = 0 and the solver returns the single root −c/b instead of dividing by zero. Complex roots are shown in standard form as a real part plus or minus an imaginary part. Arithmetic is done in IEEE-754 double precision, which is plenty for textbook problems but can lose accuracy on extremely ill-conditioned cases (very small leading coefficient relative to b).
The discriminant Δ = b² − 4ac decides the nature of the roots. Δ > 0: two distinct real roots. Δ = 0: one repeated real root. Δ < 0: a pair of complex-conjugate roots. The sign appears in the result panel before the roots themselves.
Yes — when a is zero the equation is linear (bx + c = 0) and the tool returns the single root −c/b. If both a and b are zero it reports that there is no equation to solve.
A negative discriminant gives complex roots. The solver returns them as a real part −b/(2a) and an imaginary part √|Δ|/(2a), as a conjugate pair — the standard output of the quadratic formula over the complex numbers.
It is computed in IEEE-754 double precision, which is accurate to about 15 significant figures. For ill-conditioned equations (a very small relative to b), the formula can lose accuracy on one of the two roots — the citardauq form would do better but is overkill for most inputs.
Explore the full suite of Number tools and 290+ other free utilities at Chunky Munster.