Inverse Matrix Calculator – 2×2, 3×3 and 4×4
Enter the nine entries of a 3×3 matrix to find its inverse, determinant, and adjugate. The calculator uses the adjugate (cofactor) method and tells you when the matrix is singular.
3×3 Matrix Inverse Solver
Inverse Matrix 3×3 Formula
Where:
- \(A\) — the 3×3 matrix being inverted
- \(\det(A)\) — the determinant of \(A\)
- \(\operatorname{adj}(A)\) — the adjugate (also called adjoint) matrix, i.e. the transpose of the cofactor matrix
The matrix \(A\) is invertible only when \(\det(A) \neq 0\). If the determinant is zero, no inverse exists and the matrix is called singular.
Inverse Matrix 3×3 – Calculation Example
Example: invert the matrix \( A = \begin{bmatrix} 1 & 2 & 3 \\ 0 & 1 & 4 \\ 5 & 6 & 0 \end{bmatrix} \) (the default values of the calculator).
\[ \det(A) = 1(1 \cdot 0 - 4 \cdot 6) - 2(0 \cdot 0 - 4 \cdot 5) + 3(0 \cdot 6 - 1 \cdot 5) = -24 + 40 - 15 = 1 \]
Since \(\det(A) = 1 \neq 0\), the inverse exists. The cofactor matrix is
\[ C = \begin{bmatrix} -24 & 18 & 5 \\ 20 & -15 & -4 \\ -5 & 4 & 1 \end{bmatrix} \]
and because the cofactor matrix is already symmetric here, \(\operatorname{adj}(A) = C\). Therefore
\[ A^{-1} = \frac{1}{1}\operatorname{adj}(A) = \begin{bmatrix} -24 & 18 & 5 \\ 20 & -15 & -4 \\ -5 & 4 & 1 \end{bmatrix} \]
Result: \( A^{-1} = \begin{bmatrix} -24 & 18 & 5 \\ 20 & -15 & -4 \\ -5 & 4 & 1 \end{bmatrix} \). You can verify it: \(A \cdot A^{-1} = I\).
How to Use the Inverse Matrix 3×3 Calculator
- Enter the nine elements of your matrix into the fields a₁₁ through a₃₃. The subscript tells you the position: a₁₁ is row 1, column 1; a₂₃ is row 2, column 3, and so on.
- Check that you have filled every field — leave none empty.
- Read the results: the calculator shows the Determinant |A|, the Adjugate matrix A*, and the Inverse matrix A⁻¹.
- If the determinant is 0, the calculator reports that the matrix is not invertible and there is nothing more to compute.
What Is the Inverse of a Matrix?
The inverse of a square matrix \(A\) is the matrix \(A^{-1}\) that satisfies \(A \cdot A^{-1} = A^{-1} \cdot A = I\), where \(I\) is the identity matrix (ones on the diagonal, zeros everywhere else). Multiplying a matrix by its inverse is the matrix analogue of dividing a number by itself: it "undoes" the transformation or operation that \(A\) represents.
For a 3×3 matrix the standard way to compute the inverse by hand is the adjugate method: find the determinant, build the matrix of cofactors, transpose it to get the adjugate, and divide by the determinant. This is exactly what the calculator does — quickly and without sign errors, which are the most common mistake when working through cofactors manually.
Matrix inverses matter because many problems reduce to solving \(A\mathbf{x} = \mathbf{b}\) for \(\mathbf{x}\). When \(A\) is invertible, the solution is simply \(\mathbf{x} = A^{-1}\mathbf{b}\). Inverses appear in solving linear systems, reversing geometric transformations in computer graphics, analyzing electrical networks, and many numerical methods. If you want to multiply the result by another matrix afterwards, our Matrix Multiplication calculator can do that step for you.
Interpreting the Result
The calculator returns three things in order. First the determinant: if it is 0, the matrix is singular and the process stops — no inverse exists. Second the adjugate matrix, the intermediate result before dividing by the determinant. Third the inverse matrix, in which every entry of the adjugate has been divided by the determinant (rounded to four decimal places).
A useful sanity check is that \(\det(A^{-1}) = 1/\det(A)\), and that multiplying \(A\) by \(A^{-1}\) gives the identity matrix. If your application involves eigenvalues or matrix rank, you can continue with our Eigenvalues and Eigenvectors 3×3 or Rank of 3×3 Matrix calculators.
Assumptions, Limitations and Tips
- Square matrices only. Only square matrices can have inverses, and this calculator handles exactly the 3×3 case.
- Singularity. A zero determinant means the matrix maps space onto a lower-dimensional subspace — information is lost, and the operation cannot be reversed.
- Rounding. The inverse entries are displayed rounded to four decimal places; the underlying values may be repeating decimals or fractions such as \(1/3\).
- Numerical caution. A very small but nonzero determinant means the matrix is nearly singular. The inverse then has very large entries and small input errors can strongly distort the result — a common issue in real-world applied problems.
- Tip for checking. After computing an inverse by hand, multiply \(A \cdot A^{-1}\) mentally for one row or column; you should get 1 on the diagonal and 0 elsewhere.
Frequently Asked Questions
How do I invert a 3×3 matrix by hand, step by step?
First compute the determinant by expanding along a row or column. If it is 0, stop — no inverse exists. Next, for each of the nine entries, cross out its row and column and compute the 2×2 determinant \(ad - bc\); multiply by \((-1)^{i+j}\) to get the cofactor. Place the cofactors in a matrix, transpose it to get the adjugate, then divide every entry by the determinant.
What is the fastest way to verify a computed inverse?
Multiply \(A\) by your result: the product must equal the identity matrix, with 1s on the diagonal and 0s elsewhere. A quick spot-check is to compute just one row of the product — for example, the first row of \(A\) times all three columns of \(A^{-1}\) should give \((1, 0, 0)\). You can also check that \(\det(A^{-1}) = 1/\det(A)\).
What kinds of 3×3 matrices are singular (non-invertible)?
A matrix fails to be invertible when its rows (or columns) are linearly dependent — for example, when one row is a multiple or sum of the others. Common cases include matrices with a zero row or zero column, duplicate rows, or rank less than 3. Geometrically, such a matrix squashes 3D space onto a plane or a line, so information is lost and the transformation cannot be undone.
Can I use this formula for a 2×2 matrix or a non-square matrix?
For a 2×2 matrix \(\begin{bmatrix} a & b \\ c & d \end{bmatrix}\), the inverse is simply \(\frac{1}{ad-bc}\begin{bmatrix} d & -b \\ -c & a \end{bmatrix}\). Non-square matrices (like 3×2 or 4×3) have no inverse at all in the usual sense — only square matrices do. Rectangular systems use the pseudoinverse instead, which is a different construction.
What are the most common mistakes when computing a 3×3 inverse by hand?
The top error is a sign slip in the cofactors: the checkerboard pattern of \(+\) and \(-\) must start with \(+\) in the top-left corner. The second is forgetting to transpose the cofactor matrix — the adjugate is not the cofactor matrix itself. Other frequent mistakes include arithmetic errors in the 2×2 determinants and mixing up rows and columns when entering the matrix.
Is there another method besides the adjugate (cofactor) method?
Yes — Gauss–Jordan elimination. Write \([A \mid I]\) and apply row operations until the left block becomes the identity; the right block is then \(A^{-1}\). For hand computation this is often less error-prone than juggling cofactor signs, and it is the method most software uses internally because it is faster for large matrices and more numerically stable.
Why does the calculator show values like 0.3333 instead of exact fractions?
Because the inverse entries equal cofactors divided by the determinant, they are often fractions such as \(1/3\) or repeating decimals. The calculator rounds each entry to four decimal places, so \(1/3\) appears as 0.3333. For exact work, keep the result as the adjugate divided by the determinant — the adjugate is displayed separately for exactly this reason.