System of Equations Calculator: Solve Any System in Seconds

When you have two or three equations with the same variables, finding values that satisfy every equation at the same time can be a challenge. Each equation adds a condition, and a solution must meet all of them. The system of equations calculator solves the whole system together and shows each step, so you can check your own working and see exactly where a mistake was made.

This tool includes five modes: Solve 2×2, Solve 3×3, Cramer’s Rule, Classify, and Check a Solution. The rest of this article explains what the tool is doing and why, so you can use it with confidence and understand the method behind each answer. The system of equations calculator is a fast way to check homework, practise a method, and build confidence with systems of equations.

System of Equations Calculator

Solve any system together, with the working shown.

2x + 3y = 8; x − y = −1

Solves a1x + b1y = c1 and a2x + b2y = c2 together. Pick a method above.

Result
x = 1, y = 2

2x + 3y = 8; x − y = −1 D = a1b2 − a2b1 = 2(−1) − 1(3) = −5 Eliminate y: multiply eq 1 by −1 and eq 2 by −3, then add: −5x = −5, so x = 1 Substitute x = 1 into eq 1: 2 + 3y = 8, so y = 2 Check: eq 1: 2 + 6 = 8 ✓; eq 2: 1 − 2 = −1 ✓

x + y + z = 6; 2x − y + z = 3; x + 2y − z = 2

Solves three equations in x, y, z by Gauss-Jordan elimination with exact fractions.

Result
x = 1, y = 2, z = 3

x + y + z = 6; 2x − y + z = 3; x + 2y − z = 2 D = 7 Gauss-Jordan row operations reduce the augmented matrix to the identity, reading off x = 1, y = 2, z = 3 Check: 1 + 2 + 3 = 6 ✓; 2 − 2 + 3 = 3 ✓; 1 + 4 − 3 = 2 ✓

Cramer’s rule: x = Dx / D, y = Dy / D (and z = Dz / D for 3×3). Each determinant is expanded from your numbers.

Result
x = 3/2, y = 1

D = a1b2 − a2b1 = 2(−1) − 4(3) = −14 Dx = c1b2 − c2b1 = 6(−1) − 5(3) = −21 Dy = a1c2 − a2c1 = 2(5) − 4(6) = −14 x = Dx / D = −21 / −14 = 3/2; y = Dy / D = −14 / −14 = 1

Classifies the system without solving it in full: one solution, no solution, or infinitely many.

Result
No solution

D = a1b2 − a2b1 = 1(4) − 2(2) = 0 a1/a2 = b1/b2 = 1/2, but c1/c2 = 4/5, so the lines are parallel and never meet The two lines have the same slope and different intercepts: no point satisfies both equations

Substitutes your claimed answer into each equation and reports pass or fail per equation.

Result
Both equations check ✓

Claim (3, 2) Eq 1: 2(3) + 2(2) = 10 = 10 ✓ Eq 2: 1(3) + 5(2) = 13 = 13 ✓

Choose the mode that matches your equations, enter the required coefficients or values, and select a method where available. The system of equations calculator with steps shows the working for each mode, so you can follow the solution from start to finish.

Enter the six coefficients for your two equations: a1, b1, c1, a2, b2, c2. Choose elimination, substitution, or Cramer's Rule to solve the system. The default example, 2x + 3y = 8 and x − y = −1, gives the solution (1, 2).

Enter the 12 coefficients for three equations with three variables. The calculator row-reduces the augmented matrix to find x, y, and z. The default example, x + y + z = 6, 2x − y + z = 3, and x + 2y − z = 2, gives (1, 2, 3).

Enter the coefficients and constants for a 2x2 or 3x3 system. The calculator displays the relevant determinants: D, Dx, Dy, and Dz for a 3x3 system. For the default example, 2x + 3y = 6 and 4x − y = 5, the results are D = −14, x = 3/2, and y = 1.

Enter the coefficients of both equations to determine whether the system has one solution, no solution, or infinitely many solutions. The calculator also gives the reason for the result. For example, x + 2y = 4 and 2x + 4y = 5 have no solution.

Enter both equations and the values you want to test. The calculator substitutes the claimed values into each equation and checks whether they satisfy both. For example, 2x + 2y = 10 and x + 5y = 13, the claimed solution (3, 2) checks out.

ModeWhat you enterWhat you get
Solve 2x2Six coefficients for two equationsValues of x and y, with solution steps
Solve 3x3Twelve coefficients for three equationsValues of x, y, and z
Cramer's RuleCoefficients and constantsDeterminants and variable values
ClassifyCoefficients of both equationsOne solution, no solution, or infinitely many
Check a SolutionEquations and claimed valuesSubstitution results for both equations

Try these examples to see how the different modes handle common types of systems.

Mode or system typeEquationsResult
Solve 2x22x + 3y = 8, x − y = −1(1, 2)
Solve 3x3x + y + z = 6, 2x − y + z = 3, x + 2y − z = 2(1, 2, 3)
Cramer's Rule2x + 3y = 6, 4x − y = 5x = 3/2, y = 1
No solutionx + 2y = 4, 2x + 4y = 5No solution
Check a Solution2x + 2y = 10, x + 5y = 13(3, 2) satisfies both
Infinitely many solutionsx − y = 2, 3x − 3y = 6x = 2 + t, y = t

A system of equations is a group of two or more equations that contain the same variables and must be solved together. A solution is a set of values that satisfies every equation at the same time. A system of equations calculator can solve a system and show each step. A system of linear equations calculator and a simultaneous equations calculator are names for the same kind of tool.

For two linear equations with two variables, the equations can be represented as lines on a graph. The lines can cross at one point, run parallel, or coincide. Crossing lines give one solution, parallel lines give no solution, and coincident lines give infinitely many solutions.

A system is consistent if it has at least one solution. It is inconsistent if it has no solution.

Consider these examples:

  • One solution: x + y = 5 and 2x − y = 4 give (3, 2).
  • No solution: x + 2y = 4 and 2x + 4y = 5 have no common solution.
  • Infinitely many solutions: x − y = 2 and 3x − 3y = 6 represent the same line.

Graphing: Graph both equations and identify their intersection point. If the lines cross once, that point is the solution.

Substitution: Isolate one variable in an equation, then replace that variable in the other equation with the expression you found. A substitution method calculator follows this approach.

Elimination: Multiply the equations when necessary, then add or subtract them to cancel one variable. An elimination method calculator uses this method.

Cramer's Rule: Use determinants to calculate the values of the variables. A cramer's rule calculator uses D, Dx, and Dy for a 2x2 system.

Gauss-Jordan: Write the equations as an augmented matrix and use row operations to reduce it to reduced row-echelon form. A gaussian elimination calculator uses row reduction in a similar way.

All exact methods give the same answer when the solution is unique.

Before solving, write both equations in standard form and choose a method that makes the calculation easier. This section explains the method, step by step.

  1. Write both equations in standard form: Arrange each equation as ax + by = c, with the variables on the left and the constant on the right.
  2. Check the coefficients and signs: Make sure each variable has the correct coefficient and that negative signs are in the right place.
  3. Choose a solving method: Use elimination when the coefficients make a variable easy to cancel. Use substitution when one variable is already isolated.
  4. Solve for one variable: Apply your chosen method to reduce the system and find the value of one variable.
  5. Substitute the value back: Use the value you found in one of the original equations to calculate the other variable.
  6. Check both original equations: Substitute both values into each equation to confirm that the left and right sides match.
  7. For a 3x3 system, eliminate one variable twice: Reduce the three equations to a 2x2 system, solve it, then find the third variable.

Common mistakes include checking the answer in only one equation and changing a sign incorrectly when moving a term across the equals sign. A system of equations calculator can check the answer for you, but you should still check it by hand while you are learning.

Solve: 2x + 3y = 13, 4x − y = 5

Multiply the second equation by 3: 12x − 3y = 15

Add it to the first equation: 2x + 3y + 12x − 3y = 13 + 15, so 14x = 28 and x = 2

Substitute x = 2 into the second equation: 4(2) − y = 5, so 8 − y = 5 and y = 3

The solution is (2, 3).

Solve: x + y = 5, 2x − 3y = 4

Isolate x in the first equation: x = 5 − y

Substitute this expression into the second equation: 2(5 − y) − 3y = 4, so 10 − 2y − 3y = 4, −5y = −6, and y = 6/5

Substitute this value into x = 5 − y: x = 5 − 6/5 = 19/5

The solution is (19/5, 6/5).

These examples show how to solve system of equations by elimination and how to solve system of equations by substitution.

Cramer's Rule uses determinants to solve a system of linear equations. For a 2x2 system in standard form a1x + b1y = c1, a2x + b2y = c2, the main determinant is: D = a1b2 − a2b1

If D ≠ 0, the system has one unique solution. If D = 0, it has no solution or infinitely many solutions, so another check is needed to classify it. A system of equations solver can use Cramer's Rule when D is not zero.

Consider: 2x + 3y = 6, 4x − y = 5

Calculate the main determinant: D = (2)(−1) − (4)(3) = −14

Replace the x-column with the constants to calculate Dx: Dx = (6)(−1) − (5)(3) = −21

Replace the y-column with the constants to calculate Dy: Dy = (2)(5) − (4)(6) = −14

Now divide each variable determinant by D: x = Dx / D = −21 / −14 = 3/2, y = Dy / D = −14 / −14 = 1

The solution is (3/2, 1).

For three variables, calculate four determinants: D, Dx, Dy, and Dz. You can use Sarrus' Rule or cofactor expansion to calculate them.

Consider: x + y + z = 6, 2x − y + z = 3, x + 2y − z = 2

For this system: D = 7, Dx = 7, Dy = 14, Dz = 21

Therefore: x = 1, y = 2, z = 3

When D = 0, Cramer's Rule does not provide a unique solution. The calculator directs you to the Classify mode.

Two linear equations with two variables can have one solution, no solution, or infinitely many solutions.

For: a1x + b1y = c1, a2x + b2y = c2, the ratio test is:

  • One solution: a1/a2 ≠ b1/b2
  • No solution: a1/a2 = b1/b2 ≠ c1/c2
  • Infinitely many solutions: a1/a2 = b1/b2 = c1/c2

Geometrically, the slopes of the two lines explain these outcomes. Different slopes mean the lines cross once, the same slope means the lines never meet or are the same line.

TypeEquationsResult
One solution5x + 3y = 12, 2x − y = 4(24/11, 4/11)
No solutionx + 2y = 4, 2x + 4y = 5No solution
Infinitely many solutionsx − y = 2, 3x − 3y = 6x = 2 + t, y = t

A system does not need to contain simple numbers to have a unique solution. For example, 3x − y = 7 and 2x + 5y + 1 = 0 have the unique solution (2, −1). A system of equations calculator can confirm this result, and a system of equations with no solution and a system of equations with infinitely many solutions are the other two possible outcomes.

One useful test appears during elimination. If the variables cancel and the result is 0 = 0, the equations are dependent and have infinitely many solutions. If the result is 0 = −3, the statement is impossible, so the system has no solution.

A 3x3 system contains three linear equations and three variables. Geometrically, each equation represents a plane, and a unique solution is the single point where all three planes meet. A 3x3 system can be solved step by step in the same way as a 2x2 system, with one extra elimination step.

One common way to solve a 3x3 system is Gauss-Jordan elimination. First, write the coefficients and constants as an augmented matrix. Then use row operations to turn the left side into the identity matrix and read the answers off the right side.

If a row reduces to 0 = 1, the system has no solution. If a variable remains free and the system is consistent, it has infinitely many solutions.

Solve: x + y + z = 4, 2x + y + z = 6, x + 2y + z = 8

Subtract the first equation from the second: x = 2

Subtract the first equation from the third: y = 4

Substitute both values into the first equation: 2 + 4 + z = 4, so z = −2

The solution is (2, 4, −2). Check it in the first equation: 2 + 4 + (−2) = 4. The equation is satisfied.

Consider: 3x − 9y + 4z = 5, 2x + 7y + z = 12, 3x − z = 0

The solution is: x = 143/150, y = 31/30, z = 143/50

Keep fractions exact while solving and convert them to decimals only when needed. Rounding intermediate results can change the final answer. A published option list once printed these answers without their fraction slashes, which shows why exact fractions matter.

Word problems become easier when you define the unknown values first and translate each sentence into an equation. Name the unknowns, write one equation for each piece of information, then solve the system. A word problem usually gives you two facts about two unknowns.

Crab tickets cost x dollars and vegetarian tickets cost y dollars. The two sales records give: 23x + 34y = 1930, 20x + 38y = 1906

Multiply the first equation by 20 and the second by 23: 460x + 680y = 38600, 460x + 874y = 43838

Subtract the first result from the second: 194y = 5238, so y = 27

Substitute y = 27 into the first original equation: 23x + 34(27) = 1930, so 23x = 1012 and x = 44

The ticket prices are $44 for a crab ticket and $27 for a vegetarian ticket.

A collection contains 28 stamps worth Rs 10 in total. Some stamps are worth 25 paise and the rest are worth 50 paise. Let x represent the number of 25-paise stamps and y the number of 50-paise stamps.

The equations are: x + y = 28, 25x + 50y = 1000

Divide the second equation by 25: x + 2y = 40

Subtract the first equation: y = 12

Substitute into x + y = 28: x = 16

There are 16 stamps worth 25 paise and 12 stamps worth 50 paise.

Two numbers have a sum of 32 and a difference of 2. Let the numbers be x and y.

x + y = 32, x − y = 2

Add the equations: 2x = 34, so x = 17

Substitute into the first equation: 17 + y = 32, so y = 15

The two numbers are 17 and 15.

The tool's Check mode is the fastest way to verify a word-problem answer because it substitutes the claimed values into both equations.

Before solving, make sure each equation is arranged correctly. Equations with fractions are often easier to solve after clearing the denominators, and equations that are not in standard form must be rearranged first.

Consider: x/3 + y/4 = 4, 5x/6 − y/8 = 4

Multiply the first equation by 12 and the second equation by 24: 4x + 3y = 48, 20x − 3y = 96

Add the equations: 24x = 144, so x = 6

Substitute into the first equation: 4(6) + 3y = 48, so 3y = 24 and y = 8

The solution is (6, 8).

You may also need to rearrange equations that are not in standard form. For example: x − 3y − 7 = 0, 3x − 3y = 15

Move the constant in the first equation to the right: x − 3y = 7

Subtract the first equation from the second: 2x = 8, so x = 4

Substitute into the first equation: 4 − 3y = 7, so y = −1

The solution is (4, −1).

Remember that these methods apply to linear equations. An equation containing x² is not linear, so x² + 3y = −1 cannot be solved using the same linear-system methods. A result presented for that equation as if it were linear is meaningless, because a system of equations calculator is designed for linear systems only.

In version 1, this system of equations calculator does not draw graphs of the two lines, solve nonlinear systems (anything with x², xy, or higher powers), handle 4x4 or larger systems, or work with symbolic parameters. A graph mode is planned for a later version, but it is not part of the current tool.

If your answer does not match another tool or your textbook, check these six common causes before assuming the system of equations calculator is incorrect.

  1. Rounding too early: Keep fractions exact until the final step, then round the result if needed.
  2. A sign error: Check for mistakes when moving a term across the equals sign.
  3. Incorrect standard form: Rearrange each equation into standard form before reading its coefficients.
  4. Checking only one equation: Substitute your answer into both original equations to confirm it satisfies both.
  5. Mixing up Dx and Dy: In Cramer's Rule, Dx replaces the x-column with constants, while Dy replaces the y-column.
  6. Different rounding: Different tools may display different decimal values because they use different rounding rules.

How do I solve a system of equations by elimination? To use elimination, multiply one or both equations so that one variable has the same or opposite coefficients, then add or subtract the equations to cancel that variable. For example, 2x − 3y = −1 and y = x − 1, the solution is (4, 3), which satisfies both equations.

How do I solve a system of equations by substitution? First, isolate one variable in either equation, then substitute the expression into the other equation and solve. For example, 3x + 4y = 10 and 2x − 2y = 2, substitution gives the solution (2, 1). A solve a system of equations calculator can also show how the substitution steps lead to the answer.

How do I know if a system has no solution? A system of two linear equations has no solution when the lines are parallel. For example, x + 2y = 4 and 2x + 4y = 5, the determinant is D = 0, and elimination produces 0 = −3, a contradiction that confirms there is no solution.

Can a system have infinitely many solutions? Yes, when both equations represent the same line, every point on that line is a solution. For example, x − y = 2 and 3x − 3y = 6, the lines coincide and the solutions are x = 2 + t, y = t, where t can be any real number.

Final Thought

If you can tell whether two lines cross, run parallel, or coincide, most systems become short work. A system of equations calculator does the arithmetic and shows each step, while the ideas in this article explain why each step is there. Use the answer to check your work, keep the method in mind, and the next system will take less time.