The rank of a matrix equals number of pivots in a reduced row echelon form.
Theorem: The rank of a matrix equals the number of pivots in its reduced row echelon form. Each pivot corresponds to a leading 1, which identifies a linearly independent column.