System of Equations Calculator

Quick answer

The system of equations calculator solves 2 × 2 and 3 × 3 systems of linear equations with Gauss–Jordan elimination, showing the augmented matrix, its reduced row echelon form and the row operations.

Solution
x = 5, y = 3, z = −2
x
5
y
3
z
−2
Augmented matrix
⎡ 1 1 1 6 ⎤ ⎢ 0 2 5 −4 ⎥ ⎣ 2 5 −1 27 ⎦
Reduced row echelon form
⎡ 1 0 0 5 ⎤ ⎢ 0 1 0 3 ⎥ ⎣ 0 0 1 −2 ⎦
Row operations
R1 ↔ R3 R1 ÷ 2 R3 − (1)·R1 R2 ÷ 2 R1 − (5/2)·R2 R3 − (−3/2)·R2 R3 ÷ 21/4 R1 − (−27/4)·R3 R2 − (5/2)·R3

Systems of linear equations model mixtures, networks, balancing chemical equations, budgets and much more. A system can have exactly one solution, no solution (inconsistent) or infinitely many (dependent equations).

How to use the System of Equations Calculator

  1. Choose two or three equations.
  2. Enter each equation in the form a·x + b·y + c·z = d, one row per equation.
  3. Read the solution and the row operations used.

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

How it works

Gauss–Jordan elimination uses three row operations (swapping rows, scaling a row and adding a multiple of one row to another) to turn the coefficient part of the augmented matrix into the identity. Integer systems are solved with exact fractions.

Formula

Augmented matrix [A | d] → reduced row echelon form [I | x]

Worked example

Inputs: Number of equations: Three equations (x, y, z); a₁ (x): 1; b₁ (y): 1; c₁ (z): 1; d₁ (= right side): 6; a₂ (x): 0; b₂ (y): 2; c₂ (z): 5; d₂ (= right side): -4; a₃ (x): 2; b₃ (y): 5; c₃ (z): -1; d₃ (= right side): 27.
Results: Solution = x = 5, y = 3, z = −2; x = 5; y = 3; z = −2; Augmented matrix = ⎡ 1 1 1 6 ⎤
⎢ 0 2 5 −4 ⎥
⎣ 2 5 −1 27 ⎦; Reduced row echelon form = ⎡ 1 0 0 5 ⎤
⎢ 0 1 0 3 ⎥
⎣ 0 0 1 −2 ⎦.

Key terms

Consistent system
A system with at least one solution.
Reduced row echelon form
A matrix with leading 1s and zeros above and below them.

Frequently asked questions

How many solutions can a linear system have?

Exactly one, none or infinitely many.

What is an augmented matrix?

The coefficients with the right-hand sides added as an extra column.

How do I enter an equation with a missing variable?

Use 0 as its coefficient.

Which method is best for 3 × 3 systems?

Gaussian or Gauss–Jordan elimination; Cramer's rule also works but needs four determinants.

Sources

  1. OpenStax: College Algebra 2e
  2. MIT OpenCourseWare: 18.06 Linear Algebra (Gilbert Strang)

Cite this calculator

Speedy Calculator. (2026). System of Equations Calculator. Speedy Calculator. https://speedycalculator.com/calculators/math/system-of-equations/