Matrix Rank Calculator
Find matrix rank with Gaussian elimination and identify the number of linearly independent rows or columns.
Separate columns with commas and rows with semicolons.
About matrix rank
Matrix rank examples
See how independence changes rank.
| Matrix | Rank | Explanation |
|---|---|---|
| [[1,2],[3,4]] | 2 | Both rows are independent, so this square matrix has full rank. |
| [[1,2,3],[2,4,6],[3,6,9]] | 1 | Every row is a multiple of the first. |
| [[1,0,0],[0,1,0]] | 2 | The rectangular matrix has two independent rows. |
How to calculate matrix rank
- Enter every row of the matrix, using commas between entries.
- Separate consecutive rows with semicolons.
- Click Calculate Rank to perform row reduction.
- Read the number of independent rows or columns.
Frequently asked questions
What does matrix rank represent?
Rank counts independent rows or columns in a matrix. It also gives the dimension of the transformation's output space.
What is full rank?
A matrix is full rank when rank equals its smaller dimension. For a square matrix, full rank also means the matrix is invertible.
Can a rectangular matrix have rank?
Yes, rank is defined for every rectangular matrix. Its maximum is the smaller of the row and column counts.
What is the rank of a zero matrix?
A zero matrix has rank zero because it contains no independent nonzero rows or columns. It maps every vector to the zero vector.
How is rank calculated?
Gaussian elimination reduces the matrix and counts pivot positions. Each pivot identifies one independent direction.