Scientific Converters Precise unit conversions for science & engineering.

    Loading…

    Matrix Rank Calculator

    The rank is the number of independent rows: [[1, 2, 3], [2, 4, 6], [1, 0, 1]] has rank 2 because the second row is twice the first.

    Calculate:

    One row per line; separate entries with spaces or commas.

    Rank =

    2

    Size
    3 × 3
    Nullity (columns − rank)
    1
    Full rank
    no
    Reduced row echelon form
    col 1col 2col 3
    row 1101
    row 2011
    row 3000
    Step-by-step solution
    1. Row-reduce the matrix (Gauss–Jordan elimination with partial pivoting)
    2. Count the non-zero rows: rank = 2

    Matrix Rank Formula

    rank = number of non-zero rows in echelon form

    unique if rank A = rank [A|b] = n; none if rank A < rank [A|b]

    Worked Example

    The matrix [[1, 2, 3], [2, 4, 6], [1, 0, 1]]:

    1. Row-reduce the matrix (Gauss–Jordan elimination with partial pivoting)
    2. Count the non-zero rows: rank = 2

    Nullity (columns − rank): 1 · Full rank: no

    Reduced row echelon form
    col 1col 2col 3
    row 1101
    row 2011
    row 3000

    GATE tip

    Consistency questions are common in GATE: compare rank(A) with rank([A|b]) and the number of unknowns. For a 3 × 3 system, if det A ≠ 0 there is always exactly one solution, so you only need ranks when det A = 0.

    More Linear Algebra Calculators

    Frequently asked questions

    How do I find the rank of a matrix quickly?

    Row-reduce it and count the non-zero rows. A shortcut: if one row is a multiple of another, the rank drops by one; a non-zero determinant of an n × n matrix means full rank n.

    What is the rank–nullity theorem?

    For an m × n matrix, rank + nullity = n: the number of free variables in Ax = 0 equals the columns minus the rank.

    Sources

    Last reviewed: . Factors are stored exactly and computed with 50-digit decimal arithmetic. See how we verify conversion factors.

    Cite this page

    APA

    Scientific Converters. (2026, October 15). Matrix Rank Calculator. Retrieved October 25, 2026, from https://scientificconverters.com/calculators/matrix-rank-calculator/

    IEEE

    Scientific Converters, "Matrix Rank Calculator," scientificconverters.com. Accessed: Oct. 25, 2026. [Online]. Available: https://scientificconverters.com/calculators/matrix-rank-calculator/

    Send feedback

    Found a wrong value, a missing unit or an idea? Tell us. We read every message.

    What is it about?

    We store your message, the page you were on and your email if given. See the privacy policy.