Solve two simultaneous linear equations for x and y step by step, with a clear no-solution message when lines are parallel — free, private, and runs entirely in your browser.
Elimination Calculator
Solve a pair of simultaneous equations by elimination and see x, y and the checking steps.
Enter your values
Fill in the fields below — the result appears with every step shown.
Your result will appear here
Enter your values above, then press Calculate — or press Enter in any field.TinyExe · Elimination Result
Calculated locally in your browser
—
Name
—
Equation 1: coefficient of x
—
Equation 1: coefficient of y
—
Equation 1: constant
—
How this was calculated
What to do next
TinyExe PDF & PNG exports carry the TinyExe logo and tinyexe.com header & footer.
Runs 100% in your browser — your numbers never leave this tab; nothing is uploaded or stored.
The short answer
The elimination method solves two simultaneous linear equations by scaling and subtracting them so one unknown cancels. For 2x plus 3y equals 13 and x minus y equals 1, elimination gives x equals 3.2 and y equals 2.2, and substituting back confirms both equations balance exactly: 6.4 plus 6.6 equals 13, and 3.2 minus 2.2 equals 1.
- Determinant not zero means exactly one solution
- Always verify by substituting back into both equations
Solution types
Reference values for this calculator.
| Determinant | Meaning |
|---|---|
| Not zero | One unique (x, y) solution |
| Zero, equations proportional | Infinitely many solutions |
| Zero, not proportional | No solution — parallel lines |
The formula
The exact formula this calculator uses — every variable in it is explained in the card below.
The formula
Solves a pair of simultaneous linear equations by the elimination method and honestly reports the no-unique-solution case instead of inventing numbers.
Worked examples
Worked examples with the full working shown — try them in the calculator to check.
Example 1
Worked pair
2x + 3y = 13 and x - y = 1
| Calculation | Steps |
|---|---|
| Multiply the second equation by 3: 3x - 3y = 3. Add to the first: 5x = 16, x = 3.2. Then y = 3.2 - 1 = 2.2. | x = 3.2, y = 2.2. |
Result
Example 2
Whole numbers
x + y = 10 and x - y = 4
| Calculation | Steps |
|---|---|
| Adding eliminates y: 2x = 14, x = 7; then y = 3. | x = 7, y = 3. |
Result
Example 3
Larger coefficients
3x + 2y = 16 and 5x - 3y = 5
| Calculation | Steps |
|---|---|
| Determinant = -19; x = (16 x -3 - 5 x 2)/-19 = 58/19 = 3.0526; y = 3.4211. | x about 3.05, y about 3.42. |
Result
How to use this calculator
Step 1
Enter the values for this calculation in the labelled fields.
Step 2
Check the units and any mode selector before calculating.
Step 3
Read the headline result, then the step-by-step working and detail figures.
Step 4
Try a second set of values to see how the result responds.
Frequently asked questions
What is the elimination method?
You multiply one or both equations so that adding or subtracting them cancels (eliminates) one variable, leaving a one-variable equation you can solve, then back-substitute for the other variable.
When does elimination fail?
When the determinant a1b2 - a2b1 is zero the lines are parallel or the same line, so there is no single crossing point — the calculator says so rather than returning a fake answer.
How do I check the solution?
Substitute x and y back into both original equations; both must balance. The result details show the first-equation check automatically.
Is elimination better than substitution?
Elimination is usually faster when coefficients are whole numbers; substitution is convenient when one variable is already isolated. Both give the same solution.
Can it solve three equations?
No — this tool is scoped to two equations in two unknowns. Three unknowns need a 3x3 system solver.
About this calculator
This tool solves two simultaneous linear equations using the elimination method taught in school algebra: scale, subtract to cancel a variable, solve, then back-substitute.
Elimination works because scaling an equation and subtracting another true equation keeps equality true while removing one unknown. The determinant in the steps is the test for whether that removal is possible: a zero determinant means the equations describe parallel or identical lines.
A common slip is to eliminate carelessly and never verify. Always substitute the pair back into both original equations — a solution that satisfies only one equation is an arithmetic error, not an answer. This calculator shows that check in its details.
Use it for algebra homework, for mixture and pricing problems that reduce to two equations, and whenever two conditions must be satisfied by the same pair of numbers.
How to calculate it yourself
Step 1
Line the equations up as a1x + b1y = c1 and a2x + b2y = c2.
Step 2
Multiply one or both equations so the chosen variable has equal coefficients.
Step 3
Subtract to eliminate it and solve the one-variable equation.
Step 4
Substitute back into an original equation for the second variable, then verify in both.
Real-life examples
Splitting a bill two ways
Two friends know their combined spend was $10 and one spent $4 more than the other.
x + y = 10 and x - y = 4 give x = 7 and y = 3.
One spent $7 and the other $3 — the split is settled without trial and error.
Mixture problem
A technician mixes two solutions; the two balance conditions reduce to 2x + 3y = 13 and x - y = 1 litres.
Elimination gives x = 3.2 litres and y = 2.2 litres.
She measures 3.2 L of the first solution and 2.2 L of the second.
Ideas & use cases
- Homework checking: solve by hand first, then compare — a mismatch points at the exact step where signs slipped.
- Word-problem translation: practise turning two sentences into two equations, then let the tool do the mechanical solving.
- Parallel-line spotting: enter proportional coefficients to see the no-solution message and connect it to the graph.
Limitations & sources
- Solves two linear equations in two unknowns only; it does not handle non-linear systems or three or more unknowns.
Sources: Standard simultaneous-equation method, OpenStax College Algebra, systems of linear equations
