Calculate the Rank of a Matrix

Updated 6 Dec 2026 · By , HisaabHub · How we check

Quick answer: rank = the number of non-zero rows after row reduction (echelon form). A square matrix has full rank when its determinant is not 0. The matrix 1 2 3 / 4 5 6 / 7 8 9 has determinant 0 and rank 2.

Advertisement

Rank, inverse and eigenvalues step by step

  1. Rank: use row operations to reach echelon form and count the non-zero rows.
  2. 3x3 inverse: A−1 = adj(A) ÷ det(A); it exists only when det ≠ 0.
  3. Eigenvalues: solve det(A − λI) = 0, a cubic for a 3x3 matrix.
  4. The sum of eigenvalues equals the trace; their product equals the determinant.

Roman Urdu: Rank = row reduction ke baad ghair-sifar rows.

Calculate the Rank of a Matrix table

Quick reference values you can check your own numbers against.

Calculate the Rank of a Matrix table
MatrixRowsDeterminantRank
Identity 3x31 0 0 / 0 1 0 / 0 0 113
2x2 dependent rows1 2 / 2 401
2x2 independent1 2 / 3 4-22
3x3 dependent1 2 3 / 4 5 6 / 7 8 902
3x3 full rank2 0 0 / 0 3 0 / 0 0 4243
Zero matrix 3x3all 000

Determinant applies to square matrices only. Rank of an m x n matrix is at most min(m, n).

Advertisement

Fundamental matrix and checks

The fundamental matrix in computer vision is a 3x3 matrix of rank 2 that links two camera views. In differential equations it holds independent solutions as columns. Verify arithmetic with the scientific calculator or browse the calculators hub.

Official sources

Questions people ask

How do I calculate the rank of a matrix?
Row-reduce to echelon form and count the non-zero rows.
How do I calculate the inverse of a 3x3 matrix?
Compute the determinant and adjugate, then divide the adjugate by the determinant. If det is 0 there is no inverse.
How do I calculate eigenvalues of a 3x3 matrix?
Solve det(A - lambda I) = 0; the three roots are the eigenvalues.
What is the rank of a zero matrix?
0.
Can a matrix with rank 2 be inverted?
A 3x3 matrix of rank 2 cannot be inverted because its determinant is 0.
Advertisement