Search the complete library

What do you want to learn or calculate?

Quick linksAll calculatorsMath subjectsPractice questionsFormula library

Unlock Unlimited Help

Try unlimited chats, explanations, practice, flashcards, and more free for 7 days.

7 days free · cancel anytime

MathGPT Unlimited

  • Chats and explanations
  • Personalized practice exams
  • Custom study guides
  • Flashcard sets
  • Interactive graphs
  • Cancel anytime
Choose a billing period
Ask a parent to pay

No charge for 7 days. After the trial, your selected plan renews automatically until cancelled. Cancel anytime from your plan page; payments are processed securely by Stripe.

Solve systems of equations by substitution

Use the free substitution method calculator to model the algebraic relationship, calculate the requested quantity, and verify it in the original expression. Choose a focused operation below to calculate, inspect the method, and connect the result to a visual model.

The visual updates with your calculation.

Result—Choose a mode, enter the known values, and calculate.
Show your work Step-by-step method
  1. The calculation method and verification will appear here.
Ask MathGPT for a full symbolic explanation →
Algebra

Substitution Method Calculator explained

The short version

  • Substitution solves a system by getting one variable alone, then putting that expression into the other equation.
  • Always substitute into the equation you did not rearrange. Putting it back into the same one gives you 0 = 0 and no progress.
  • It works best when some variable already has a coefficient of 1. If none does, you get fractions and elimination is quicker.

The formula this page uses

from y = f(x), replace every y in the other equation, solve for x, then put x back to get y

What each part means

SymbolWhat it means
x, y — The two unknownsA solution is a pair, not a single number, and it must satisfy both equations.
the isolated variable — The one you get aloneChoose the one with coefficient 1 or −1 to avoid fractions.
the substituted expression — What replaces itWrap it in brackets before substituting, so the multiplication reaches every term.
(x, y) — The solutionWhere the two lines cross. Check it in both original equations.

Show your work: a full example

  1. The systemy = 3x − 4 and 2x + 5y = 14
  2. The first equation already has y alone, so substitute into the second2x + 5(3x − 4) = 14
  3. Multiply the 5 into both terms2x + 15x − 20 = 14
  4. Collect the x terms17x − 20 = 14
  5. Add 20 to both sides17x = 34
  6. Dividex = 2
  7. Put x back into y = 3x − 4y = 3(2) − 4 = 2, so the solution is (2, 2)
  8. Check in the second equation2(2) + 5(2) = 4 + 10 = 14 ✓

A second, different case

  1. A different case: no variable has a coefficient of 13x + 4y = 10 and 5x − 2y = 8
  2. Isolate x from the first equation anyway3x = 10 − 4y, so x = (10 − 4y) / 3
  3. Substitute into the second5(10 − 4y)/3 − 2y = 8
  4. Multiply everything by 3 to clear the fraction5(10 − 4y) − 6y = 24
  5. Expand and collect50 − 20y − 6y = 24, so −26y = −26
  6. Dividey = 1, and x = (10 − 4)/3 = 2
  7. Note what it costone extra fraction-clearing step, which elimination would have skipped entirely
Copy-ready example

y = 3x − 4 and 2x + 5y = 14

The system

Pick the variable that keeps fractions out of the substitution

SystemIsolate thisRearrangedSolution
y = 3x − 4 / 2x + 5y = 14y, already doney = 3x − 4(2, 2)
x − 4y = 7 / 3x + 2y = 7x in the firstx = 4y + 7(3, −1)
2x + y = 9 / 5x − 3y = 6y in the firsty = 9 − 2x(3, 3)
6x − 2y = 14 / x + y = 3y in the secondy = 3 − x(2.5, 0.5)
3x + 4y = 10 / 5x − 2y = 8no clean choicex = (10 − 4y)/3(2, 1), but with a fraction on the way
4x + 2y = 9 / y = −2x + 3y, already doney = −2x + 3none, the x terms cancel and leave 6 = 9

Three mistakes to check for

What students writeWhy it's wrongDo this instead
2x + 5(3x − 4) becoming 2x + 15x − 4The 5 only reached the first term inside the bracket. It has to multiply the −4 as well.Write 2x + 15x − 20, which gives 17x = 34 and x = 2, not the wrong x = 18/17.
Solving to x = 2 and stopping thereA system asks where two lines cross, and a crossing point needs both coordinates.Substitute back: y = 3(2) − 4 = 2, so the answer is the pair (2, 2).
Substituting y = 3x − 4 back into y = 3x − 4Putting an expression into the equation it came from is always true and tells you nothing, giving 0 = 0.Substitute into the other equation, 2x + 5y = 14.

Questions about the Substitution Method Calculator

When is substitution better than elimination?

When one equation is already solved for a variable, or has a coefficient of 1 sitting somewhere. y = 3x − 4 costs nothing to substitute. Once every coefficient is 2 or bigger, elimination usually takes fewer lines.

What happens if I substitute back into the same equation?

You get a statement that is true for every number, like 0 = 0, because you only put the equation back into itself. It is not a sign of infinitely many solutions, it is a sign that the step was wasted.

What if no variable has a coefficient of 1?

You can still do it, you just have to accept a fraction. Isolate whichever variable has the smallest coefficient, then multiply the whole equation through by the denominator as soon as the substitution is made.

How do I know my answer is actually right?

Put both numbers into both original equations, not just the one you finished with. (2, 2) satisfies y = 3x − 4 and also 2x + 5y = 14, and only a genuine solution can do both.

Where to go next

Calculate, interpret, verify.

This workspace keeps the formula and the meaning together. Decimal results are rounded for display; retain full precision when you continue a calculation.

01

Enter known values

Match each input to the quantities in the problem and keep units consistent.

02

Use the relationship

The result panel identifies the formula or algorithm and shows the main substitutions.

03

Read the visual

Use the diagram, plot, or data display to check scale, direction, and plausibility.

04

Practice unaided

Move to targeted questions once you can explain why the method applies.

Continue from this result

Turn one calculation into understanding.

Compare another tool, review the underlying idea, then solve a fresh problem without copying the example.

Recommended next tools

Calculators that work well with this one

See all calculators →

Algebra calculator

Evaluate algebraic relationships and inspect the working.

Open free tool

Quadratic formula calculator

Find roots and connect the discriminant to the graph.

Open free tool

Graphing calculator

Compare equations, roots, intercepts, and inequalities visually.

Open free tool
Learn the mathematics

Understand algebra behind this calculator

A calculator confirms an answer. Working the method yourself is what makes the next problem faster.