System of Equations Calculator
A system of equations calculator is an algebraic tool that solves sets of simultaneous equations with multiple variables. The calculator supports systems of two or three linear equations, using methods such as substitution, elimination, matrix inversion, or Cramer's rule to find the variables' values. It can identify unique solutions, infinitely many solutions, or inconsistent systems with no solution, and displays the step-by-step mathematical work for the selected resolution method. Students and engineers use this tool to solve linear algebra problems.
Pick the size, enter each equation in standard form (coefficients on the left, constant on the right), and the calculator returns the solution using Cramer's rule. No-solution and infinite-solution cases are reported.
Quick Answer
Solve simultaneous linear equations. Enter your equations with two or three variables to find the unique solution with step-by-step work.
System size
Equation 1: a₁ x + b₁ y = c₁
Equation 2: a₂ x + b₂ y = c₂
Solution
x = 2, y = 1
Determinant = -7
For larger systems or to see the elimination steps explicitly, switch to the RREF calculator and paste the augmented matrix.
Examples
2x + y = 5; x − 3y = -1
x = 2, y = 1
x + y + z = 6; 2y + 5z = -4; 2x + 5y − z = 27
x = 5, y = 3, z = -2
x + 2y = 4; 2x + 4y = 9
no solution (parallel)
x + 2y = 4; 2x + 4y = 8
infinite solutions (same line)
How it works
The calculator computes the coefficient determinant D and, for each variable, a replaced-column determinant. The unique solution (when D ≠ 0) is the ratio of these determinants.
2×2 case · x = (c₁b₂ − c₂b₁) / (a₁b₂ − a₂b₁)
3×3 case · xᵢ = det(Aᵢ) / det(A)
When det(A) = 0, the system has either no solution or infinitely many; the calculator distinguishes the 2×2 case by checking row proportionality.
Related linear algebra calculators
- RREF calculator for the row-reduction view with explicit pivots and rank.
- Linear regression calculator when the goal is the best-fit line through noisy data, not an exact solution.
- Slope calculator for the slope of any one equation rewritten as y = mx + b.
- Scientific calculator for arithmetic checks against the solution.
- All education calculators.
Related Calculators
More tools from Education



