RREF Calculator
Enter the coefficients of your augmented matrix. Select the matrix size, fill in each cell, then click Calculate. The vertical line separates the coefficient matrix from the constants column. Leave any cell blank to treat it as zero.
The matrix below is an augmented matrix [A|b]. The last column (separated by a vertical line) represents the constants on the right side of the system of equations.
What Is RREF?
RREF stands for Reduced Row Echelon Form. It is a specific standardized form that any matrix can be transformed into by performing a sequence of elementary row operations. RREF is one of the most fundamental tools in linear algebra because it provides a systematic, algorithmic way to solve systems of linear equations, determine whether solutions exist, find the rank of a matrix, identify free variables, and compute the null space and column space of a matrix.
Every matrix has a unique RREF. No matter what sequence of row operations you use to reduce it, you will always arrive at the same RREF. This uniqueness makes RREF an extremely reliable tool for analysis.
The Four Conditions for RREF
A matrix is in Reduced Row Echelon Form if and only if it satisfies all four of the following conditions simultaneously:
The Three Elementary Row Operations
RREF is achieved exclusively through three types of elementary row operations. These operations do not change the solution set of the corresponding system of equations.
The Gauss-Jordan Elimination Algorithm
The standard algorithm used to compute RREF is called Gauss-Jordan Elimination. It is an extension of Gaussian Elimination that continues past row echelon form (REF) to fully reduce the matrix. The algorithm proceeds column by column, left to right, and performs the following steps for each column:
Interpreting the RREF of an Augmented Matrix
When an augmented matrix [A|b] is reduced to RREF, the result directly reveals the solution structure of the system Ax = b.
Rank of a Matrix
The rank of a matrix is defined as the number of pivot positions (leading 1s) in its RREF. It equals both the dimension of the column space and the dimension of the row space. For an m × n matrix A, the following relationships hold:
REF vs RREF
Row Echelon Form (REF) is a partially reduced form where each leading entry is to the right of the one above, and all entries below each leading entry are zero. REF is not unique — there are many valid REFs for a given matrix. Reduced Row Echelon Form (RREF) goes further by additionally requiring that each leading entry is 1 and that all entries above each leading entry are also zero. RREF is unique for any given matrix.
Applications of RREF in Linear Algebra
Fraction Arithmetic in RREF
During the elimination process, intermediate calculations frequently produce fractions even when the original matrix contains only integers. This calculator stores all values as exact fractions (numerator and denominator as integers) throughout the computation, only converting to decimal notation at the display stage. This approach avoids the rounding errors that accumulate when using floating-point arithmetic, ensuring that the RREF is computed exactly.