An RREF calculator reduces a matrix to reduced row echelon form using Gauss-Jordan elimination. Each leading entry becomes 1 and the only nonzero number in its column. Enter a system of equations as an augmented matrix and the reduced form reads the solution straight off, no back substitution needed.
How to use it
- Write your matrix in the box, one row per line, numbers separated by spaces. Up to 6 rows and 7 columns.
- If you are solving a system, each row is one equation with the answer as the last number.
- Press calculate to run Gauss-Jordan elimination.
- Read the reduced matrix: a row like 1 0 3 means x = 3.
- Watch for a row of zeros followed by a nonzero answer, which means the system has no solution.
How the math works
Gauss-Jordan elimination uses three legal moves: swap two rows, multiply a row by a nonzero number, and add a multiple of one row to another. The calculator works column by column, turning each pivot into 1 and then clearing every other entry in that column to 0.
The finished form is unique. Every matrix has exactly one reduced row echelon form, so two people reducing the same matrix always land on the same answer. The same process also finds matrix inverses and tests whether a system is consistent.
Worked example
Frequently asked questions
What is RREF in plain words?
RREF is the simplest form a matrix can be reduced to. Every row starts with a 1 (or is all zeros), each leading 1 sits further right than the one above it, and each leading 1 is the only nonzero entry in its column. In that form, solutions can be read directly from the rows.
What is the difference between RREF and REF?
In plain row echelon form (REF), entries below each pivot are zero, but numbers above the pivots can remain and pivots need not be 1. RREF goes further: every pivot is 1 and it is the only nonzero entry in its whole column. RREF takes more steps but needs no back substitution.
How do you solve a system of equations with RREF?
Write each equation as a row, with the constant in the last column, then reduce. If the left side becomes the identity matrix, the last column is your solution. The system x + y = 5 and x − y = 1 reduces to give x = 3 and y = 2.
What do free variables mean?
A free variable is a variable whose column has no pivot, so it can take any value. When a system has free variables it has infinitely many solutions, and the other variables are written in terms of the free ones. This happens when there are fewer independent equations than unknowns.
Can RREF show that a system has no solution?
Yes. If reduction produces a row that is all zeros on the left but nonzero in the answer column, the system contradicts itself, like claiming 0 = 4. That system has no solution, and no choice of values can satisfy every equation at once.