Determinant Solver - Matrix Determinant Calculator Logo
Калькулятор определителей
Linear Algebra July 20, 2026

How to Find the Determinant of a 3x3 Matrix: Step-by-Step Guide with Examples

Master calculating 3x3 matrix determinants using Expansion by Minors and Sarrus Rule with step-by-step examples and mathematical explanations.

S
Shahabuddin
Lead Engineer at Shahab Dev
Step-by-step guide graphics demonstrating 3x3 matrix determinant computation using Expansion by Minors and Laplace expansion formulas. - Determinant Solver Matrix Calculator

Direct Answer: To find the determinant of a 3x3 matrix using Expansion by Minors along the top row, multiply each first-row element by its corresponding 2x2 sub-matrix minor determinant, applying alternating signs (+, -, +): $\det(A) = a(ei - fh) - b(di - fg) + c(dh - eg)$.

Calculating the determinant of a 3x3 matrix is a fundamental skill in linear algebra, physics, and computer science. Whether you are solving systems of linear equations via Cramer’s Rule, calculating 3D volumes in Geometric Area and Volume Analysis, or analyzing structural dynamics in engineering, understanding how to compute a 3x3 determinant is essential.

In this guide, we will walk step-by-step through both standard methods: Expansion by Minors (Laplace Expansion) and Sarrus’ Rule, complete with worked examples and numerical insights.


What is a 3x3 Determinant?

A 3x3 matrix consists of 3 rows and 3 columns of real or complex numbers arranged as follows:

$$A = \begin{bmatrix} a & b & c \ d & e & f \ g & h & i \end{bmatrix}$$

The determinant of matrix $A$, denoted as $\det(A)$ or $|A|$, is a scalar value that describes the scaling factor of the transformation mapped by the matrix. If $\det(A) = 0$, the matrix is singular and cannot be inverted according to the Invertible Matrix Theorem.

Just as engineers rely on precision tools like a PSI converter to convert pressure measurements or a wood calculator for structural timber estimation, mathematicians depend on reliable matrix algorithms for data stability.


Method 1: Expansion by Minors (Laplace Expansion)

The general formula to calculate the determinant along the top row is:

$$\det(A) = a \cdot \det\begin{bmatrix} e & f \ h & i \end{bmatrix} - b \cdot \det\begin{bmatrix} d & f \ g & i \end{bmatrix} + c \cdot \det\begin{bmatrix} d & e \ g & h \end{bmatrix}$$

Expanding each 2x2 sub-determinant ($\det = ad - bc$):

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

Step-by-Step Example

Let’s find the determinant of matrix $B$:

$$B = \begin{bmatrix} 3 & 1 & 2 \ 2 & 4 & 5 \ 6 & 7 & 8 \end{bmatrix}$$

  1. Calculate the first 2x2 minor: $$\det\begin{bmatrix} 4 & 5 \ 7 & 8 \end{bmatrix} = (4 \times 8) - (5 \times 7) = 32 - 35 = -3$$
  2. Calculate the second 2x2 minor: $$\det\begin{bmatrix} 2 & 5 \ 6 & 8 \end{bmatrix} = (2 \times 8) - (5 \times 6) = 16 - 30 = -14$$
  3. Calculate the third 2x2 minor: $$\det\begin{bmatrix} 2 & 4 \ 6 & 7 \end{bmatrix} = (2 \times 7) - (4 \times 6) = 14 - 24 = -10$$
  4. Combine using the alternating signs (+, -, +): $$\det(B) = 3(-3) - 1(-14) + 2(-10) = -9 + 14 - 20 = -15$$

Method 2: Sarrus’ Rule (Diagonal Shortcut)

Sarrus’ Rule is a popular visual shortcut used exclusively for 3x3 matrices:

  1. Copy the first two columns to the right of the matrix.
  2. Sum the products of the three main diagonals going top-left to bottom-right: $$D_1 = (a \cdot e \cdot i) + (b \cdot f \cdot g) + (c \cdot d \cdot h)$$
  3. Sum the products of the three anti-diagonals going bottom-left to top-right: $$D_2 = (c \cdot e \cdot g) + (a \cdot f \cdot h) + (b \cdot d \cdot i)$$
  4. Subtract $D_2$ from $D_1$: $$\det(A) = D_1 - D_2$$

For a dedicated deep-dive into this diagonal method, explore our guide on Sarrus’ Rule for 3x3 Determinants.


Digital Software & Computation Tools

When dealing with large matrix systems or complex datasets, performing manual calculations can introduce human error. For 4x4 and larger matrices, numerical algorithms like LU Decomposition are preferred. Utilizing our online determinant solver provides instant verification with step-by-step LU decomposition.

Similarly, in digital workflows, software developers build scalable applications—whether creating custom software development solutions, converting graphics with an image converter, or optimizing performance with an AI SEO tool.


Frequently Asked Questions (PAA)

What does it mean if a 3x3 determinant is zero?

If the determinant is zero ($\det(A) = 0$), the matrix is singular, meaning its rows or columns are linearly dependent and it does not possess an inverse.

Can Sarrus’ Rule be used for 4x4 matrices?

No! Sarrus’ Rule only works for 3x3 matrices. For 4x4 or larger matrices, you must use cofactor expansion or LU Decomposition.

Does it matter which row or column you expand along?

No. Thanks to Laplace Expansion properties, expanding along any row or column yields the exact same determinant value. Expanding along rows or columns with zeros reduces calculation steps.


Advertisement

Related Resources

Hand-picked web applications and engineering utilities from our network

  • InstantSEOScan – Analyze your website health and uncover ranking bottlenecks with advanced SEO audit tools. AI-powered SEO auditing tools .
  • DentalLeadCRM – Streamline patient scheduling and automate lead management for dental practices. patient management software .
  • JPEGtoSVG – Convert raster PNG and JPEG images into clean, scalable SVG vector graphics. vector converter .
  • Backlink Platform – Publish your site to curated backlink sources and improve organic domain authority. build backlinks .
  • Shahab Dev – Build tailored web applications, enterprise SaaS, CRM solutions, and AI automations. custom software development .