Home · Everyday · Matrices · Matrix Rank Calculator

Matrix Rank Calculator

The rank of a matrix — how many of its rows are truly independent — from its reduced row echelon form.

Your figures

Example result — edit the figures to make it yours

2

Rank of A

The reduced row echelon form below has 2 non-zero rows — that count is the rank, the dimension of the row (and column) space.

Reduced row echelon form
C1C2C3
R110-1
R2012
R3000

What this calculator does

The rank of a matrix — how many of its rows are truly independent — from its reduced row echelon form. Where a measure is involved, US and metric units are both accepted — flip the unit toggle and the figures convert with the same definitions the formula uses. Every result on this page is computed from the formula stated below, with no hidden rounding steps.

The formula and method

Rank = number of non-zero rows in the reduced row echelon form

Enter matrices with rows separated by semicolons and entries by commas or spaces.

The operation is applied with the standard rules of matrix arithmetic; sizes must be compatible.

Results are rounded for display; exact fractions are kept internally where the method allows.

Worked example

With the example inputs this page opens with, the result is 2 — rank of a. The reduced row echelon form below has 2 non-zero rows — that count is the rank, the dimension of the row (and column) space.

Quick reference

Reduced row echelon form
C1C2C3
R110-1
R2012
R3000

Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.

Common questions

How does the Matrix Rank Calculator work?

The rank of a matrix — how many of its rows are truly independent — from its reduced row echelon form. Matrix A → Rank and RREF. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.

What inputs does the Matrix Rank Calculator need?

Matrix A → Rank and RREF. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.

Is the Matrix Rank Calculator free to use?

Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.