Press Solve.
Method
The roots are x = (−b ± √(b² − 4ac)) / (2a). The sign of the discriminant Δ = b² − 4ac decides: two real roots (Δ > 0), a double root (Δ = 0), or a complex pair (Δ < 0). The code uses the numerically stable form that avoids subtracting nearly equal numbers.
Computed in your browser with double-precision arithmetic; nothing is sent to a server. Check results by substituting them back.