Matrix Determinant Calculator

Calculate the determinant of a 2×2 or 3×3 matrix, with trace and invertibility check.

Calculated in your browser. No data sent to servers.

Formula reviewed Nov 2026

Try an example

Determinant

-

-

Invertible?

-

Trace

-

Rank (if 3×3)

-

How to use this calculator

Choose 2×2 or 3×3 and enter the matrix values. The calculator returns the determinant, trace, whether the matrix is invertible and (for 3×3) the rank.

The formula behind this result

2×2: det([[a,b],[c,d]]) = ad − bc. 3×3 uses cofactor expansion along the first row: det = a(ei − fh) − b(di − fg) + c(dh − eg). Trace is the sum of diagonal elements. A matrix is invertible if and only if det ≠ 0.

Frequently asked questions

What does the determinant mean geometrically?

For a 2×2 matrix, |det| is the area of the parallelogram formed by the column vectors. For 3×3, it's the volume of the parallelepiped. A zero determinant means the transformation collapses a dimension.

Why does det = 0 mean non-invertible?

Because the transformation collapses space to a lower dimension — information is lost, so it can't be undone.

Explore more