Substitution Method Calculator

Quick answer

The substitution method calculator solves a system of two linear equations by isolating one variable in the first equation and substituting it into the second, with each step written out.

Solution
(x, y) = (2, 3)
x
2
y
3
Step-by-step solution
1x + 2y = 8 3x − 1y = 3 1. From equation 1: x = (8 − 2y) / 1 2. Substitute into equation 2 and solve: y = 3 3. Back-substitute: x = 2

Substitution is the most natural way to solve simultaneous equations when one variable already has a coefficient of 1, for example y = 2x + 1. It also extends to non-linear systems.

How to use the Substitution Method Calculator

  1. a₁
  2. b₁
  3. c₁
  4. a₂
  5. b₂
  6. c₂

Everything is calculated in your browser, so results appear instantly and nothing you type is sent to a server.

How it works

The calculator solves the first equation for x (or for y if a₁ = 0), substitutes into the second equation, solves for the remaining variable and back-substitutes. It reports when the system has no solution or infinitely many.

Formula

From a₁x + b₁y = c₁: x = (c₁ − b₁y)/a₁, then substitute into a₂x + b₂y = c₂

Worked example

Inputs: a₁: 1; b₁: 2; c₁: 8; a₂: 3; b₂: -1; c₂: 3.
Results: Solution = (x, y) = (2, 3); x = 2; y = 3; Step-by-step solution = 1x + 2y = 8
3x − 1y = 3
1. From equation 1: x = (8 − 2y) / 1
2. Substitute into equation 2 and solve: y = 3
3. Back-substitute: x = 2.

Key terms

Back-substitution
Putting a found value back into an earlier equation.

Frequently asked questions

When is substitution easiest?

When one variable has a coefficient of 1 or −1.

Can substitution solve non-linear systems?

Yes, for example a line and a circle.

What does 0 = 5 mean in the working?

The system is inconsistent, so there is no solution.

What does 0 = 0 mean?

The equations are dependent, with infinitely many solutions.

Sources

  1. OpenStax: College Algebra 2e
  2. OpenStax: Intermediate Algebra 2e

Cite this calculator

Speedy Calculator. (2026). Substitution Method Calculator. Speedy Calculator. https://speedycalculator.com/calculators/math/substitution-method/