Reduced Row Echelon Form Calculator & Rank Factors
Paste a rectangular matrix and replay each row operation. Read the rank, pivot and free columns, then examine the original column basis, row basis and exact row-transformation check. Export the complete fractional ledger.
Reduce a matrix and verify its rank
Replay exact Gauss–Jordan steps, then inspect the column and row factors and both dependency spaces.
Matrix to reduce
Enter one row per line, up to six rows and six columns. Spaces, commas or tabs can separate entries. Use fractions such as −3/4 or enter decimals.
Rank 2. 2 free columns.
Rank and pivot summary
- Matrix rank
- 2
- Pivot columns
- 1, 2
- Free columns
- 3, 4
- Independent row dependencies
- 1
Review the exact reduction
Step 5 of 5. Subtract (2) × row 2 from row 3.
| Row | 1 pivot column | 2 pivot column | 3 | 4 |
|---|---|---|---|---|
| 1 | 1 | 0 | 1 | -1 |
| 2 | 0 | 1 | 2 | 2 |
| 3 | 0 | 0 | 0 | 0 |
Blue marks rows changed by the selected operation. Final pivot cells appear in teal.
Export the row-reduction worksheet
Save exact fractions, every row operation and the matrices behind both checks.
View CSV text
How to use this calculator
- Paste a rectangular matrix with one row per line and use spaces, commas or tabs between values.
- Read the rank and pivot columns. Use the step control to see each exact row operation.
- Open Rank factors to inspect C and R, and Dependencies to see the left and right nullspaces and row transformation.
- Download the worksheet to retain exact fractions and every intermediate matrix.
The Formula
The mathematical logic powering this calculation is:
From left to right, choose the first nonzero entry at or below the next pivot row. Swap it into position, divide that row by the pivot and subtract multiples from all other rows to zero that column. The pivot count is the rank r. Free columns have no pivot. Every arithmetic operation uses reduced fractions.
Let C be the pivot columns of the original m × n matrix A. Let R be the top r rows of the reduced matrix Z. Then C is m × r, R is r × n, and C·R = A. A nonpivot column of R gives the coefficients expressing the corresponding column of A in the columns of C. Rank zero uses an empty inner dimension and still reconstructs the zero matrix.
For each free column j, put 1 in position j of a right-nullspace basis vector, zeros at the other free positions and the negatives of Z's column j in the pivot positions. This yields A·x = 0. Applying every row operation to the identity of size m produces E, so E·A = Z. The final m−r rows of E give independent left-nullspace vectors, each a combination of original rows that sums to zero.
Use 1–6 rows and 1–6 columns. Each entry accepts signed integers or decimals through magnitude 1 billion, with up to 12 decimal places, or a fraction with a positive denominator and up to 12 digits on each side. The calculation treats entered decimals exactly, including very small differences. It reports algebraic rank rather than rank at a numerical tolerance.Worked Example
If you input:
- Matrix: [0, 2, 4, 4], [1, 3, 7, 5], [1, 5, 11, 9]
Result:
The rank is 2. Columns 1 and 2 pivot. The right-nullspace basis is (−1,−2,1,0), (1,−2,0,1). The row dependency (−1,−1,1) verifies that row 3 is the sum of rows 1 and 2.
Frequently Asked Questions
What is reduced row echelon form?
Each nonzero row begins with 1, leading ones move strictly to the right, each pivot is the only nonzero value in its column, and zero rows come last.
Where does the column-space basis come from?
Read the pivot indices from the reduced form, then take those columns from the original matrix.
What is the difference between left and right nullspace?
Right-nullspace vectors x satisfy Ax = 0 and describe column dependencies. Left-nullspace vectors y satisfy yᵀA = 0 and describe row dependencies.
How are almost-dependent rows handled?
The worksheet uses exact rational values. A small nonzero pivot counts toward algebraic rank.
Similar Calculators
Matrix Calculator
Multiply, add, subtract and transpose matrices, or find a determinant and inverse. Get exact fractions, cell explanations and CSV for matrices up to 4 × 4.
System of Equations Calculator
Solve 2–4 simultaneous linear equations with exact fractions, elimination steps, a two-variable graph, and checks for unique, infinite or no solutions.
Vector Calculator
Explore 2D and 3D vectors: dot and cross products, angles, addition, projections and area, with interactive geometry, exact arithmetic and CSV.
