RREF Calculator
Reduce any matrix to reduced row echelon form with exact fractions, watch every row operation on your own numbers, and practice doing them yourself.
Matrix
Enter your matrix below, or start from an example.
Up to 12 rows and 12 columns.
Use integers, decimals, or fractions such as 1/3. Paste rows from a spreadsheet or a Python list into any cell.
Input
Reduced row echelon form
Updates as you type.
Exactly one solution: .
- Rank of the augmented matrix
- 3
- Pivot columns
- 1, 2, 3
- Free columns
- None
Row echelon form
A matrix can have many row echelon forms, but only one reduced form. This is the one reached by the steps below.
Row operations, one at a time
This is your starting matrix. Press next or play to begin.
Show all 9 row operations
What reduced row echelon form means
A matrix is in reduced row echelon form (RREF) when all of these hold:
- Any rows of all zeros are at the bottom.
- The first nonzero entry of each other row, called its pivot, is .
- Each pivot is to the right of the pivot in the row above.
- Each pivot is the only nonzero entry in its column.
For example:
Row echelon form (REF) only needs the first three conditions, with zeros below each pivot. A matrix can have many row echelon forms, but it has exactly one reduced row echelon form.
How row reduction works
Three row operations are allowed, because none of them changes the solutions of the underlying system:
- Swap two rows:
- Multiply a row by a nonzero number:
- Add a multiple of one row to another:
Gaussian elimination works through the columns from left to right, creating a pivot in each one that can have it and clearing the entries below. That gives a row echelon form. Gauss-Jordan elimination then clears the entries above each pivot, which gives the RREF. The number of pivots is the rank of the matrix, and columns without a pivot are free.
Tips for using the calculator
- Enter integers, decimals, or fractions such as
1/3. Results are exact; switch to Decimals for a rounded view. - Turn on Last column is the right-hand side to read the result as a system of equations and see whether it has one, none, or infinitely many solutions.
- Open Steps to watch each operation, using the player to pause, go back, or jump to any step.
- Open Practice to do the row operations yourself. A hint is always available if you get stuck, and any route to the RREF counts.
- Paste a block from a spreadsheet, or a Python list such as
[[1, 2], [3, 4]], into any cell to fill the grid at once.
To multiply matrices instead, try the Matrix Multiplication Calculator.
Related calculators
Keep working with matrices and linear systems.
Matrix Multiplication Calculator
Multiply two to four matrices with exact fractions, entry-by-entry explanations, and Python list import and export.
System of Linear Equations Calculator
Solve systems with up to 12 unknowns in exact fractions, find out if there is one solution, none, or infinitely many, and see why.
Fraction Calculator
Add, subtract, multiply, and divide between two fractions with detailed step-by-step solutions.