Determinant of a 3×3 Matrix Notes

Published on: September 29, 2026

These Determinant of a 3×3 Matrix Notes explain how to find the determinant of a \(3 \times 3\) matrix, with the working shown line by line. Each entry of the top row is multiplied by the determinant of the \(2 \times 2\) block left when its own row and column are covered, and the middle part is subtracted rather than added. That alternating sign is the step most often missed. Following the same pattern every time makes the determinant easy to check and repeat.

Step-by-step method

  1. Set up the problem.
  2. Write the formula.
  3. Substitute the entries into the formula.
  4. Work out the three 2 by 2 determinants.
  5. Combine the three parts.

Formula: 3 by 3 Determinant Formula

This formula expands the determinant along the top row. Each top entry is multiplied by the 2 by 2 determinant left when its row and column are covered, with signs plus, minus, plus.

\(\det(A) = a(ei - fh) - b(di - fg) + c(dh - eg)\)

Useful Tips to Remember

The middle term is subtracted, so the signs go plus, minus, plus along the top row. Each bracket is a 2 by 2 determinant, worked out as main diagonal minus other diagonal. If a row has zeros, expanding along that row saves work. A determinant of 0 means the three rows lie in one plane and the matrix has no inverse.

Required knowledge

Where Is the Determinant of a 3 by 3 Matrix Used?

The 3 by 3 determinant measures how a matrix scales volume in three dimensions, and whether it can be inverted. Engineers and physicists use it to check that a system of three equations has a unique solution. In geometry, it gives the volume of a box built from three vectors and tests whether three points or vectors lie in one plane. It also appears in the cross product, in computer graphics and in finding eigenvalues.

  • Checking whether a 3 by 3 matrix has an inverse
  • Volumes of parallelepipeds from three vectors
  • Testing whether points or vectors lie in one plane
  • Solving three equations with Cramer's rule
  • Finding eigenvalues from the characteristic polynomial

Determinant of a 3×3 Matrix Practice Problems

Example 1 finds the determinant of a matrix with entries 1 to 10, and Example 2 includes a zero and a negative entry. Examples 3 and 4 give you two more problems of the same kind to try. Expand along the top row yourself and compare each part.

The worked examples below go through the same pattern from start to finish, so you can compare every step with your own working. Try each problem on paper first, then open the example and check your working one step at a time, so you can see exactly which step went wrong if your answer does not match. Use them to check your answers and to understand why each step works.

See Example 1 Hide Example 1

Problem

\(A = \begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 10 \end{bmatrix}\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the formula.
  3. Substitute the entries into the formula.
  4. Work out the three 2 by 2 determinants.
  5. Combine the three parts.

Formula

Formula: 3 by 3 Determinant Formula

This formula expands the determinant along the top row. Each top entry is multiplied by the 2 by 2 determinant left when its row and column are covered, with signs plus, minus, plus.

\(\det(A) = a(ei - fh) - b(di - fg) + c(dh - eg)\)

Step 1

Step 1 - Set up the problem.

In this problem: Labelling the entries of A from left to right and top to bottom gives \(a = 1\), \(b = 2\), \(c = 3\), \(d = 4\), \(e = 5\), \(f = 6\), \(g = 7\), \(h = 8\), \(i = 10\).

\(A = \begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 10 \end{bmatrix}\)

Step 2

Step 2 - Write the formula.

In this problem: Expanding along the top row, each top entry is multiplied by the 2 by 2 determinant left when its row and column are covered. The signs go plus, minus, plus.

\(\det(A) = a(ei - fh) - b(di - fg) + c(dh - eg)\)

Step 3

Step 3 - Substitute the entries into the formula.

In this problem: Replacing the letters with the entries gives \(\det(A) = 1\left(5 \times 10 - 6 \times 8\right) - 2\left(4 \times 10 - 6 \times 7\right) + 3\left(4 \times 8 - 5 \times 7\right)\).

\(\det(A) = 1\left(5 \times 10 - 6 \times 8\right) - 2\left(4 \times 10 - 6 \times 7\right) + 3\left(4 \times 8 - 5 \times 7\right)\)

Step 4

Step 4 - Work out the three 2 by 2 determinants.

In this problem: Each bracket is the determinant of a 2 by 2 minor, so each one is worked out in turn.

\(\det(A) = 1\left(5 \times 10 - 6 \times 8\right) - 2\left(4 \times 10 - 6 \times 7\right) + 3\left(4 \times 8 - 5 \times 7\right)\)

Step 4a

Step 4a - Work out the minor for a.

In this problem: Covering row 1 and column 1 leaves \(\begin{bmatrix} 5 & 6 \\ 8 & 10 \end{bmatrix}\), whose determinant is found with the 2 by 2 rule, covered in the Determinant of a 2×2 Matrix Calculator. The main diagonal gives \(5 \times 10 = 50\) and the other diagonal gives \(6 \times 8 = 48\), so \(50 - 48 = 2\).

\(ei - fh = 5 \times 10 - 6 \times 8 = 50 - 48 = 2\)

Step 4b

Step 4b - Work out the minor for b.

In this problem: Covering row 1 and column 2 leaves \(\begin{bmatrix} 4 & 6 \\ 7 & 10 \end{bmatrix}\), whose determinant is found with the 2 by 2 rule, covered in the Determinant of a 2×2 Matrix Calculator. The main diagonal gives \(4 \times 10 = 40\) and the other diagonal gives \(6 \times 7 = 42\), so \(40 - 42 = -2\).

\(di - fg = 4 \times 10 - 6 \times 7 = 40 - 42 = -2\)

Step 4c

Step 4c - Work out the minor for c.

In this problem: Covering row 1 and column 3 leaves \(\begin{bmatrix} 4 & 5 \\ 7 & 8 \end{bmatrix}\), whose determinant is found with the 2 by 2 rule, covered in the Determinant of a 2×2 Matrix Calculator. The main diagonal gives \(4 \times 8 = 32\) and the other diagonal gives \(5 \times 7 = 35\), so \(32 - 35 = -3\).

\(dh - eg = 4 \times 8 - 5 \times 7 = 32 - 35 = -3\)

Step 5

Step 5 - Combine the three parts.

In this problem: Putting the three values back in gives \(\det(A) = 1 \times 2 - 2 \times \left(-2\right) + 3 \times \left(-3\right)\). Multiplying gives \(2 - \left(-4\right) + \left(-9\right) = -3\).

\(\det(A) = 1 \times 2 - 2 \times \left(-2\right) + 3 \times \left(-3\right) = 2 - \left(-4\right) + \left(-9\right) = -3\)

Final Answer

\(\det(A) = -3\)
See Example 2 Hide Example 2

Problem

\(A = \begin{bmatrix} 2 & 0 & 1 \\ 3 & -1 & 2 \\ 1 & 4 & 5 \end{bmatrix}\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the formula.
  3. Substitute the entries into the formula.
  4. Work out the three 2 by 2 determinants.
  5. Combine the three parts.

Formula

Formula: 3 by 3 Determinant Formula

This formula expands the determinant along the top row. Each top entry is multiplied by the 2 by 2 determinant left when its row and column are covered, with signs plus, minus, plus.

\(\det(A) = a(ei - fh) - b(di - fg) + c(dh - eg)\)

Step 1

Step 1 - Set up the problem.

In this problem: Labelling the entries of A from left to right and top to bottom gives \(a = 2\), \(b = 0\), \(c = 1\), \(d = 3\), \(e = -1\), \(f = 2\), \(g = 1\), \(h = 4\), \(i = 5\).

\(A = \begin{bmatrix} 2 & 0 & 1 \\ 3 & -1 & 2 \\ 1 & 4 & 5 \end{bmatrix}\)

Step 2

Step 2 - Write the formula.

In this problem: Expanding along the top row, each top entry is multiplied by the 2 by 2 determinant left when its row and column are covered. The signs go plus, minus, plus.

\(\det(A) = a(ei - fh) - b(di - fg) + c(dh - eg)\)

Step 3

Step 3 - Substitute the entries into the formula.

In this problem: Replacing the letters with the entries gives \(\det(A) = 2\left(\left(-1\right) \times 5 - 2 \times 4\right) - 0\left(3 \times 5 - 2 \times 1\right) + 1\left(3 \times 4 - \left(-1\right) \times 1\right)\).

\(\det(A) = 2\left(\left(-1\right) \times 5 - 2 \times 4\right) - 0\left(3 \times 5 - 2 \times 1\right) + 1\left(3 \times 4 - \left(-1\right) \times 1\right)\)

Step 4

Step 4 - Work out the three 2 by 2 determinants.

In this problem: Each bracket is the determinant of a 2 by 2 minor, so each one is worked out in turn.

\(\det(A) = 2\left(\left(-1\right) \times 5 - 2 \times 4\right) - 0\left(3 \times 5 - 2 \times 1\right) + 1\left(3 \times 4 - \left(-1\right) \times 1\right)\)

Step 4a

Step 4a - Work out the minor for a.

In this problem: Covering row 1 and column 1 leaves \(\begin{bmatrix} -1 & 2 \\ 4 & 5 \end{bmatrix}\), whose determinant is found with the 2 by 2 rule, covered in the Determinant of a 2×2 Matrix Calculator. The main diagonal gives \(\left(-1\right) \times 5 = -5\) and the other diagonal gives \(2 \times 4 = 8\), so \(-5 - 8 = -13\).

\(ei - fh = \left(-1\right) \times 5 - 2 \times 4 = -5 - 8 = -13\)

Step 4b

Step 4b - Work out the minor for b.

In this problem: Covering row 1 and column 2 leaves \(\begin{bmatrix} 3 & 2 \\ 1 & 5 \end{bmatrix}\), whose determinant is found with the 2 by 2 rule, covered in the Determinant of a 2×2 Matrix Calculator. The main diagonal gives \(3 \times 5 = 15\) and the other diagonal gives \(2 \times 1 = 2\), so \(15 - 2 = 13\).

\(di - fg = 3 \times 5 - 2 \times 1 = 15 - 2 = 13\)

Step 4c

Step 4c - Work out the minor for c.

In this problem: Covering row 1 and column 3 leaves \(\begin{bmatrix} 3 & -1 \\ 1 & 4 \end{bmatrix}\), whose determinant is found with the 2 by 2 rule, covered in the Determinant of a 2×2 Matrix Calculator. The main diagonal gives \(3 \times 4 = 12\) and the other diagonal gives \(\left(-1\right) \times 1 = -1\), so \(12 - \left(-1\right) = 13\).

\(dh - eg = 3 \times 4 - \left(-1\right) \times 1 = 12 - \left(-1\right) = 13\)

Step 5

Step 5 - Combine the three parts.

In this problem: Putting the three values back in gives \(\det(A) = 2 \times \left(-13\right) - 0 \times 13 + 1 \times 13\). Multiplying gives \(-26 - 0 + 13 = -13\).

\(\det(A) = 2 \times \left(-13\right) - 0 \times 13 + 1 \times 13 = -26 - 0 + 13 = -13\)

Final Answer

\(\det(A) = -13\)
See Example 3 Hide Example 3

Problem

\(A = \begin{bmatrix} 3 & 1 & 2 \\ 0 & 4 & 1 \\ 2 & -1 & 5 \end{bmatrix}\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the formula.
  3. Substitute the entries into the formula.
  4. Work out the three 2 by 2 determinants.
  5. Combine the three parts.

Formula

Formula: 3 by 3 Determinant Formula

This formula expands the determinant along the top row. Each top entry is multiplied by the 2 by 2 determinant left when its row and column are covered, with signs plus, minus, plus.

\(\det(A) = a(ei - fh) - b(di - fg) + c(dh - eg)\)

Step 1

Step 1 - Set up the problem.

In this problem: Labelling the entries of A from left to right and top to bottom gives \(a = 3\), \(b = 1\), \(c = 2\), \(d = 0\), \(e = 4\), \(f = 1\), \(g = 2\), \(h = -1\), \(i = 5\).

\(A = \begin{bmatrix} 3 & 1 & 2 \\ 0 & 4 & 1 \\ 2 & -1 & 5 \end{bmatrix}\)

Step 2

Step 2 - Write the formula.

In this problem: Expanding along the top row, each top entry is multiplied by the 2 by 2 determinant left when its row and column are covered. The signs go plus, minus, plus.

\(\det(A) = a(ei - fh) - b(di - fg) + c(dh - eg)\)

Step 3

Step 3 - Substitute the entries into the formula.

In this problem: Replacing the letters with the entries gives \(\det(A) = 3\left(4 \times 5 - 1 \times \left(-1\right)\right) - 1\left(0 \times 5 - 1 \times 2\right) + 2\left(0 \times \left(-1\right) - 4 \times 2\right)\).

\(\det(A) = 3\left(4 \times 5 - 1 \times \left(-1\right)\right) - 1\left(0 \times 5 - 1 \times 2\right) + 2\left(0 \times \left(-1\right) - 4 \times 2\right)\)

Step 4

Step 4 - Work out the three 2 by 2 determinants.

In this problem: Each bracket is the determinant of a 2 by 2 minor, so each one is worked out in turn.

\(\det(A) = 3\left(4 \times 5 - 1 \times \left(-1\right)\right) - 1\left(0 \times 5 - 1 \times 2\right) + 2\left(0 \times \left(-1\right) - 4 \times 2\right)\)

Step 4a

Step 4a - Work out the minor for a.

In this problem: Covering row 1 and column 1 leaves \(\begin{bmatrix} 4 & 1 \\ -1 & 5 \end{bmatrix}\), whose determinant is found with the 2 by 2 rule, covered in the Determinant of a 2×2 Matrix Calculator. The main diagonal gives \(4 \times 5 = 20\) and the other diagonal gives \(1 \times \left(-1\right) = -1\), so \(20 - \left(-1\right) = 21\).

\(ei - fh = 4 \times 5 - 1 \times \left(-1\right) = 20 - \left(-1\right) = 21\)

Step 4b

Step 4b - Work out the minor for b.

In this problem: Covering row 1 and column 2 leaves \(\begin{bmatrix} 0 & 1 \\ 2 & 5 \end{bmatrix}\), whose determinant is found with the 2 by 2 rule, covered in the Determinant of a 2×2 Matrix Calculator. The main diagonal gives \(0 \times 5 = 0\) and the other diagonal gives \(1 \times 2 = 2\), so \(0 - 2 = -2\).

\(di - fg = 0 \times 5 - 1 \times 2 = 0 - 2 = -2\)

Step 4c

Step 4c - Work out the minor for c.

In this problem: Covering row 1 and column 3 leaves \(\begin{bmatrix} 0 & 4 \\ 2 & -1 \end{bmatrix}\), whose determinant is found with the 2 by 2 rule, covered in the Determinant of a 2×2 Matrix Calculator. The main diagonal gives \(0 \times \left(-1\right) = 0\) and the other diagonal gives \(4 \times 2 = 8\), so \(0 - 8 = -8\).

\(dh - eg = 0 \times \left(-1\right) - 4 \times 2 = 0 - 8 = -8\)

Step 5

Step 5 - Combine the three parts.

In this problem: Putting the three values back in gives \(\det(A) = 3 \times 21 - 1 \times \left(-2\right) + 2 \times \left(-8\right)\). Multiplying gives \(63 - \left(-2\right) + \left(-16\right) = 49\).

\(\det(A) = 3 \times 21 - 1 \times \left(-2\right) + 2 \times \left(-8\right) = 63 - \left(-2\right) + \left(-16\right) = 49\)

Final Answer

\(\det(A) = 49\)
See Example 4 Hide Example 4

Problem

\(A = \begin{bmatrix} 1 & 0 & 2 \\ -1 & 3 & 1 \\ 2 & 1 & 4 \end{bmatrix}\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the formula.
  3. Substitute the entries into the formula.
  4. Work out the three 2 by 2 determinants.
  5. Combine the three parts.

Formula

Formula: 3 by 3 Determinant Formula

This formula expands the determinant along the top row. Each top entry is multiplied by the 2 by 2 determinant left when its row and column are covered, with signs plus, minus, plus.

\(\det(A) = a(ei - fh) - b(di - fg) + c(dh - eg)\)

Step 1

Step 1 - Set up the problem.

In this problem: Labelling the entries of A from left to right and top to bottom gives \(a = 1\), \(b = 0\), \(c = 2\), \(d = -1\), \(e = 3\), \(f = 1\), \(g = 2\), \(h = 1\), \(i = 4\).

\(A = \begin{bmatrix} 1 & 0 & 2 \\ -1 & 3 & 1 \\ 2 & 1 & 4 \end{bmatrix}\)

Step 2

Step 2 - Write the formula.

In this problem: Expanding along the top row, each top entry is multiplied by the 2 by 2 determinant left when its row and column are covered. The signs go plus, minus, plus.

\(\det(A) = a(ei - fh) - b(di - fg) + c(dh - eg)\)

Step 3

Step 3 - Substitute the entries into the formula.

In this problem: Replacing the letters with the entries gives \(\det(A) = 1\left(3 \times 4 - 1 \times 1\right) - 0\left(\left(-1\right) \times 4 - 1 \times 2\right) + 2\left(\left(-1\right) \times 1 - 3 \times 2\right)\).

\(\det(A) = 1\left(3 \times 4 - 1 \times 1\right) - 0\left(\left(-1\right) \times 4 - 1 \times 2\right) + 2\left(\left(-1\right) \times 1 - 3 \times 2\right)\)

Step 4

Step 4 - Work out the three 2 by 2 determinants.

In this problem: Each bracket is the determinant of a 2 by 2 minor, so each one is worked out in turn.

\(\det(A) = 1\left(3 \times 4 - 1 \times 1\right) - 0\left(\left(-1\right) \times 4 - 1 \times 2\right) + 2\left(\left(-1\right) \times 1 - 3 \times 2\right)\)

Step 4a

Step 4a - Work out the minor for a.

In this problem: Covering row 1 and column 1 leaves \(\begin{bmatrix} 3 & 1 \\ 1 & 4 \end{bmatrix}\), whose determinant is found with the 2 by 2 rule, covered in the Determinant of a 2×2 Matrix Calculator. The main diagonal gives \(3 \times 4 = 12\) and the other diagonal gives \(1 \times 1 = 1\), so \(12 - 1 = 11\).

\(ei - fh = 3 \times 4 - 1 \times 1 = 12 - 1 = 11\)

Step 4b

Step 4b - Work out the minor for b.

In this problem: Covering row 1 and column 2 leaves \(\begin{bmatrix} -1 & 1 \\ 2 & 4 \end{bmatrix}\), whose determinant is found with the 2 by 2 rule, covered in the Determinant of a 2×2 Matrix Calculator. The main diagonal gives \(\left(-1\right) \times 4 = -4\) and the other diagonal gives \(1 \times 2 = 2\), so \(-4 - 2 = -6\).

\(di - fg = \left(-1\right) \times 4 - 1 \times 2 = -4 - 2 = -6\)

Step 4c

Step 4c - Work out the minor for c.

In this problem: Covering row 1 and column 3 leaves \(\begin{bmatrix} -1 & 3 \\ 2 & 1 \end{bmatrix}\), whose determinant is found with the 2 by 2 rule, covered in the Determinant of a 2×2 Matrix Calculator. The main diagonal gives \(\left(-1\right) \times 1 = -1\) and the other diagonal gives \(3 \times 2 = 6\), so \(-1 - 6 = -7\).

\(dh - eg = \left(-1\right) \times 1 - 3 \times 2 = -1 - 6 = -7\)

Step 5

Step 5 - Combine the three parts.

In this problem: Putting the three values back in gives \(\det(A) = 1 \times 11 - 0 \times \left(-6\right) + 2 \times \left(-7\right)\). Multiplying gives \(11 - 0 + \left(-14\right) = -3\).

\(\det(A) = 1 \times 11 - 0 \times \left(-6\right) + 2 \times \left(-7\right) = 11 - 0 + \left(-14\right) = -3\)

Final Answer

\(\det(A) = -3\)

Calculator and Practice Mode