Determinant Calculator (3×3 Matrix) — Calculate det = a(ei − fh) − b(di − fg) + c(dh − eg)
This free 3×3 determinant calculator computes the determinant of a nine-entry square matrix using the Rule of Sarrus. Enter all nine values and get the scalar result instantly — along with explanations of both major calculation methods. Whether you're solving linear systems, checking matrix invertibility, or exploring 3D geometry, this tool provides accurate results with clear explanations.
The 3×3 determinant is a cornerstone of linear algebra. It extends the 2×2 concept into three dimensions, representing the signed volume of a parallelepiped and determining whether three vectors span all of 3D space. Understanding how to compute and interpret 3×3 determinants is essential for anyone studying physics, engineering, computer graphics, or advanced mathematics.
Table of Contents
3×3 Matrix Determinant Calculator
Continue Building Your Linear Algebra Skills
You've seen how the 3×3 determinant calculator works. Now, reinforce your understanding of matrix determinants with guided practice designed to make Sarrus's Rule and cofactor expansion automatic.
Explore the Practice Workbook1. Introduction to 3×3 Determinants
Determinants are central to linear algebra. For a 3×3 matrix, the determinant is a single scalar value that encodes both numerical and geometric information about the matrix — whether it can be inverted, whether its rows are linearly independent, and what volume its column vectors span in three-dimensional space.
Standard 3×3 Matrix:
| d e f |
| g h i |
Each entry represents a number in a specific row and column position.
Each entry represents a number in a specific row and column position. In three dimensions, the rows (or columns) can be viewed as vectors, and the determinant measures the signed volume of the parallelepiped formed by these three vectors — a six-faced 3D shape with parallelogram faces. A determinant of zero means the vectors lie in the same plane and the shape has collapsed to zero volume.
For 2×2 matrices, use our 2x2 determinant calculator.
2. Calculation Methods
There are two standard approaches to computing a 3×3 determinant. Both produce identical results, but they offer different perspectives on the underlying mathematics:
2.1 Rule of Sarrus
The Rule of Sarrus is a mnemonic device that works only for 3×3 matrices. It provides a quick pattern for computing the determinant without memorizing the full cofactor expansion:
The pattern alternates signs (+, −, +) across the first row. Each term multiplies a first-row entry by the determinant of the 2×2 matrix that remains after removing that entry's row and column — a "minor" determinant. The Rule of Sarrus packages this into a single memorizable formula that makes 3×3 computation fast and mechanical.
Example 1 — Using the Rule of Sarrus:
Matrix:
| 2 3 1 |
| 4 0 5 |
| 1 2 1 |
det = 2(0×1 − 5×2) − 3(4×1 − 5×1) + 1(4×2 − 0×1)
= 2(0 − 10) − 3(4 − 5) + 1(8 − 0)
= 2(−10) − 3(−1) + 1(8)
= −20 + 3 + 8 = −9
2.2 Cofactor Expansion
Cofactor expansion (also called Laplace expansion) generalizes to matrices of any size. You expand along a chosen row or column, computing each entry's cofactor — the signed minor determinant:
The cofactor Cij = (−1)i+j × det(Mij), where Mij is the 2×2 submatrix formed by deleting row i and column j. The sign pattern (−1)i+j creates a checkerboard of plus and minus signs across the matrix, starting with + in the top-left corner.
Example 2 — Using Cofactor Expansion (same matrix):
Expand along the first row:
C₁₁ = det([[0,5],[2,1]]) = 0×1 − 5×2 = −10 → sign (+) → +(−10) = −10
C₁₂ = det([[4,5],[1,1]]) = 4×1 − 5×1 = −1 → sign (−) → −(−1) = +1
C₁₃ = det([[4,0],[1,2]]) = 4×2 − 0×1 = 8 → sign (+) → +8
Determinant = 2(−10) + 3(1) + 1(8) = −20 + 3 + 8 = −9
3. Properties of Determinants
Understanding these properties helps simplify computation and interpret results. They explain why determinants behave the way they do and provide shortcuts for special cases:
Identity matrix → det = 1: The determinant of the 3×3 identity matrix is always 1 — the baseline for all transformations.
Swap rows/columns → sign flips: Exchanging two rows or columns multiplies the determinant by −1.
Scale a row → determinant scales: Multiplying a single row by k multiplies the entire determinant by k.
Identical rows → det = 0: Two identical rows (or columns) make the determinant zero — the vectors are linearly dependent.
Row addition → no change: Adding a multiple of one row to another leaves the determinant unchanged.
Transpose → det unchanged: The determinant of A equals the determinant of Aแต (rows and columns swapped).
4. Geometric Interpretation
The determinant of a 3×3 matrix represents the signed volume of the parallelepiped formed by the three row vectors (or column vectors). If the determinant is zero, the three vectors lie in the same plane — they're coplanar — and the parallelepiped has collapsed to zero volume. If the determinant is non-zero, the vectors span all three dimensions and the matrix is invertible.
det > 0: The vectors form a right-handed system — they follow the right-hand rule for orientation
det < 0: The vectors form a left-handed system — orientation is reversed, like a mirror reflection
det = 0: The vectors are coplanar — they don't span all of 3D space, and the parallelepiped has zero volume
|det| = volume: The absolute value gives the actual volume of the parallelepiped
For cross product computations, see our 2x2 determinant calculator.
5. How the Calculator Works
The calculator follows the exact mathematical procedure using the Rule of Sarrus:
Step 1: Read all nine matrix entries
The calculator collects values for positions a through i, each corresponding to a specific row and column.
Step 2: Compute the three 2×2 minors
For each entry in the first row, compute the determinant of the 2×2 matrix remaining after removing that entry's row and column.
Step 3: Apply signs and multiply
Multiply each minor by its corresponding first-row entry and apply the sign pattern: +, −, +.
Step 4: Sum the three terms
Add the three signed products to produce the final determinant.
6. Applications
3×3 determinants appear throughout mathematics, physics, and engineering. They're not just abstract calculations — they solve concrete problems:
๐ Invertibility Check: det ≠ 0 means the matrix has an inverse and the corresponding linear system has a unique solution.
๐ Cramer's Rule: Solving 3×3 linear systems by computing four determinants instead of full Gaussian elimination. Try our 3-variable system solver.
๐งญ Cross Product: Computing the 3D cross product using a determinant with unit vectors i, j, k in the first row
๐ฎ 3D Graphics: Determining whether three points form a degenerate triangle or whether a transformation preserves orientation
๐ฌ Physics: Computing torque, angular momentum, and volume elements in coordinate transformations
⚙️ Engineering: Analyzing stability of structures and solving for unknown forces in three-dimensional static equilibrium
7. Special Cases
Case 1: Identity matrix
The identity matrix [[1,0,0],[0,1,0],[0,0,1]] has determinant 1 — the standard for orientation-preserving transformations.
Case 2: Zero matrix
The zero matrix has determinant 0 — it collapses everything to the origin.
Case 3: Diagonal matrix
For [[a,0,0],[0,e,0],[0,0,i]], the determinant is simply a×e×i — the product of the diagonal entries.
Case 4: Upper/lower triangular matrix
For triangular matrices (zeros below or above the diagonal), the determinant is always the product of the diagonal entries.
8. Common Mistakes
Mistake 1: Mixing up rows and columns in the formula
The Rule of Sarrus multiplies across the first row: a(ei − fh), b(di − fg), c(dh − eg). Using entries from the wrong positions produces an entirely different number.
Mistake 2: Ignoring the sign pattern in cofactor expansion
The signs alternate: +, −, + across the first row. For row 2, the pattern is −, +, −. For row 3, it's +, −, +.
Mistake 3: Applying the 2×2 formula to a 3×3 matrix
The formula ad − bc only works for 2×2 matrices. A 3×3 matrix requires six terms, each involving a product of three entries.
Mistake 4: Forgetting that zero is a valid answer
A determinant of 0 is meaningful — it tells you the matrix is singular and the vectors are coplanar.
Mistake 5: Confusing rows with columns
While the determinant is the same whether you treat entries as rows or columns (det(A) = det(Aแต)), the cofactor expansion sign pattern must match the row or column you're actually using.
9. Frequently Asked Questions
Yes. A negative determinant indicates that the three vectors form a left-handed coordinate system — the orientation has been flipped. Geometrically, applying the matrix transformation to a right-handed object would produce its mirror image. The absolute value still gives the volume, but the sign tells you about orientation.
The three vectors are coplanar — they all lie in the same plane (or line, or point) and don't span all three dimensions. The matrix is singular — it has no inverse, and the corresponding system of three equations has either no solution or infinitely many solutions.
They're the gateway to understanding linear transformations in three-dimensional space — the space we live in. They determine whether systems of three equations have unique solutions, whether matrices can be inverted, and how transformations affect volumes. In physics and engineering, they appear in cross products, moment calculations, and coordinate changes.
Yes. Cofactor expansion works along any row or column — the result is always the same. Choosing a row or column with zeros simplifies the calculation because those terms drop out. Always pick the row or column with the most zeros for manual calculations.
The Rule of Sarrus is a shortcut that only works for 3×3 matrices — it's essentially the cofactor expansion along the first row, memorized as a single formula. Cofactor expansion is the general method that works for any size matrix.
Every rotation matrix in 3D has determinant 1. Rotations preserve volume and orientation — they don't stretch, shrink, or reflect. This is why rotation matrices are called "special orthogonal" matrices: special because det = 1, orthogonal because their inverse equals their transpose.
Explore Math Topics
Continue your learning journey with our other math guides
Conclusion
Mastering 3×3 determinants builds a strong foundation for linear algebra, physics, engineering, and computer graphics. Whether you use the Rule of Sarrus for speed or cofactor expansion for generality, understanding what the determinant means — volume, invertibility, and orientation — is more important than any single calculation method.
Use this calculator to practice, verify your manual work, and reinforce your understanding of one of linear algebra's most important concepts. Bookmark this page for the next time you need to compute a 3×3 determinant instantly.
Remember that while this tool is incredibly helpful, practicing determinant calculations by hand will deepen your understanding of matrix algebra. Try computing simple determinants mentally first, then verify with the calculator.
Readers who wish to continue practicing and reinforce what they've learned can explore the companion learning resource for guided exercises.