Matrix Rank Calculator

Verified Calculation Engine

The online Matrix Rank Calculator helps you calculate instantly and solve problems related to Matrices Determinants. This tool provides accurate results using standard formulas and step-by-step calculation; you can view the formula with example in the calculator where available. Whether you are a student, teacher, or professional, this calculator simplifies complex calculations and saves time. Enter the required values below and get instant results. Results are shown clearly, with optional step-by-step explanation where applicable. The tool is free to use and works in any modern browser—no download or installation required. Bookmark this page for quick access whenever you need reliable Engineering Math calculations.

Find the rank of any m×n matrix. Enter Matrix A to compute rank(A) — the number of linearly independent rows or columns (pivot count in row-echelon form).

rank(A) = number of pivot positions in row-echelon form
The rank of a matrix is the dimension of its row space (equivalently, column space). For an m×n matrix, 0 ≤ rank(A) ≤ min(m,n). Rank equals the number of pivots after Gaussian elimination to row-echelon form.
  • Matrix A is a non-empty rectangular array of real numbers.
  • Floating-point elimination uses a small tolerance for pivot detection.
  • Rank is an integer between 0 and min(rows, columns).

Inputs

2×2
Edit cells directly. Use Rows and Columns to set the matrix size.Rank works for rectangular matrices. Always 0 ≤ rank(A) ≤ min(rows, columns).
Please enter a valid matrix.

Results

Worked Examples
Rank of a 2×2 full-rank matrix

Independent rows ⇒ rank equals matrix size.

Inputs:
  • matrix: [ [ 1, 2 ], [ 3, 4 ] ]
Expected Outputs:
  • rank: 2
  • classification: Full rank
Rank of a rectangular dependent matrix

Proportional rows in a 3×3 matrix ⇒ rank 1.

Inputs:
  • matrix: [ [ 1, 2, 3 ], [ 2, 4, 6 ], [ 3, 6, 9 ] ]
Expected Outputs:
  • rank: 1
  • classification: Rank deficient
Rank of the zero matrix

All-zero matrix has rank 0.

Inputs:
  • matrix: [ [ 0, 0 ], [ 0, 0 ] ]
Expected Outputs:
  • rank: 0
  • classification: Zero rank

About this calculator

Overview

Matrix rank measures how many rows (or columns) are linearly independent. For an m×n matrix A, rank(A) is the number of pivot positions in row-echelon form, and always satisfies 0 ≤ rank(A) ≤ min(m,n).

When to use

Use this matrix rank calculator to check linear independence, determine whether a system has a unique solution, analyze dependency in data tables, or verify full row/column rank for rectangular matrices.

Inputs explained

  • Matrix A — any m×n numeric matrix (square or rectangular)

Formula / method

Apply Gaussian elimination to row-echelon form. Count pivot columns; that count is rank(A). Compare to min(m,n) to classify full rank, rank deficient, or zero rank.

Worked example

Example: A = [[1, 2], [2, 4]]. The second row is twice the first, so only one pivot appears and rank(A) = 1 (rank deficient for a 2×2 matrix).

Interpreting results

Rank is shown as an integer. Matrix Dimensions and Maximum Possible Rank provide context. Classification indicates zero rank, full rank (or full row rank for tall matrices), or rank deficient.

Assumptions

  • Entries are real numbers.
  • Pivot detection uses floating-point tolerance for decimals.
  • Rank does not require a square matrix.

Limitations

  • Near-dependent rows may be sensitive to floating-point tolerance.
  • This tool computes numeric rank, not symbolic rank of expressions.
  • Critical engineering decisions should be cross-checked by hand or with certified software.

Important note

Educational engineering-mathematics tool. Verify critical designs with hand analysis or certified software.

How to Use This Calculator

  1. Enter the required values in the input fields.
  2. Click the Calculate button.
  3. View the computed result instantly.

Formula Used

Apply Gaussian elimination to row-echelon form. Count pivot columns; that count is rank(A). Compare to min(m,n) to classify full rank, rank deficient, or zero rank.

Example Calculation

Example: A = [[1, 2], [2, 4]]. The second row is twice the first, so only one pivot appears and rank(A) = 1 (rank deficient for a 2×2 matrix).

Frequently Asked Questions

What is Matrix Rank Calculator?

Matrix rank measures how many rows (or columns) are linearly independent. For an m×n matrix A, rank(A) is the number of pivot positions in row-echelon form, and always satisfies 0 ≤ rank(A) ≤ min(m,n).

How does Matrix Rank Calculator work?

Apply Gaussian elimination to row-echelon form. Count pivot columns; that count is rank(A). Compare to min(m,n) to classify full rank, rank deficient, or zero rank.

Why use this Engineering Math calculator?

Use this matrix rank calculator to check linear independence, determine whether a system has a unique solution, analyze dependency in data tables, or verify full row/column rank for rectangular matrices.