Linear Algebra
Advanced

Determinant (3×3)

Determinant of a 3×3 matrix by cofactor expansion.

Formula

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

Live Calculator

Members

Variables

a..iMatrix entries

Example

Expands along the first row

How it works

This formula computes the determinant of a 3×3 matrix by breaking it into three 2×2 determinants (called minors) with alternating signs. It works because the determinant measures signed volume scaling, and cofactor expansion preserves that value while reducing the problem to smaller matrices. The pattern +, −, + comes from the sign structure of cofactors, which ensures the result is consistent with the determinant’s antisymmetric properties.

When to use it

Use this when you need the determinant of a 3×3 matrix by hand, especially in exams or when checking whether a matrix is invertible. It is also useful in systems of linear equations, geometry, and vector calculations such as finding volume or verifying coplanarity.

Worked example, step by step

Find the determinant of | 2 -1 3 | | 4 0 5 | | 1 2 -2 | Here a=2, b=-1, c=3, d=4, e=0, f=5, g=1, h=2, i=-2. Compute each 2×2 part: ei - fh = (0)(-2) - (5)(2) = 0 - 10 = -10 -di + fg? Use the formula term by term: di - fg = (4)(-2) - (5)(1) = -8 - 5 = -13 dh - eg = (4)(2) - (0)(1) = 8 - 0 = 8 Now substitute into the determinant formula: det = a(ei - fh) - b(di - fg) + c(dh - eg) det = 2(-10) - (-1)(-13) + 3(8) det = -20 - 13 + 24 det = -9 Final answer: det = -9

Common mistakes to avoid

  • Forgetting the alternating signs in the expansion and adding all three terms
  • Mixing up the entries in the 2×2 minors, especially the order of subtraction
  • Using the wrong row or column coefficients when applying cofactor expansion

Did You Know?

A 3×3 determinant gives the signed volume of the parallelepiped formed by its three column vectors.

Share this formula

Reviewed & maintained by the FormulaWon editorial teamLast reviewed September 2026