Enter a linear or quadratic equation. The calculator solves for x and shows the key values.
Results computed in your browser.
For linear equations, the calculator solves x = (c - b) / a. For quadratics it applies the quadratic formula and reports the discriminant, the roots, and whether those roots are real, repeated, or complex.
For ax + b = c, isolate x: x = (c - b) / a. Enter the values of a, b, and c into the calculator.
x = (-b ± sqrt(b² - 4ac)) / 2a. The calculator applies it automatically once you enter a, b, and c.
The discriminant is b² - 4ac. Positive means two distinct real roots. Zero means one repeated root. Negative means the roots are complex (no real solution).
Yes. When the discriminant is negative, the calculator reports the complex roots in standard a + bi form.
It shows the discriminant and roots. Plug those into the formulas above to follow the steps yourself.