Matrix RREF Calculator

Enter a matrix, choose its size, and see the full Gauss-Jordan elimination step by step until RREF is reached.

Matrix Input

Rows:
Cols:

Enter matrix values and click Calculate RREF

Summary

Enter a matrix, choose its size, and see the full Gauss-Jordan elimination step by step until RREF is reached.

How it works

  1. Select the number of rows and columns for your matrix (up to 5×6).
  2. Fill in each cell with a numeric value; decimals and negatives are accepted.
  3. Click "Calculate RREF" to run Gauss-Jordan elimination.
  4. Each row operation (scale, swap, replace) is listed as a step with the resulting matrix.
  5. The final RREF is highlighted at the bottom with pivot positions marked.
  6. Use "Random" to load a sample matrix, or "Clear" to start over.

Use cases

  • Solve systems of linear equations by reducing the augmented matrix.
  • Find the rank of a matrix by counting pivot columns in RREF.
  • Determine whether a system has no solution, one solution, or infinitely many.
  • Verify homework answers with step-by-step Gauss-Jordan working.
  • Find the null space / kernel of a matrix.
  • Check linear independence of a set of vectors.
  • Compute the inverse of a matrix using an augmented [A | I] setup.

Frequently Asked Questions

Last updated: 2026-06-10 · Reviewed by Nham Vu