The Row Echelon Form Calculator transforms any matrix into row echelon form (REF) or reduced row echelon form (RREF) using Gaussian elimination with partial pivoting. It shows every row operation step by step so you can follow the entire process.
Choose your matrix dimensions (2x2, 2x3, 3x3, 3x4, or 4x4), enter your values, and select REF, RREF, or step-by-step mode. The calculator displays the resulting matrix, the rank, and the pivot columns. The 3x4 option supports augmented matrices for solving systems of linear equations.
Enter matrix values
Your calculations will appear here
A matrix is in row echelon form (REF) when all zero rows are at the bottom, the leading entry (pivot) in each non-zero row is to the right of the pivot in the row above, and all entries below each pivot are zero.
A matrix is in reduced row echelon form (RREF) when it satisfies all REF conditions and additionally each pivot is 1 and is the only non-zero entry in its column.
Gaussian elimination transforms a matrix into REF by applying three elementary row operations: swapping two rows, multiplying a row by a non-zero scalar, and adding a scalar multiple of one row to another.
Gauss-Jordan elimination extends Gaussian elimination to produce RREF by also eliminating entries above each pivot. RREF is unique for any given matrix.
Partial pivoting selects the row with the largest absolute value in the pivot column to reduce numerical errors. The rank of the matrix equals the number of pivot positions.
Problem: Find the RREF of [[2, 4], [1, 3]].
Solution: Swap rows if needed, scale R1 by 1/2 to get [1, 2], then R2 = R2 - R1 gives [0, 1]. Back-substitute: R1 = R1 - 2*R2 gives [1, 0].
Answer: [[1, 0], [0, 1]]. Rank = 2.
Problem: Find the REF of [[1, 2, 3], [4, 5, 6], [7, 8, 9]].
Solution: R2 = R2 - 4*R1, R3 = R3 - 7*R1. Then scale and eliminate to get upper triangular form.
Answer: [[1, 2, 3], [0, 1, 2], [0, 0, 0]]. Rank = 2.
Problem: Solve x + y + z = 6, 2x + 3y + z = 14, x + 2y + 3z = 14 using RREF.
Solution: Form the augmented matrix [[1,1,1,6],[2,3,1,14],[1,2,3,14]] and reduce to RREF.
Answer: [[1,0,0,1],[0,1,0,2],[0,0,1,3]]. x=1, y=2, z=3.
Calculate eigenvalues and eigenvectors of matrices. Supports 2x2 and 3x3 matrices. Free online eigenvalue calculator.
Perform matrix operations: addition, subtraction, multiplication, determinant, transpose, and RREF. Free online matrix calculator with step-by-step solutions.
Calculate the cross product of two 3D vectors. Find magnitude, unit vector direction, parallel check, and dot product. Free online vector calculator.
Calculate the determinant of 2x2, 3x3, and 4x4 matrices. Step-by-step cofactor expansion with detailed workings. Free online matrix determinant calculator.
Find the null space basis, nullity, RREF with free variables, and column space of a matrix. Free online null space calculator with step-by-step Gaussian elimination.
Calculate percentages instantly. Find what percent of a number, percentage change, and percentage difference. Free, fast, no signup.