CalcHub

Free calculator tools. Fast, simple, no sign up.

Determinant of a Matrix: How to Calculate 2x2 and 3x3 Determinants

The determinant is a single number computed from a square matrix. It tells you whether the matrix can be inverted, how it scales area, and whether a...

The determinant is a single number computed from a square matrix. It tells you whether the matrix can be inverted, how it scales area, and whether a system of equations has a unique answer.

How it works

For a 2 by 2 matrix [[a, b], [c, d]], the determinant is ad minus bc. For [[4, 3], [2, 1]], that is 4 times 1 minus 3 times 2, which is 4 - 6, or -2. For a 3 by 3 matrix, expand along a row: multiply each entry by the determinant of the 2 by 2 matrix left after removing its row and column, with alternating signs. For [[1, 2, 3], [0, 1, 4], [5, 6, 0]], expanding along the top row gives 1 times (0 - 24) minus 2 times (0 - 20) plus 3 times (0 - 5), which is -24 + 40 - 15, or 1.

A determinant of zero means the matrix has no inverse and the system it describes has no unique answer. A non-zero determinant means the matrix stretches area by that factor.

Worked example

Find the determinant of [[2, 5], [1, 3]]. It is 2 times 3 minus 5 times 1, which is 6 - 5, or 1.

Common mistakes

The classic slip in 3 by 3 expansion is getting a sign wrong. The signs follow a checkerboard: plus, minus, plus across the top row.

Try it yourself

Find the determinant of [[3, 1], [2, 4]]. (Answer: 12 - 2 = 10.)

Putting it together

This topic connects to the guides around it. The same steps appear again in harder problems, so a solid grasp here saves time later. When you meet this idea inside a longer question, pause and name it before you start. That pause keeps the method clear and stops small slips from turning into wrong answers. A calculator can check your arithmetic, but only understanding can check your method.

A question to ask yourself

What if the numbers change? The method stays the same, so try the practice question with different numbers and check that the steps still work. That is how you know you have learned the method rather than memorised one answer.