Skip to content
LoveToCalc

Definition — what does that mean?

Determinant of a 3×3 matrix

Add the three diagonals that run down to the right, subtract the three that run down to the left.

In Swedish: Determinant av en 3×3-matris

Determinant of a 3×3 matrix

The relation

det=abcdefghi

Sarrus’s rule for the matrix with rows (a, b, c), (d, e, f) and (g, h, i): aei + bfg + cdh − ceg − bdi − afh.

Solve for
Solved for det

det=aei+bfg+cdh−ceg−bdi−afh

det=−22

det equals ((((((2 times 1) times 2) plus ((0 times 4) times 1)) plus ((1 times 3) times 5)) minus ((1 times 1) times 1)) minus ((0 times 3) times 2)) minus ((2 times 4) times 5), equals (((((2 times 2) plus (0 times 1)) plus (3 times 5)) minus (1 times 1)) minus (0 times 2)) minus (8 times 5), equals ((((4 plus 0) plus 15) minus 1) minus 0) minus 40, equals (((4 plus 15) minus 1) minus 0) minus 40, equals ((19 minus 1) minus 0) minus 40, equals (18 minus 0) minus 40, equals 18 minus 40, equals −22

Working8 steps

Practice questions

You are given

  • a=-3
  • b=2
  • c=0
  • d=1
  • e=-1
  • f=4
  • g=2
  • h=2
  • i=-2

The formula

Take the matrix with rows (a, b, c), (d, e, f) and (g, h, i).

Write the first two columns again to the right of the matrix. The products along the three diagonals going down to the right (aei, bfg, cdh) are added, and the three going down to the left (ceg, bdi, afh) are subtracted. Enter the nine entries in the card above.

Sarrus’s rule works for 3×3 matrices only. For larger ones, expand along a row into 2×2 determinants.

Worked example

Rows (2, 0, 1), (3, 1, 4) and (1, 5, 2). The down-right products are 2·1·2 = 4, 0·4·1 = 0 and 1·3·5 = 15. The down-left products are 1·1·1 = 1, 0·3·2 = 0 and 2·4·5 = 40:

A second example

Rows (−2, 2, −3), (−1, 1, 3) and (2, 0, −1): 2 + 12 + 0 − (−6) − 2 − 0 = 18. Expanding along the first row gives the same: −2·(−1) − 2·(1 − 6) + (−3)·(−2) = 2 + 10 + 6.

Common mistakes

Frequently asked questions

What does a determinant of 0 mean? The rows are linearly dependent, so the matrix has no inverse, and a system with this coefficient matrix has no solution or infinitely many.

Where is it used? In Cramer’s rule for three equations, and for the volume of the parallelepiped spanned by the three rows.

Looking for another letter? The formula solved for each one
Solved for each letter
Solve forRearrangedWith the numbersComes to
adet−(bfg+cdh−ceg−bdi)ei−fh−22−(0·4·1+1·3·5−1·1·1−0·3·2)1·2−4·52
bdet−(aei+cdh−ceg−afh)fg−di−22−(2·1·2+1·3·5−1·1·1−2·4·5)4·1−3·20
cdet−(aei+bfg−bdi−afh)dh−eg−22−(2·1·2+0·4·1−0·3·2−2·4·5)3·5−1·11
ddet−(aei+bfg−ceg−afh)ch−bi−22−(2·1·2+0·4·1−1·1·1−2·4·5)1·5−0·23
edet−(bfg+cdh−bdi−afh)ai−cg−22−(0·4·1+1·3·5−0·3·2−2·4·5)2·2−1·11
fdet−(aei+cdh−ceg−bdi)bg−ah−22−(2·1·2+1·3·5−1·1·1−0·3·2)0·1−2·54
gdet−(aei+cdh−bdi−afh)bf−ce−22−(2·1·2+1·3·5−0·3·2−2·4·5)0·4−1·11
hdet−(aei+bfg−ceg−bdi)cd−af−22−(2·1·2+0·4·1−1·1·1−0·3·2)1·3−2·45
idet−(bfg+cdh−ceg−afh)ae−bd−22−(0·4·1+1·3·5−1·1·1−2·4·5)2·1−0·32
detaei+bfg+cdh−ceg−bdi−afh2·1·2+0·4·1+1·3·5−1·1·1−0·3·2−2·4·5−22

Last reviewed October 11, 2026 ·How pages are reviewed

Calculate it in practice

Linear algebraAll formulas

Put this formula on your site

Copy the code into your page where the formula card should appear. It loads from lovetocalc.com, so it stays current on its own — all we ask is that the credit line comes with it.