Built and fact-checked by the DocNectar team — see our editorial standards
Key Features
Instant Calculation
Get accurate results in real time with our optimized algorithm.
Mobile Friendly
Fully responsive design. Works on all devices & screen sizes.
Privacy Focused
Your data stays on your device. We don't store any inputs.
100% Free
No hidden costs. This tool is completely free forever.
The substitution method solves a system of two linear equations by isolating one variable in one equation, then plugging that expression directly into the other. This tool walks through every step: solve, substitute, solve again, then back-substitute.
How it works
The first equation is solved for y in terms of x, then that expression replaces y in the second equation, turning it into a single-variable equation solvable for x. That x-value is then substituted back into the first equation to find y.
- Enter equation 1: coefficient of x (a₁).
- Enter equation 1: coefficient of y (b₁).
- Enter equation 1: right side (c₁).
- Enter equation 2: coefficient of x (a₂).
- Enter equation 2: coefficient of y (b₂).
- Enter equation 2: right side (c₂).
- Click Calculate to see your results.
Examples
A standard system
x+y=10 and 2x-y=5: solving the first for y=10-x and substituting gives 2x-(10-x)=5, so x=5 and y=5.
Who should use it
- Algebra coursework introducing the substitution method for solving systems.
- Checking substitution-method homework problems.
Industry applications
- Mathematics education
Advantages
- Handles the degenerate cases (infinite solutions, no solution) explicitly rather than just erroring out.
- Shows every algebraic step of the isolate-substitute-solve-back-substitute process.
Limitations
- Limited to 2-variable, 2-equation systems — for 3 or more variables, see the System of Equations Calculator.
Common mistakes to avoid
- Substituting the isolated expression back into the same equation it came from, instead of into the other equation.
Best practices
- Choose whichever variable has a coefficient of 1 (or is easiest to isolate) in either equation to minimize fraction arithmetic.
Tips
- Substitution tends to be fastest when one equation already has an isolated variable (or one with coefficient 1); otherwise, elimination is often quicker.