Matrix Rank Calculator screenshot

Matrix Rank Calculator

Work out the rank and nullity of a matrix from matrix (rows on separate lines). Rank = number of pivots in the reduced row echelon form; nullity = columns − rank, and the page prints the substitution so the result can be checked by hand.

Privacy First
0 Runs
Updated 2026-11-22
Runs in your browser
No sign-up, no upload
Formula printed with the answer

Matrix Rank Calculator

Work out the rank and nullity of a matrix from matrix (rows on separate lines). Rank = number of pivots in the reduced row echelon form; nullity = columns − rank, and the page prints the substitution so the result can be checked by hand.

How this page computes

Rank = number of pivots in the reduced row echelon form; nullity = columns − rank

A row counts as zero only when its entries are exactly zero, so the page cannot call a matrix rank-deficient because an entry was small.

The pivot columns are printed, because they are the columns that form a basis of the column space.

The calculation runs entirely in this browser tab; nothing is uploaded.

Matrix Rank Calculator computes the rank and nullity of a matrix. Rank = number of pivots in the reduced row echelon form; nullity = columns − rank. The page prints the rule, the numbers substituted into it and the result, so the arithmetic can be checked by hand.

A row counts as zero only when its entries are exactly zero, so the page cannot call a matrix rank-deficient because an entry was small. Pressed with matrix 1 2 3; 2 4 6, it answers: Rank = 1 of 2 possible

How to use Matrix Rank Calculator

Enter matrix 1 2 3; 2 4 6, then press Run: the page evaluates the rank and nullity of a matrix and prints every line of the working. Typed input is read exactly as written, and a blank field is refused with its name.

Read the first line as the answer and the lines below it as the substitution. If a value is out of range the page refuses it by field and reason instead of printing a number.

With matrix 1 2 3; 2 4 6, the answer is Rank = 1 of 2 possible.

Rank is exact here

A row counts as zero only when its entries are exactly zero, so the page cannot call a matrix rank-deficient because an entry was small.

The pivot columns are printed, because they are the columns that form a basis of the column space.

What to Expect

Best for

  • Working out the rank and nullity of a matrix without a spreadsheet
  • Checking a figure someone else quoted
  • Seeing the formula behind an answer

Not ideal for

  • A matrix above 6 by 6 is refused, and an empty matrix is refused with its field.
  • A quantity the page cannot compute, which it refuses instead of estimating
  • Rounding an answer that has an exact form

What this tool keeps

  • Rank = number of pivots in the reduced row echelon form; nullity = columns − rank
  • Every input exactly as typed

What may need cleanup

  • Nothing: the printed answer is the final output
  • A unit conversion, if the inputs were entered in different units

Common errors

  • A matrix above 6 by 6 is refused, and an empty matrix is refused with its field.
  • An empty field is refused with the field's name

Example use cases

  • Work out the rank and nullity of a matrix for one set of inputs
  • Check the result against the formula by hand
  • See which input the answer is most sensitive to

Sample input

Matrix Rank Calculator: matrix 1 2 3; 2 4 6

Sample output

Rank = 1 of 2 possible — The matrix is 2 by 3.

Who this is for

  • Students checking a formula
  • Anyone who needs the number and the working

Frequently asked questions

What formula does this page use?

Rank = number of pivots in the reduced row echelon form; nullity = columns − rank. The page prints the substitution as well, so the answer can be checked against the rule.

What does Matrix Rank Calculator refuse?

A matrix above 6 by 6 is refused, and an empty matrix is refused with its field.

What does the default example give?

Matrix 1 2 3; 2 4 6 gives Rank = 1 of 2 possible. Every line below that restates the same arithmetic.

Developer program

Build custom tools for your store

Join the SDK program to create useful ecommerce utilities for your store.