Matrix RREF Calculator

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

Use the Matrix RREF Calculator

Matrix Input

Rows:
Cols:

Enter matrix values and click Calculate RREF

Summary

This tool reduces a matrix of up to 5 rows and 6 columns to Row Reduced Echelon Form (RREF) using Gauss-Jordan elimination. Enter values, click Calculate, and every row operation — scaling, swapping, and row replacement — is shown in sequence so you can follow each transformation from the original matrix to the final RREF.

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-04 · Reviewed by Nham Vu