Matrix Rank Calculator
Enter a matrix (up to 5x5), and instantly compute its rank with a full step-by-step Gaussian elimination walkthrough.
Matrix Input
×
Enter a matrix and click Calculate Rank to see results.
Summary
Enter a matrix (up to 5x5), and instantly compute its rank with a full step-by-step Gaussian elimination walkthrough.
How it works
- Select the number of rows and columns (up to 5x5).
- Enter the matrix entries in the grid — decimals and negatives are supported.
- Click "Calculate Rank" to run Gaussian elimination.
- The tool reduces the matrix to row echelon form, recording every pivot and row operation.
- Count of non-zero rows in the echelon form equals the rank, shown at the top of the results.
- Expand the step-by-step log to review every individual row operation.
Use cases
- Verify the rank of a coefficient matrix when solving a system of linear equations.
- Check whether a set of vectors is linearly independent.
- Determine the dimension of the column space or null space of a matrix.
- Confirm that a matrix is full rank before computing its inverse.
- Homework and exam prep for linear algebra courses.
- Quick sanity-check for numerical linear algebra code.
Frequently Asked Questions
Last updated: 2026-06-10 ·
Reviewed by Nham Vu