RREF calculator
Type any matrix, square or not, and see it reduced to reduced row echelon form with every row operation listed, in exact fractions. You also get the rank and pivot columns.
| 1 | 0 | 0 |
| 0 | 1 | 0 |
| 0 | 0 | 1 |
- R2 → R2 − 4·R1
- R3 → R3 − 7·R1
- R2 → R2 ÷ −3
- R1 → R1 − 2·R2
- R3 → R3 + 6·R2
- R1 → R1 + 1·R3
- R2 → R2 − 2·R3
How to use it
- 1Type the matrix with one row per line and spaces between entries. Fractions like 1/2 and decimals both work.
- 2Leave the operation on “Reduced row echelon form of A”.
- 3The answer stays in exact fractions, so nothing is rounded, and the row operations are listed underneath.
What RREF is
A matrix is in reduced row echelon form when:
- Any row of all zeros is at the bottom.
- The first non-zero entry of each row, its pivot, is 1.
- Each pivot is to the right of the pivot above it.
- Each pivot is the only non-zero entry in its column.
Every matrix has exactly one RREF, so it works as a standard form to compare against.
How to row-reduce by hand
Three operations never change a system’s solutions: swap two rows, multiply a row by a non-zero number, and add a multiple of one row to another.
- Find the first column with a non-zero entry, and swap a row with that entry to the top.
- Divide that row by its pivot, to make the pivot 1.
- Subtract multiples of it from every other row, to clear the rest of the column.
- Move to the next row and the next column, and repeat.
What you can read from it
- Solving systems: row-reduce the augmented matrix and read off the solution. A row like 0 0 | 1 means no solution.
- Rank: the number of pivots.
- Free variables: columns with no pivot mean infinitely many solutions.
- Inverses: row-reducing [A | I] gives [I | A⁻¹].
Frequently asked questions
What is the difference between REF and RREF?
Does RREF work for non-square matrices?
How do I solve a system with RREF?
Are the answers exact?
Related tools and guides
Inverse, determinant, multiply, RREF, rank and eigenvalues, in exact fractions.
The inverse of any square matrix, in exact fractions with steps.
Multiply matrices of any compatible size, with the working.
Determinants up to 8 × 8 in exact fractions, with steps.
The characteristic polynomial, eigenvalues and eigenvectors.
Solve linear systems by elimination, in exact fractions.
It opens instantly, with no account and nothing to install.