Math

Matrix Determinant and Inverse Calculator (3×3)

Enter the nine entries of the matrix row by row (use 0 and 1 to embed a 2×2 matrix).

Your numbers

Your results

Determinant
Determinant
—
Trace
—
Inverse, row 1
—
Inverse, row 2
—
Inverse, row 3
—

Matrix Determinant and Inverse Calculator (3×3) by TheCalcTools

How the Matrix Determinant and Inverse Calculator (3×3) works

The determinant is found by cofactor expansion along the first row: det = m₁₁C₁₁ + m₁₂C₁₂ + m₁₃C₁₃, where each cofactor is a signed 2×2 determinant.

The inverse is the transpose of the cofactor matrix (the adjugate) divided by the determinant. A matrix with determinant 0 is singular and has no inverse.

The formula

A⁻¹ = adj(A) ÷ det(A)

Worked example

Using the default values shown in the calculator:

Row 1, column 12
Row 1, column 2-1
Row 1, column 30
Row 2, column 11
Row 2, column 23
Row 2, column 32
Row 3, column 10
Row 3, column 21
Row 3, column 34
  1. For [[2, −1, 0], [1, 3, 2], [0, 1, 4]] the determinant is 24.000000.
  2. Inverse row 1: [ 0.416667, 0.166667, -0.083333 ].

Result:

Determinant24.0000
Trace9.0000
Inverse, row 1[ 0.416667, 0.166667, -0.083333 ]
Inverse, row 2[ -0.166667, 0.333333, -0.166667 ]
Inverse, row 3[ 0.041667, -0.083333, 0.291667 ]

Frequently asked questions

What does a zero determinant mean?

The rows are linearly dependent: the matrix squashes space flat, so the system Ax = b has no unique solution.

Sources and further reading

More in Math · All calculators

This calculator gives estimates for information only. Check important results independently before you rely on them. See our disclaimer.