Matrix Rank Calculator

Find the exact rank and reduced row echelon form of a rectangular matrix, with row operations.

Rank
—
Reduced row echelon form
—
Row operations
—

Enter 1–6 rows and 1–6 columns. Separate rows with newlines or semicolons and entries with spaces or commas. Use integers, decimal points or fractions such as 1/3. Exact row elimination determines rank without a rounding tolerance. A zero matrix has rank 0. The decimal display rounds to 8 places; row operations retain exact fractions.

Method and limits

Find the exact rank and reduced row echelon form of a rectangular matrix, with row operations.

Enter 1–6 rows and 1–6 columns. Separate rows with newlines or semicolons and entries with spaces or commas. Use integers, decimal points or fractions such as 1/3. Exact row elimination determines rank without a rounding tolerance. A zero matrix has rank 0. The decimal display rounds to 8 places; row operations retain exact fractions.

Frequently asked questions

What inputs and limits apply?

Enter 1–6 rows and 1–6 columns. Separate rows with newlines or semicolons and entries with spaces or commas. Use integers, decimal points or fractions such as 1/3. Exact row elimination determines rank without a rounding tolerance. A zero matrix has rank 0. The decimal display rounds to 8 places; row operations retain exact fractions.

How we verified this calculator

The calculator is checked against 6 reference cases computed independently of its code. Last passed: .

# Inputs Expected result
1
Display = Exact fractions
A = 1 2 3 2 4 6
Rank: 1
Reduced row echelon form: 1 2 3 0 0 0
2
Display = Exact fractions
A = 0 0 0 0 0 0
Rank: 0
Reduced row echelon form: 0 0 0 0 0 0
3
Display = Exact fractions
A = 0 1 1 0
Rank: 2
Reduced row echelon form: 1 0 0 1
4
Display = Exact fractions
A = 1/3 2/3 1/1000000000 1/500000000
Rank: 1
Reduced row echelon form: 1 2 0 0
5
Display = Exact fractions
A = 3 -2 -1 -1 -1 0 3 0 -2 2 2 -2
Rank: 2
Reduced row echelon form: 1 0 -2/3 2/3 2/3 -2/3 0 1 -1/2 3/2 3/2 -1
6
Display = Exact fractions
A = 3 0 0 -1 0 2
Rank: 1
Reduced row echelon form: 1 0 0 0 0 0

How we test our calculators →

Also try:

Back to category →