Matrix Rank Calculator – Find Rank of a Matrix
Calculate the rank of any matrix with our free online matrix rank calculator. Get step-by-step row reduction to echelon form with detailed explanations.
Current matrix: 3x3 | Detected from your input
Understanding Matrix Rank
The rank of a matrix tells you how many rows (or columns) are truly independent – not expressible as combinations of others. It's a measure of the "information content" or dimensionality of the matrix. A full-rank matrix has maximum possible rank; a rank-deficient matrix has redundant rows or columns.
Rank is found by reducing the matrix to row echelon form using Gaussian elimination. The rank equals the number of non-zero rows in this reduced form – each represents an independent piece of information.
Key Concepts
Row Rank
The number of linearly independent rows. Found by row reduction to echelon form.
Column Rank
The number of linearly independent columns. Always equals row rank!
Full Rank vs Rank Deficient
For an m x n matrix, maximum possible rank is min(m, n).
- Full rank: rank = min(m, n) – maximum independence
- Rank deficient: rank < min(m, n) – some redundancy exists
- Zero matrix: rank = 0 – complete redundancy
Worked Examples
Example 1: Identity Matrix
Example 2: Singular Matrix
Example 3: Rectangular Matrix
Example 4: Zero Matrix
Quick Fact
The rank-nullity theorem is one of the most important results in linear algebra. It states that for any matrix, rank + nullity = number of columns. The nullity tells you the dimension of the solution space for Ax = 0. This theorem connects the matrix's structure to the solutions of linear systems.
Frequently Asked Questions
What does rank tell me about a system of equations?
For Ax = b, if rank(A) equals the number of variables, there's a unique solution. If rank is less, there are either no solutions or infinitely many. Rank tells you how many independent constraints you have.
Can rank be greater than the number of rows?
No. Rank is bounded by both dimensions: rank ≤ min(rows, columns). A 3x5 matrix can have rank at most 3. A 5x3 matrix can have rank at most 3.
Is row rank always equal to column rank?
Yes! This is a fundamental theorem of linear algebra. The number of independent rows always equals the number of independent columns, even for rectangular matrices.
How does rank relate to invertibility?
A square n x n matrix is invertible if and only if it has full rank (rank = n). Rank-deficient square matrices are singular and have no inverse.
What is nullity?
Nullity is the dimension of the null space – all vectors x where Ax = 0. By the rank-nullity theorem: nullity = columns - rank. It tells you how many "free variables" exist in the homogeneous system.
Where is matrix rank used in practice?
Rank appears in control theory (system controllability), statistics (multicollinearity detection), machine learning (feature independence), computer vision (structure from motion), and network analysis (connectivity).
Other Free Tools
Matrix Addition & Subtraction Calculator – Compute Matrices Online
Add or subtract any two matrices with our free online matrix calculator. Supports all matrix sizes with instant results and element-wise computation displayed clearly.
Matrix Multiplication Calculator – Multiply Matrices Online
Multiply any two compatible matrices with our free online matrix multiplication calculator. See the full product matrix with step-by-step row-by-column computation.
Matrix Transpose Calculator – Find Transpose of Any Matrix
Find the transpose of any matrix instantly with our free online matrix transpose calculator. Swap rows and columns of any size matrix with a single click.
Matrix Determinant Calculator – Compute Det of Any Matrix
Calculate the determinant of any square matrix with our free online determinant calculator. Supports 2x2, 3x3, and larger matrices with cofactor expansion steps shown.
Matrix Inverse Calculator – Find Inverse of Any Matrix
Find the inverse of any invertible square matrix with our free online matrix inverse calculator. Uses row reduction method with step-by-step solution for 2x2, 3x3, and larger matrices.
Scalar Matrix Multiplication Calculator – Multiply Matrix by Scalar
Multiply any matrix by a scalar constant with our free online scalar multiplication calculator. See the scaled matrix with all element-by-element calculations shown clearly.
Matrix Trace Calculator – Find Trace of a Square Matrix
Calculate the trace of any square matrix instantly with our free online trace calculator. Sums the main diagonal elements with a clear formula and highlighted diagonal shown.
Eigenvalue Calculator – Find Eigenvalues of 2x2 & 3x3 Matrices
Calculate eigenvalues of 2x2 and 3x3 matrices with our free online eigenvalue calculator. Solves the characteristic polynomial with step-by-step solutions and complex eigenvalue support.