Written and reviewed byMuhammad ShahidHow we verify calculations
System of Equations Calculator: Two Variables, Every Step Shown
Enter two linear equations like x + y = 10 and x - y = 4 and get the solution pair with elimination and substitution written out.
How to use the system of equations calculator
- Type the first equation in the top box, for example
2x + y = 7. - Type the second equation in the bottom box, like
x - y = 2. - Press Solve System and read the pair, then the elimination and substitution steps beneath it.
Both equations need an equals sign and stay linear: letters, numbers, decimals, and parentheses all work, as in 2(x + y) = 12. Any two letters count, so a system in a and b solves the same way as one in x and y.
What is a system of equations?
A system is two equations that must hold at the same time for the same pair of values. Each equation alone has infinitely many solutions, a whole line of them. Together they narrow to a single crossing point, or to nothing at all when the lines run parallel, or back to a full line when the two equations turn out to describe the same one.
Solving the system means finding that crossing: the pair that satisfies both equations at once. Checking takes seconds, since you only substitute the pair back into the two originals.
Worked examples, solved step by step
Every type the calculator handles appears below, including the two special outcomes. Type any pair into the boxes above and it runs the same steps live.
Classic add-or-subtract system
x + y = 10
x - y = 4
Scale so the y coefficients match.
Multiply equation 1 by -1
Subtract equation 2 from the scaled equation 1.
-2x = -14
x = 7
Substitute back into equation 1.
Substitute x = 7 into equation 1: 1(7) + y = 10
y = 3
Equation with a missing variable
2x + 3y = 7
x = 5
Equation 2 already gives x, but scaling keeps one method across the board.
Multiply equation 2 by 3
-3x = -15
x = 5
Substitute into equation 1, where y appears.
Substitute x = 5 into equation 1: 2(5) + 3y = 7
y = -1
Parentheses on the first equation
2(x + y) = 12
x - y = 2
Distribute first.
Equation 1: 2x + 2y = 12
Multiply equation 1 by -1, equation 2 by 2
-4x = -16
x = 4
Substitute into equation 1.
Substitute x = 4 into equation 1: 2(4) + 2y = 12
y = 2
Parallel lines: no solution
x + y = 5
2x + 2y = 13
The variable parts are proportional, the constants are not.
D = 0 while the constant terms do not match, so the lines are parallel.
No solution
The same line twice: infinitely many solutions
2x + 4y = 10
x + 2y = 5
Equation 1 is equation 2 multiplied by 2.
D = 0 and the two equations describe the same line.
Every point on the line is a solution: x = t, y = -0.5t + 2.5
Elimination and substitution together
Elimination (the first half)
Multiply each equation by the coefficient it carries for the variable you want gone, then subtract. Matching magnitudes cancel that variable and leave a single-variable equation. This calculator eliminates the first variable you wrote, then divides by the determinant-like number it produced.
Substitution (the second half)
With one value in hand, put it back into either original equation and solve for the remaining letter. The calculator picks the equation where the second variable actually appears, so you never substitute into something like x = 5 when you need y.
How to choose your own path by hand
If one equation already solves for a letter cleanly (x = 5), substitute from there. If both equations look equally plain (x + y = 10 and x - y = 4), adding or subtracting them directly eliminates a variable. Decimals are fine either way: line them up before you combine.
No solution and infinitely many solutions
Parallel lines: no solution
When the variable parts are proportional but the constants are not, the lines never meet. x + y = 5 and 2x + 2y = 13 ask for the same left side with different right sides, which no pair can satisfy.
Same line: infinitely many solutions
When one equation is a multiple of the other, they trace the same line, so every point on it works. The calculator writes the general answer with a parameter: for 2x + 4y = 10 and x + 2y = 5, that is x = t, y = -0.5t + 2.5.
Common mistakes
Scaling Only One Term
Multiplying an equation by 3 hits every term: 2x + 4y = 10 becomes 6x + 12y = 30, not 6x + 4y = 30. The right side scales too.
Forgetting the Minus Applies to Everything
Subtracting x - y = 4 from -x - y = -10 flips the sign of both x and y on the second equation: -2y = -14... write out the scaled pair before subtracting so no term escapes the sign change.
Substituting Into a Modified Equation
After scaling, equations are stand-ins for the original pair. Substitute your first value into an original equation, the way the calculator does, so an earlier slip cannot travel further.
Treating No Solution as a Mistake
Parallel lines really have no intersection: x + y = 5 and 2x + 2y = 13 cannot both hold. If your steps end in a false statement like 0 = 13, the answer is no solution, not an error.
Mixing Up the Order of Answers
The result lists values in the order the letters first appear: x = 7, y = 3 means x is 7. Checking the pair in both equations catches any swap immediately.
What this calculator handles and what it hands off
One equation, one unknown
A single equation in a single letter is a linear equation, not a system. The Equation Solver covers those, with practice problems in the linear equation examples list.
Three equations or three unknowns
Larger systems follow the same elimination ideas, but this tool stays with two equations and two unknowns.
Nonlinear terms
Products like xy and powers like xยฒ make the equations nonlinear; their solutions are curves and points, not a single line crossing. Those need different methods.
Solving a formula for one letter
Rearranging a single formula, like 1/5 gc = r solved for gc, is a literal equation: see the literal equations guide.
Frequently Asked Questions About Systems of Equations
What is a system of equations?
Two or more equations that share the same variables, solved together for one set of values that satisfies all of them. For x + y = 10 and x - y = 4, the pair x = 7, y = 3 makes both true at once. On a graph, the solution is where the two lines cross.
What is the elimination method?
Scale the equations so one variable has matching coefficients, then subtract to cancel it. In x + y = 10 and x - y = 4, multiplying the first by -1 gives -x - y = -10; subtracting the second leaves -2x = -14, so x = 7. The calculator runs this for the first variable.
What is the substitution method?
Solve one equation for a variable, then substitute that expression into the other equation. After the calculator finds x = 7, it substitutes back into equation 1: 7 + y = 10, so y = 3. You get both methods' worth of steps in one run.
When does a system have no solution?
When the lines are parallel: the variable parts match but the constants do not. In x + y = 5 and 2x + 2y = 13, the second equation asks for double the left side with a non-matching right side, which is impossible. The calculator reports No solution.
When are there infinitely many solutions?
When both equations describe the same line. In 2x + 4y = 10 and x + 2y = 5, the first is just the second times 2, so every point on the line works. The calculator prints the solutions in parameter form, like x = t, y = -0.5t + 2.5.
Can it solve three equations with three unknowns?
No. This tool handles two equations with two unknowns. Three unknowns need a larger system solved by the same ideas at greater scale. It also rejects nonlinear terms like xy or x squared, which are not straight lines.
How do I check the solution?
Put both values back into both original equations. For x = 7, y = 3 in x + y = 10: 7 + 3 = 10, and in x - y = 4: 7 - 3 = 4. The calculator runs this check on its own and prints a confirmation line when both hold.
System of Equations Calculator Pros & Cons
Pros
- Elimination and substitution steps in one run
- Parallel and same-line outcomes named explicitly
- Decimals, parentheses, and any two letters
- Automatic check against both original equations
- Free, with no sign-up or email
Cons
- Two equations only, not three or more
- Linear terms only: no xy or xยฒ
- No graph of the crossing lines

Reviewed by Muhammad Shahid
Writer & Calculator ReviewerWrites and reviews calculator content across marketing, finance, health, and math at GM Calculator.
Last reviewed: November 4, 2026