Inverse 3×3 Matrix Calculator: Determinant, Adjugate and Exact Inverse

This inverse 3×3 matrix calculator finds the inverse of any 3 by 3 matrix using the determinant and the adjugate. Enter the nine entries and it shows the determinant, the matrix of cofactors, the adjugate and the inverse as exact fractions. If the determinant is zero, it tells you the matrix has no inverse.

Engineering & Electronics Tools Calculators

Inverse 3x3 Matrix Calculator

Inverse of a 3×3 matrix with exact fractions: determinant, cofactor matrix, adjugate, inverse and an A × A⁻¹ = I check.

One row per line, entries separated by spaces or commas. Fractions such as 3/4 and decimals are fine.
A matrix has an inverse only when its determinant is not zero. Results are exact fractions, so there is no rounding error.

Starting values: the calculator opens with the matrix with rows (2, 0, 1), (1, 3, 2) and (1, 1, 4). Its determinant is 18 and its inverse has rows (5/9, 1/18, -1/6), (-1/9, 7/18, -1/6) and (-1/9, -1/9, 1/3).

The method

The inverse of a 3×3 matrix A is found with one formula:

A-1 = adj(A) / det(A)

Where:

  • det(A) is the determinant of A.
  • adj(A) is the adjugate, the transpose of the matrix of cofactors.
  • Each cofactor is a 2×2 determinant of the entries left when you delete one row and one column, with a plus or minus sign in a checkerboard pattern.

The inverse exists only when the determinant is not zero. A matrix with zero determinant is called singular.

Worked examples

Example 1: the default matrix

Start with the determinant by expanding along the first row: 2 x (3×4 – 2×1) – 0 x (1×4 – 2×1) + 1 x (1×1 – 3×1). That is 2 x 10 – 0 + 1 x (-2) = 18.

The cofactor matrix has rows (10, -2, -2), (1, 7, -2) and (-3, -3, 6). Transposing it gives the adjugate, with rows (10, 1, -3), (-2, 7, -3) and (-2, -2, 6). Dividing each entry by 18 gives the inverse: rows (5/9, 1/18, -1/6), (-1/9, 7/18, -1/6) and (-1/9, -1/9, 1/3).

Example 2: checking the inverse

Multiply the first row of A by the first column of the inverse: 2 x 5/9 + 0 x (-1/9) + 1 x (-1/9) = 10/9 – 1/9 = 1. The product of a matrix and its inverse must be the identity matrix, so every diagonal entry of the product is 1 and every other entry is 0. This is the quickest test that you have the right answer.

Example 3: solving a system with the inverse

To solve Ax = b, compute x = A-1b. For b = (3, 6, 6), the adjugate rows give 10×3 + 1×6 – 3×6 = 18, then -2×3 + 7×6 – 3×6 = 18, then -2×3 – 2×6 + 6×6 = 18. Dividing by the determinant 18 gives x = (1, 1, 1). You can confirm that A times (1, 1, 1) gives (3, 6, 6).

Example 4: a matrix with no inverse

The matrix with rows (1, 2, 3), (4, 5, 6) and (7, 8, 9) has determinant 0, because its third row is the first row plus twice the difference of the second and first rows, which makes the rows linearly dependent. The calculator reports that no inverse exists.

Special cases

  • Diagonal matrix: the inverse is the diagonal matrix of reciprocals. Diagonal entries 2, 4 and 5 give 1/2, 1/4 and 1/5.
  • Identity matrix: it is its own inverse.
  • Zero row or column: the determinant is 0, so there is no inverse.

When an inverse is useful, and when it is not

The inverse is handy for small systems, for teaching and for checking hand work. For large systems, numerical software normally solves the equations by elimination rather than forming the inverse, because it is faster and loses less accuracy. For a 3×3 problem the difference is small, and the inverse gives you a reusable result if you have several right-hand sides. To see the elimination steps, try the Gauss-Jordan method calculator.

Tips for entering the matrix

  • Enter integers or decimals. The results are shown as exact fractions, so decimals are converted first.
  • Check the sign of each entry. One wrong minus sign changes the determinant completely.
  • If the determinant is very close to zero, the inverse has huge entries, which signals that the system is badly conditioned.

Why the cofactor signs matter

The cofactor of the entry in row i and column j is the 2×2 determinant left after deleting that row and column, multiplied by plus one when i + j is even and minus one when it is odd. The signs form a checkerboard: plus, minus, plus across the first row, then minus, plus, minus, then plus, minus, plus. Forgetting a sign is the most common hand error, and it usually shows up when the product of the matrix and its inverse fails to give the identity. In the default example, the cofactor of the middle entry of the first row is minus (1×4 – 2×1), which is -2.

Reading the output

The calculator lists the determinant first. If it is zero, you will see that no inverse exists and the other steps are not shown. Otherwise it shows the cofactor matrix, the adjugate and the inverse, so you can follow each step of the hand method and compare it with your own working.

Frequently asked questions

How do I find the inverse of a 3×3 matrix?

Compute the determinant, build the cofactor matrix, transpose it to get the adjugate, and divide every entry by the determinant.

When does a 3×3 matrix have no inverse?

When its determinant is zero. The rows or columns are then linearly dependent and the matrix is called singular.

How can I check that my inverse is correct?

Multiply the matrix by its inverse. The result should be the identity matrix, with 1 on the diagonal and 0 elsewhere.

What is the adjugate of a matrix?

It is the transpose of the cofactor matrix. Dividing it by the determinant gives the inverse.

Can I use the inverse to solve equations?

Yes. For Ax = b, the solution is x = A inverse times b, provided the determinant is not zero.

Mark Danny

Mark Danny

Mark Danny builds and maintains the free calculators and guides on Area of Irregular Shapes Calculator. Every calculator page explains its formula and shows a worked example, so you can check the working yourself. Spotted a mistake or have a suggestion? Email gulsher.hingoro101@gmail.com.

Articles: 739