Enter an equation to solve with step-by-step solutions shown. Supports linear, quadratic, and systems of equations. Client-side only.
For ax²+bx+c=0, x = [-b ± √(b²-4ac)]/(2a). Δ=b²-4ac is the discriminant: Δ>0 two real roots, Δ=0 one root, Δ<0 no real roots.
The discriminant Δ=b²-4ac determines the nature of roots: Δ>0 two distinct real roots, Δ=0 one repeated real root, Δ<0 two complex roots.
For a system of 2 equations, compute determinant D=a₁b₂-a₂b₁. Then x=(c₁b₂-c₂b₁)/D, y=(a₁c₂-a₂c₁)/D.
This tool uses JavaScript double-precision floating point, accurate enough for everyday math. Results are rounded to 6 decimal places.