Learn
A substitution calculator with steps: type the six coefficients of your two equations and the form returns x and y at once. The page then shows how to solve by substitution - solve one equation, substitute into the other, check - one worked example at a time. Six numbers and one click run the substitution calculator; the examples rebuild every step by hand.
Put both equations in the form a1x + b1y = c1 / a2x + b2y = c2, one per row.
Put both equations in standard form first: and . Then fill the six boxes of the substitution calculator and click Calculate.
The substitution calculator starts pre-filled with x + y = 7 and x − y = 1; one click solves it: x = 4, y = 3. Swap in your own numbers and the substitution calculator re-solves instantly.
A false Check row means the determinant is 0: no solution or infinitely many. The special-cases table below separates the two in seconds.
This page is more than a static substitution calculator — it is also an AI tutor. The box under the form takes full questions, photos, and follow-ups:
Substitution means replacing a letter with something equal to it. If x + y = 7, then x is 7 − y everywhere, so the x in the other equation can become 7 − y. One equation, one letter — and solving it is routine. That swap is the one move a substitution calculator makes, over and over. The substitution calculator just never gets tired of it.
A 1904 college algebra text defines the move: to eliminate x is to derive an equation in which x no longer occurs. That definition still drives every substitution method calculator, this one included — type any pair and it runs the same swap on your numbers.
Read the picture: the blue line is every pair with x + y = 7, the orange line every pair with x − y = 1. The lines cross exactly once, at (4, 3). Every substitution calculator question ends at a crossing like this one. One crossing, one solution — that is the substitution calculator's Check row in graphical form.
Here is the full routine — you can solve the system by substitution by hand in six short steps:
Every example below runs these six steps; the substitution calculator collapses them into one click.
The substitution calculator in one picture: x + y = 7 and x − y = 1 are two lines, and the solution (4, 3) is the single point where they cross
The six steps always end at the same two fractions, so the substitution calculator can evaluate them directly:
Both share one denominator — the determinant:
The Check row of the substitution calculator computes exactly this number. A zero there is the substitution calculator's only stop sign.
Special cases — how the substitution calculator reports a false Check row:
Try 2x + 6y = 10 with x + 3y = 5: every ratio matches, one line drawn twice, infinitely many solutions. Change to 9 and no pair works: no solution. The substitution calculator flags both with a false Check row; the ratios tell you which.
Solve the anchor system by substitution, one line per step — the substitution calculator's own default:
The form above holds exactly this system: , , , , , . Click Calculate and the substitution calculator confirms x = 4, y = 3 in one run. That is the substitution calculator's whole promise: six coefficients in, two values out.
A 1904 college algebra text solves this pair, and it still teaches the right habits:
The old book then verifies both: and . Both hold, so . The substitution calculator will agree.
Type 1, 3, 3 and 3, 5, 1 into the substitution calculator above — its x and y rows return −3 and 2 without a single fraction. The substitution calculator and the 1904 text agree: the method is that stable.
Sometimes the solution is given and a coefficient is missing — work the substitution calculator's direction in reverse. Suppose x + y = 7 and 2x − by = 5 have the solution (4, 3). Find b.
With b = 1 the determinant is , not 0. One solution exists, and the substitution calculator reports it as x = 4, y = 3 — run it and see. Change b to 2 and the substitution calculator returns (4.75, 2.25) instead: the system itself changed.
Not every question arrives as a full system. A very common one is: you know one letter and need the other. Take 5x + 2y = 20 with x = 2 — here the substitution calculator works as a variable solver in three moves.
So if you searched for a solve for variable calculator, this page answers that too. Put the known letter in its own row, then read the unknown off the other row. The substitution calculator never cares which letter you were after.
Three slips the substitution calculator catches every day:
Name the slip, fix it, and the substitution calculator confirms the repair — solve one by hand for practice.
The sum of two numbers is 24. One of the numbers is 6 less than the other. Find the two numbers, then check them with the substitution calculator above.
A rectangular vegetable garden has a perimeter of 94 feet. Its length is 5 feet more than twice its width. Find the length and the width, then check with the substitution calculator above.
Rearrange each equation to standard form first: $a_1x + b_1y = c_1$ and $a_2x + b_2y = c_2$. Then type the six coefficients. For y = 2x + 3, rewrite it as −2x + y = 3 and enter $a_1 = −2$, $b_1 = 1$, $c_1 = 3$. The substitution calculator takes the numbers from there.
Use substitution when a variable has coefficient 1, or an equation hands you the variable directly, like y = x + 5 — a substitution calculator shines exactly there. This page is that substitution calculator. Elimination earns its keep when both letters carry awkward coefficients.
A true statement like 0 = 0 means every point on one line satisfies the other. The equations are dependent — one line drawn twice — so the substitution calculator reports infinitely many solutions. Its Check row reads false here too, exactly as in the no-solution case.
Parallel lines never meet: no solution, an inconsistent system. In this substitution calculator both zero-determinant cases surface as a false Check row; the ratios table — not another substitution calculator run — separates them.
Both phrasings lead to this substitution calculator page. Classrooms say solve by substitution or solve using substitution; if you typed solve for substitution, the substitution calculator here is still the right tool. Either way, it solves the pair the same way.
Yes. The x and y rows round to four decimals: 3x + 2y = 8 with x + 3y = 7 returns 1.4286 and 1.8571, exactly 10/7 and 13/7. The method never needs whole numbers, and neither does this substitution calculator — type 3, 2, 8 and 1, 3, 7 into the substitution calculator above and read the two rows. The substitution calculator only rounds the display, never the math.