Skip to content
FiftyCalc Free calculators for all 50 states

Determinant Calculator

Test cases replayed : 3 of 3 match · Methodology · No outside source listed

Enter a 3×3 matrix to get its determinant and the three terms of the cofactor expansion. For a 2×2, set row 3 and column 3 to 0 except a 1 in the corner.

Result

Sample figures

Determinant—

Term 1: a₁₁ × (a₂₂a₃₃ − a₂₃a₃₂) —

  • Term 2: −a₁₂ × (a₂₁a₃₃ − a₂₃a₃₁)—
  • Term 3: a₁₃ × (a₂₁a₃₂ − a₂₂a₃₁)—

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Determinant Calculator

Row 1, column 1: enter a number. Prefilled example: 2.

Row 1, column 2: enter a number. Prefilled example: -3.

Row 1, column 3: enter a number. Prefilled example: 1.

Row 2, column 1: enter a number. Prefilled example: 2.

Row 2, column 2: enter a number. Prefilled example: 0.

Row 2, column 3: enter a number. Prefilled example: -1.

Row 3, column 1: enter a number. Prefilled example: 1.

Row 3, column 2: enter a number. Prefilled example: 4.

Row 3, column 3: enter a number. Prefilled example: 5.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Row 1, column 1: enter a number.
  2. Row 1, column 2: enter a number.
  3. Row 1, column 3: enter a number.
  4. Row 2, column 1: enter a number.
  5. Row 2, column 2: enter a number.
  6. Row 2, column 3: enter a number.
  7. Row 3, column 1: enter a number.
  8. Row 3, column 2: enter a number.
  9. Row 3, column 3: enter a number.
  10. Read the result: Determinant; the panel also shows Term 1: a₁₁ × (a₂₂a₃₃ − a₂₃a₃₂), Term 2: −a₁₂ × (a₂₁a₃₃ − a₂₃a₃₁) and Term 3: a₁₃ × (a₂₁a₃₂ − a₂₂a₃₁).

How this calculator works

Cofactor (Laplace) expansion along the first row: det(A) = a₁₁(a₂₂a₃₃ − a₂₃a₃₂) − a₁₂(a₂₁a₃₃ − a₂₃a₃₁) + a₁₃(a₂₁a₃₂ − a₂₂a₃₁). Each bracket is the 2×2 determinant left after deleting that entry's row and column, and the signs alternate + − +.

The rule of Sarrus gives the same result for 3×3 matrices. For a 2×2 matrix [[a, b], [c, d]] the determinant is ad − bc.

The formula

  1. T1=a11×(a22×a33−a23×a32)+0
  2. T2=−a12×(a21×a33−a23×a31)+0
  3. T3=a13×(a21×a32−a22×a31)+0
  4. Det=T1+T2+T3+0
Symbols used in the formula
SymbolMeaning
a11Row 1, column 1
a12Row 1, column 2
a13Row 1, column 3
a21Row 2, column 1
a22Row 2, column 2
a23Row 2, column 3
a31Row 3, column 1
a32Row 3, column 2
a33Row 3, column 3
T1Term 1: a₁₁ × (a₂₂a₃₃ − a₂₃a₃₂)
T2Term 2: −a₁₂ × (a₂₁a₃₃ − a₂₃a₃₁)
T3Term 3: a₁₃ × (a₂₁a₃₂ − a₂₂a₃₁)
DetDeterminant

Worked example

Row 1, column 12
Row 1, column 2-3
Row 1, column 31
Row 2, column 12
Row 2, column 20
Row 2, column 3-1
Row 3, column 11
Row 3, column 24
Row 3, column 35
Term 1: a₁₁ × (a₂₂a₃₃ − a₂₃a₃₂)8
Term 2: −a₁₂ × (a₂₁a₃₃ − a₂₃a₃₁)33
Term 3: a₁₃ × (a₂₁a₃₂ − a₂₂a₃₁)8
  1. T1=2×(0×5−−1×4)+0=8
  2. T2=−(−3)×(2×5−−1×1)+0=33
  3. T3=1×(2×4−0×1)+0=8
  4. Det=8+33+8+0=49

Determinant 49

Each step uses the unrounded value of the step before it; figures on this page are rounded for display.

Frequently asked questions

What does a determinant of 0 mean?

The matrix is singular: it has no inverse, and its rows (and columns) are linearly dependent.

What happens to the determinant if I swap two rows?

It changes sign. Multiplying one row by k multiplies the determinant by k.

What is the determinant used for?

To test whether a matrix is invertible, to solve linear systems with Cramer's rule, and to measure how a transformation scales area or volume.

Related calculators