3x3 Matrix Determinant Calculator — Cofactor Expansion and Sarrus Rule

The 3x3 Matrix Determinant Calculator finds det([[a,b,c],[d,e,f],[g,h,i]]) using your choice of cofactor expansion or Sarrus rule. Enter your 3x3 matrix and see the complete step-by-step working: each 2x2 minor is extracted and computed, the cofactor sign is applied, and all three contributions are ...

ENTER 3×3 MATRIX

|
|

QUICK EXAMPLES

DETERMINANT

det = a·C₀₀ + b·C₀₁ + c·C₀₂

= 1·(-3) + 2·(6) + 3·(-3)

= -3 +12 -9

0

Invertible?

No (singular)

Sign

Zero

|det|

0

Volume scale

Singular matrix — det = 0

No inverse exists. The rows are linearly dependent. The parallelepiped formed by the rows has zero volume.

COFACTOR EXPANSION — ROW 1

det = a·M₀₀ − b·M₀₁ + c·M₀₂

+ 1 × M₀0 (delete row 1, col 1)

1×
|
5
6
8
9
|
=-3→ cofactor =-3

Contribution: 1 × -3 = -3

2 × M₀1 (delete row 1, col 2)

2×
|
4
6
7
9
|
=-6→ cofactor =6

Contribution: 2 × 6 = 12

+ 3 × M₀2 (delete row 1, col 3)

3×
|
4
5
7
8
|
=-3→ cofactor =-3

Contribution: 3 × -3 = -9

det = -3 +12 -9 = 0

Created with❤️byeaglecalculator.com

HOW TO USE

  1. 1

    Enter the nine values of your 3x3 matrix, row by row. The determinant is computed automatically — you do not need to press a button. Use Tab to move between cells quickly.

  2. 2

    Choose your method: Cofactor Expansion (the standard algebraic method, works for any size) or Sarrus Rule (a 3x3-only diagonal shortcut). Both give the same result.

  3. 3

    Cofactor Expansion shows each of the three 2x2 minors extracted from row 1, the cofactor (with sign), and the contribution to the final sum. Every arithmetic step is shown.

  4. 4

    Sarrus Rule appends columns 1 and 2 to the right of the matrix, then sums three downward-right diagonal products and subtracts three upward-right diagonal products.

  5. 5

    The result is shown in green (positive), red (negative), or grey (zero/singular). If det = 0, a warning explains the matrix has no inverse and its rows are linearly dependent.

WORKED EXAMPLE

Matrix A = [[1,2,3],[0,1,4],[5,6,0]]. Cofactor expansion along row 1: C00 = +|[[1,4],[6,0]]| = 1*0-4*6 = -24. Contribution: 1*(-24) = -24. C01 = -|[[0,4],[5,0]]| = -(0*0-4*5) = 20. Contribution: 2*20 = 40. C02 = +|[[0,1],[5,6]]| = 0*6-1*5 = -5. Contribution: 3*(-5) = -15. det = -24 + 40 + (-15) = 1. Invertible: yes (det=1, perfect for integer inverse).

FREQUENTLY ASKED QUESTIONS

RELATED CALCULATORS

MORE MATRICES CALCULATORS

Was this calculator helpful?

Last updated: April 29, 2026 · Formula verified by EagleCalculator team · Eagle-eyed accuracy for every calculation.