The rank of a matrix A, denoted rank(A), is the maximum number of linearly independent rows (row rank) or columns (column rank) of the matrix. Equivalently, it is the number of pivot (leading 1) rows in any row-echelon form or reduced row-echelon form (RREF) of the matrix.
Formally, for an m × n matrix, 0 ≤ rank(A) ≤ min(m, n).
Enter a matrix as rows separated by semicolons and numbers separated by commas or spaces. Examples: 1,2,3;4,5,6;7,8,9 or 1 2 3 4; 2 4 6 8; 0 1 0 1; 1 0 1 0.