inverse of a 3x3 matrix calculator

Enter your 3x3 matrix values and click Calculate Inverse. This tool computes the determinant and, when possible, the inverse matrix.

Tip: A 3x3 matrix has an inverse only when its determinant is not zero.

Enter values above to begin.

How this inverse of a 3x3 matrix calculator works

For a matrix to be invertible, its determinant must be non-zero. This calculator first evaluates the determinant. If the determinant equals zero (or is extremely close to zero), the matrix is singular and does not have an inverse.

When the matrix is invertible, the tool computes the inverse using the classical formula:

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

Here, adj(A) is the adjugate matrix (the transpose of the cofactor matrix).

What is an inverse matrix?

An inverse matrix is the matrix equivalent of reciprocal numbers. If you multiply a matrix A by its inverse A-1, the result is the identity matrix I:

A × A-1 = I

For 3x3 matrices, the identity matrix looks like this:

  • 1 on the main diagonal
  • 0 everywhere else

In practical terms, the inverse lets you “undo” a linear transformation and solve systems of equations quickly.

Step-by-step math behind the calculation

1) Compute the determinant

Given matrix A:

[a b c; d e f; g h i]

Its determinant is:

det(A) = a(ei − fh) − b(di − fg) + c(dh − eg)

2) Build the cofactor matrix

Each cofactor is a signed 2x2 determinant formed by deleting one row and one column.

3) Transpose cofactors to get adjugate

The adjugate matrix is just the transpose of the cofactor matrix.

4) Divide by determinant

Each entry of adj(A) is divided by det(A) to produce A-1.

Why this is useful

  • Linear algebra homework: Verify manual calculations and reduce mistakes.
  • Engineering: Solve 3-variable systems in circuits, mechanics, and control models.
  • Computer graphics: Reverse transformations and coordinate changes.
  • Data science: Understand matrix operations that power optimization and modeling.

Common mistakes to avoid

  • Forgetting that determinant must be non-zero.
  • Sign errors in cofactors (+, −, + / −, +, − / +, −, + pattern).
  • Transposing the wrong matrix (you transpose cofactors, not the original matrix).
  • Rounding too aggressively before the final step.

Quick quality check

To confirm the output is correct, multiply your original matrix by the computed inverse. The result should be very close to the identity matrix (small floating-point differences are normal in decimal arithmetic).

FAQ

Can this calculator handle decimals and negative values?

Yes. You can enter integers, decimals, and negative numbers in any cell.

What if determinant is very close to zero?

The matrix is numerically unstable to invert. The tool treats extremely tiny determinants as non-invertible to avoid misleading results.

Can I use this for larger matrices?

This page is specifically for 3x3 matrices. Larger dimensions require different workflows or generalized algorithms.

🔗 Related Calculators