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
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.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- Row 1, column 1: enter a number.
- Row 1, column 2: enter a number.
- Row 1, column 3: enter a number.
- Row 2, column 1: enter a number.
- Row 2, column 2: enter a number.
- Row 2, column 3: enter a number.
- Row 3, column 1: enter a number.
- Row 3, column 2: enter a number.
- Row 3, column 3: enter a number.
- 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
| Symbol | Meaning |
|---|---|
| Row 1, column 1 | |
| Row 1, column 2 | |
| Row 1, column 3 | |
| Row 2, column 1 | |
| Row 2, column 2 | |
| Row 2, column 3 | |
| Row 3, column 1 | |
| Row 3, column 2 | |
| Row 3, column 3 | |
| Term 1: a₁₁ × (a₂₂a₃₃ − a₂₃a₃₂) | |
| Term 2: −a₁₂ × (a₂₁a₃₃ − a₂₃a₃₁) | |
| Term 3: a₁₃ × (a₂₁a₃₂ − a₂₂a₃₁) | |
| Determinant |
Worked example
| Row 1, column 1 | 2 |
|---|---|
| Row 1, column 2 | -3 |
| Row 1, column 3 | 1 |
| Row 2, column 1 | 2 |
| Row 2, column 2 | 0 |
| Row 2, column 3 | -1 |
| Row 3, column 1 | 1 |
| Row 3, column 2 | 4 |
| Row 3, column 3 | 5 |
| Term 1: a₁₁ × (a₂₂a₃₃ − a₂₃a₃₂) | 8 |
|---|---|
| Term 2: −a₁₂ × (a₂₁a₃₃ − a₂₃a₃₁) | 33 |
| Term 3: a₁₃ × (a₂₁a₃₂ − a₂₂a₃₁) | 8 |
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.