Home All Calculators Blog About Contact Privacy Policy Disclaimer
🔢

Matrix Determinant Calculator

Calculate the determinant of a 2x2 or 3x3 matrix.

What is the Matrix Determinant Calculator?

A matrix determinant calculator computes the determinant of a 2×2 or 3×3 matrix, a single number that reveals key properties of the matrix — most importantly, whether it can be inverted. For a 2×2 matrix [[a,b],[c,d]], the determinant is ad − bc. For a 3×3 matrix, it's calculated by expanding along the top row: each element is multiplied by the determinant of the 2×2 matrix formed by removing its row and column (its "minor"), with alternating plus and minus signs, and the three results are summed. To check by hand for a 2×2 matrix, simply multiply the diagonal values and subtract the product of the off-diagonal values — a determinant of zero means the matrix is singular (not invertible); any non-zero value means it is invertible.

How it works

For a 2×2 matrix, the determinant is calculated as (top-left × bottom-right) minus (top-right × bottom-left) — a single, direct formula. For a 3×3 matrix, the determinant is calculated by expanding along the top row: each entry in the top row is multiplied by the determinant of the smaller 2×2 matrix formed by removing that entry's row and column, with alternating addition and subtraction (this is called cofactor expansion).

UK context

The determinant tells you important structural information about a matrix without needing to fully solve any related system of equations — most notably, a determinant of zero means the matrix is "singular" (it can't be inverted, and a related system of linear equations doesn't have a single unique solution), while a non-zero determinant means the matrix is invertible.

Tips

  • If you get a determinant of exactly zero, don't assume it's a calculation error — it's a meaningful mathematical result telling you the matrix is singular (not invertible).
  • For matrices larger than 3×3, the same cofactor expansion principle extends, but the calculation grows substantially more complex — specialised software is normally used beyond 3×3 in practice.

Frequently asked questions

What does a determinant of zero mean?

It means the matrix is "singular" — it doesn't have an inverse, and if the matrix represents a system of linear equations, that system doesn't have a single unique solution (it has either no solution or infinitely many).

How is a 3×3 determinant calculated?

By cofactor expansion along the top row: each top-row entry is multiplied by the determinant of the 2×2 submatrix remaining after removing its row and column, with alternating plus and minus signs, then the three results are summed.

A quick note

This page explains the determinant formulas used in the calculator above.