RREF Calculator

Reduce any matrix to reduced row echelon form (RREF) and find its rank – great for solving linear systems.

What is reduced row echelon form?

A matrix is in RREF when every leading entry is 1, each leading 1 is the only non-zero number in its column, leading 1s move right as you go down, and zero rows are at the bottom.

How to get RREF (Gauss–Jordan elimination)

  1. Pick a pivot in the leftmost non-zero column and swap it to the top.
  2. Divide the row so the pivot becomes 1.
  3. Subtract multiples of that row to make every other entry in the column 0.
  4. Repeat for the next column and row.

Solving systems

Write the augmented matrix [A | b]. In RREF, each row reads off a variable’s value; a row like [0 0 0 | 1] means no solution, and free columns mean infinitely many solutions.

Frequently asked questions

What does the rank tell me?

The number of independent rows – equal to the number of variables for a unique solution.

Can it handle non-square matrices?

Yes, any m × n matrix.

Last updated 16 November 2026. Results are estimates for general information and are not financial, tax, legal or medical advice.

Related guides