Black Friday: 50% off every paid plan with code BF50. Ends 5 December.

See prices

Free tool

System of equations calculator, solved row by row.

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.

Examples

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

Solving systems, one row at a time.

01 / Rows

Row by row

Each step is one row operation on the augmented matrix, with the matrix shown after it.

02 / Exact

Exact fractions

No rounding along the way, so answers like 7/3 stay exact.

03 / Cases

All three outcomes

One solution, none, or infinitely many written with a parameter.

Guide

How to solve a system of equations, with worked examples.

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.

How to use the system of equations calculator

  1. Type one equation per line in the box, like 2x + y = 5 and x − y = 1. A semicolon also separates equations. Any letters work.
  2. Read the "Read as" line to see the equations and the unknowns it found.
  3. Read the answer cards. Then open the steps to see the augmented matrix and each row operation.
  4. Under Method choose how the steps are written. The answer is the same for every method.
  5. For two unknowns, the graph draws each equation, lines and curves, and white dots mark the solutions.
  6. Use Copy answer or Copy link to keep the result.

A two equation example

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.

A three equation example

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.

The three possible outcomes

SystemWhat happensResult
x + y = 2 and x − y = 0Lines cross oncex = 1, y = 1
x + y = 2 and x + y = 3Parallel lines, a row reads 0 = 1No solution
x + y = 2 and 2x + 2y = 4The same line twiceInfinitely 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.

A line and a curve

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.

Four ways to solve the same system

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.

  • Row reduction writes the numbers as a matrix and cleans it up row by row. It works for any size.
  • Substitution solves one equation for one letter and puts that into the other. Solving 5x − 2y = 4 for y gives y = (5x − 4)/2, and putting that in the first equation gives 3x + 2(5x − 4) = 10, so 13x = 18. The calculator picks the equation and letter that look easiest.
  • Elimination multiplies the equations so one letter has matching numbers, then subtracts. Multiply the first equation by 5 and the second by 3 and both have 15x. Subtracting leaves 26y = 38, so y = 19/13, and then x follows. The calculator shows its own multipliers.
  • Cramer's rule uses determinants. D is the determinant of the coefficients, and each unknown is the determinant with its column replaced by the right-hand numbers, divided by D. Here D = 3·(−2) − 4·5 = −26, Dx = 10·(−2) − 4·4 = −36 and Dy = 3·4 − 10·5 = −38, so x = −36/−26 = 18/13 and y = −38/−26 = 19/13. If D is 0, the rule cannot be used, and the calculator says so and shows row reduction.

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.

Two curves: when substitution works

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.

What it cannot do

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

Good to know.

What is a system of equations?

It is two or more equations that share the same unknowns. A solution makes all of them true at the same time.

What methods does it use?

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.

How many equations and unknowns can I use?

Up to 10 equations and 8 unknowns. The number of equations does not have to match the number of unknowns.

What does infinitely many solutions mean?

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.

What does no solution mean?

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.

Can it solve nonlinear systems?

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 can I not use Cramer's rule?

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.

Does it solve systems of inequalities?

No. It solves equations only.

Can I use decimals and fractions?

Yes. 0.5x and x/2 are both read exactly. Results stay as exact fractions where possible.

Is the result checked?

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.

Does anything leave my browser?

No. The equations are worked out on your device and the last ones you typed are kept in this browser only.

Listed on

Listed on JustMacAppsMotionShine on Mac App IndexMotionShine on ScrollLaunchMotionShine featured on StartupBaseFeatured on FazierFeatured on Twelve ToolsMotionShine - Featured on Smol Launch