Intermediate

Elimination Method Calculator — Systems of Equations

Solve any system of two linear equations (a₁x + b₁y = c₁ and a₂x + b₂y = c₂) using the elimination method — enter the six coefficients and get x, y, a step-by-step solution, and a plot of both lines.
Equation 1: a₁x + b₁y = c₁
Equation 2: a₂x + b₂y = c₂
Solution
x = 1.9286, y = 2.7143
x
1.9286
y
2.7143
Determinant D
-14
Intersection
(1.9286, 2.7143)
Solution
Step-by-step elimination
1

Write the system of equations

Eq1: 2x + 3y = 12 Eq2: 4x + -1y = 5
2

Multiply Eq1 by the leading coefficient of Eq2, and vice versa

Eq1 × 4: 8x + 12y = 48 Eq2 × 2: 8x + -2y = 10
3

Subtract to eliminate x

14y = 38 → y = 38 ÷ 14 = 2.7143
=

Substitute y back into Eq1 to find x

2x + 3 × 2.7143 = 12 → x = 1.9286
Step by step
  1. 1

    Determinant D = a₁b₂ − a₂b₁

    2 × -1 − 4 × 3 = -14
  2. 2

    x numerator = c₁b₂ − c₂b₁

    12 × -1 − 5 × 3 = -27
  3. 3

    x = (c₁b₂ − c₂b₁) ÷ D

    -27 ÷ -14 = 1.9286
  4. 4

    y numerator = a₁c₂ − a₂c₁

    2 × 5 − 4 × 12 = -38
  5. 5

    y = (a₁c₂ − a₂c₁) ÷ D

    -38 ÷ -14 = 2.7143
    Both x and y simultaneously satisfy both original equations.
Results are estimates for general information only and are not professional advice — always verify important results independently before relying on them. Read the full disclaimer.
Quick answer

How does this calculator work?

Solve a₁x + b₁y = c₁ and a₂x + b₂y = c₂ by elimination: multiply each equation so one variable cancels, solve the remaining single-variable equation, then substitute back. The determinant D = a₁b₂ − a₂b₁ must be non-zero for a unique solution.

Formula
D = a₁b₂ − a₂b₁ • x = (c₁b₂ − c₂b₁) / D • y = (a₁c₂ − a₂c₁) / D
How this is calculated

The elimination method removes one variable by multiplying each equation by a chosen factor and then adding or subtracting the results. For example, to eliminate x from a₁x + b₁y = c₁ and a₂x + b₂y = c₂, multiply the first equation by a₂ and the second by a₁, then subtract. The x terms cancel, leaving a single equation in y alone. Solving for y and substituting back gives x.

The same result follows from Cramer's rule: compute the determinant D = a₁b₂ − a₂b₁, then x = (c₁b₂ − c₂b₁)/D and y = (a₁c₂ − a₂c₁)/D. If D = 0 the lines are parallel (no solution) or coincident (infinite solutions).

Geometrically, each linear equation defines a straight line on the xy-plane. The solution is the point where they cross — so if the lines are parallel they never cross (no solution), and if they are the same line every point satisfies both equations (infinite solutions). The plot shows both lines and marks the intersection.

Frequently asked questions

Elimination is usually faster when the coefficients of one variable have a simple relationship — for example, when one coefficient is a multiple of the other, the multiplication step is trivial. Substitution is often easier when one equation already has a variable isolated (e.g. y = 2x + 3). Both methods always give the same answer.

A determinant D = 0 means the two lines have the same slope (they are parallel or identical). If they are parallel the system has no solution. If they are the same line every point on it is a solution — infinitely many solutions. In either case the equations cannot be solved for a unique (x, y).

No — it solves only 2 × 2 systems (two equations, two unknowns). For three equations and three unknowns you would need Gaussian elimination or a 3 × 3 determinant, which is a separate operation beyond the scope of this tool.

Also known as

elimination method calculator
system of equations solver
linear equations elimination
simultaneous equations calculator
solve two linear equations
algebra system solver
two equations two unknowns

APA

TG we-Calculate Editorial Team. (2026). Elimination Method Calculator — Systems of Equations [Online calculator]. TG we-Calculate. https://we-calculate.com/calculator/elimination-method-calculator

Chicago

TG we-Calculate Editorial Team. "Elimination Method Calculator — Systems of Equations." TG we-Calculate. 2026. https://we-calculate.com/calculator/elimination-method-calculator.

IEEE

TG we-Calculate Editorial Team, "Elimination Method Calculator — Systems of Equations," TG we-Calculate, 2026. [Online]. Available: https://we-calculate.com/calculator/elimination-method-calculator

BibTeX

@misc{wecalculate_elimination_method_calculator, title = {Elimination Method Calculator — Systems of Equations}, author = {{TG we-Calculate Editorial Team}}, howpublished = {\url{https://we-calculate.com/calculator/elimination-method-calculator}}, year = {2026}, note = {TG we-Calculate} }

Did this calculator help you?