Equation solver
Solve linear and quadratic equations and systems of 2 or 3 linear equations from their coefficients, with real, double and complex roots, in your browser.
Numbers you enter never leave this device.
How to use it
- 1
Pick the type of equation
Choose a linear equation (ax + b = 0), a quadratic equation (ax² + bx + c = 0), or a system of 2 or 3 linear equations. The boxes change to match the type you picked.
- 2
Type the coefficients
Type the numbers in the boxes. For x² − 3x + 2 = 0, type a = 1, b = −3 and c = 2. For a system, type the number in front of each unknown and the number on the right side of each equation, using 0 when an unknown is missing.
- 3
Read the solution
A quadratic equation shows two real roots, one double root, or two complex roots written as p ± qi. If a is 0, the tool solves it as a linear equation and says so. A system shows one solution, no solution, or infinitely many solutions.
- 4
Know how numbers are shown
Results keep 12 significant digits and are rounded at that place, so a long decimal is shown a little shorter than its exact value.