Gauss-Jordan Elimination Calculator

Quick answer

The Gauss–Jordan elimination calculator solves a system of two or three linear equations by reducing the augmented matrix to reduced row echelon form, listing every row operation.

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

Gauss–Jordan elimination is the systematic version of solving equations by elimination. Once the augmented matrix is in reduced row echelon form, the solution can be read directly, or the method reveals that there is no solution or infinitely many.

How to use the Gauss-Jordan Elimination Calculator

  1. Number of equations
  2. a₁ (x)
  3. b₁ (y)
  4. c₁ (z)
  5. d₁ (right side)
  6. a₂ (x)
  7. b₂ (y)
  8. c₂ (z)
  9. d₂ (right side)
  10. a₃ (x)
  11. b₃ (y)
  12. c₃ (z)
  13. d₃ (right side)

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

How it works

For each column a pivot is chosen (largest absolute value, for stability), its row is scaled to make the pivot 1 and multiples are subtracted from every other row. Integer systems are worked with exact fractions.

Formula

Row operations: Rᵢ ↔ Rⱼ, Rᵢ ÷ k, Rᵢ − k·Rⱼ ⇒ [I | x]

Worked example

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

Key terms

Pivot
The leading non-zero entry used to eliminate others.

Frequently asked questions

What is the difference between Gaussian and Gauss–Jordan elimination?

Gaussian stops at row echelon form and back-substitutes; Gauss–Jordan continues to reduced form.

What does a row of zeros mean?

A dependent equation, so there may be infinitely many solutions.

What does [0 0 0

1] mean? | The system is inconsistent, with no solution.

Why choose the largest pivot?

Partial pivoting reduces rounding errors.

Sources

  1. Wolfram MathWorld: Gauss-Jordan elimination
  2. MIT OpenCourseWare: 18.06 Linear Algebra (Gilbert Strang)
  3. Jim Hefferon: Linear Algebra (free textbook)

Cite this calculator

Speedy Calculator. (2026). Gauss-Jordan Elimination Calculator. Speedy Calculator. https://speedycalculator.com/calculators/math/gauss-jordan-elimination/