01 / Rows
Row by row
Each step is one row operation on the augmented matrix, with the matrix shown after it.
Free tool
Type your equations, one per line, to find the unknowns. Pick row reduction, substitution, elimination or Cramer's rule, and every step is shown, including the cases with no solution or infinitely many. A line with a circle or parabola works too, and so do two equations like x*y = 12 with x + y = 7 and a circle with an ellipse. Exact fractions, a graph, and no sign-up.
Steps
Any letters work. Use a new line or a semicolon between equations. Decimals and fractions are fine. Solves linear systems of any size, and two-unknown systems where one letter appears only to the first power in an equation, or where both equations only contain x^2 and y^2. Substitution and elimination show 2 equations in 2 unknowns, and Cramer's rule needs a square system with a determinant that is not 0.
Worked out in your browser. Nothing is sent anywhere.
The method
01 / Rows
Each step is one row operation on the augmented matrix, with the matrix shown after it.
02 / Exact
No rounding along the way, so answers like 7/3 stay exact.
03 / Cases
One solution, none, or infinitely many written with a parameter.
Guide
A system of equations calculator finds the values of the unknowns that make every equation true at once. Type the equations one per line and it solves them by row reduction, showing every step. It handles two, three or more unknowns, tells you when there is no solution or infinitely many, and can also solve a straight line together with a curve, a parabola with a line, and two equations such as a circle with an ellipse. You can choose row reduction, substitution, elimination or Cramer's rule for the steps.
2x + y = 5 and x − y = 1. A semicolon also separates equations. Any letters work.Solve 2x + y = 5 and x − y = 1. Add the equations: the y terms cancel, leaving 3x = 6, so x = 2. Put x = 2 in the second equation: 2 − y = 1, so y = 1. Check in the first: 2 times 2 plus 1 is 5. With the default method, the calculator gets the same result by row reduction: it writes the rows as numbers, subtracts a multiple of one row from the other, and divides to get 1s on the diagonal.
Solve x + y + z = 6, 2x − y + z = 3 and x + 2y − z = 2. The answer is x = 1, y = 2, z = 3. Check each: 1 + 2 + 3 = 6, 2 − 2 + 3 = 3, and 1 + 4 − 3 = 2. In the steps you will see rows such as R2 = R2 − 2·R1, which removes x from the second equation, then a division to make each pivot 1.
| System | What happens | Result |
|---|---|---|
| x + y = 2 and x − y = 0 | Lines cross once | x = 1, y = 1 |
| x + y = 2 and x + y = 3 | Parallel lines, a row reads 0 = 1 | No solution |
| x + y = 2 and 2x + 2y = 4 | The same line twice | Infinitely many: x = 2 − t, y = t |
When there are infinitely many solutions, one or more unknowns are free. The calculator calls the free value t (or s, r) and writes the others in terms of it. Every choice of t gives a solution. For x + y + z = 3 and x − y + 2z = 1, z = t is free, and then y = t/2 + 1 and x = 2 − 3t/2. Try t = 2: z = 2, y = 2, x = −1, and both equations hold.
For y = x + 1 together with x^2 + y^2 = 25, the calculator puts the line into the circle. That gives x^2 + (x + 1)^2 = 25, which simplifies to x^2 + x − 12 = 0, with roots x = 3 and x = −4. The matching y values are 4 and −3, so the circle and line cross at (3, 4) and (−4, −3). If the roots are not neat, the answers are given exactly when possible and as decimals next to them. Only real solutions are listed.
Take 3x + 4y = 10 and 5x − 2y = 4. The answer is x = 18/13 and y = 19/13, about 1.3846 and 1.4615, whichever method you pick.
Elimination, substitution and matrices are three views of the same idea. For a small system by hand, substitution is often quickest. A correct answer satisfies every original equation, and the calculator checks that for you.
If one equation has a letter only to the first power, that letter can be written in terms of the other and put into the second equation. For y = x^2 and y = 2x + 3 this gives x^2 = 2x + 3, so x = 3 or x = −1, and the points are (3, 9) and (−1, 1). For x*y = 12 and x + y = 7, y = 7 − x gives x(7 − x) = 12, so x = 3 or 4 and the points are (3, 4) and (4, 3). When both equations only contain x^2 and y^2, like x^2 + y^2 = 25 and x^2 − y^2 = 7, the calculator treats x^2 and y^2 as the unknowns: x^2 = 16 and y^2 = 9, so x = ±4 and y = ±3, and all four pairings are solutions. Only real solutions are listed, and the page tells you when complex ones were left out.
It does not solve two curves where no letter is to the first power and the squares are mixed with other terms, such as x^2 + y^2 = 5 with x*y = 2. It does not solve systems of inequalities. Coefficients must be plain numbers in a linear system, not other letters. The limit is 8 unknowns and 10 equations.
For a single equation, use the algebra calculator. For matrix maths on its own, try the matrix calculator, and for lines see the slope calculator.
Questions
It is two or more equations that share the same unknowns. A solution makes all of them true at the same time.
You choose: row reduction (Gauss-Jordan, any size), substitution or elimination for 2 equations in 2 unknowns, or Cramer's rule for 2 or 3 unknowns. All use exact fractions. Systems with curves are solved by substitution.
Up to 10 equations and 8 unknowns. The number of equations does not have to match the number of unknowns.
It means the equations describe the same thing in a way that leaves at least one unknown free, like two copies of the same line. The answer is written with a parameter such as t.
The equations contradict each other, like x + y = 2 and x + y = 3. In the steps, a row ends up reading 0 equals a number that is not 0.
Yes for two equations in two unknowns when one letter appears only to the first power in an equation (a line with a circle, a parabola with a line, x*y = 12 with x + y = 7), or when both equations only contain x^2 and y^2 (a circle with an ellipse). Other pairs of curves are not solved.
When the determinant D is 0, or when there are not as many equations as unknowns. Then the system has no solution or infinitely many, and row reduction shows which.
No. It solves equations only.
Yes. 0.5x and x/2 are both read exactly. Results stay as exact fractions where possible.
For a single solution, the values are put back in every original equation. On 24 Oct 2026 the results were also compared against the computer algebra system SymPy on 20 systems (linear, none, infinitely many, and curves) and all matched.
No. The equations are worked out on your device and the last ones you typed are kept in this browser only.