Inverse Matrix Calculator

About Inverse Matrix Calculator

The inverse of a matrix A is the matrix that undoes it: multiply the two together and you get the identity matrix, the matrix equivalent of 1. It is the closest thing matrices have to division, and it is how systems of linear equations are solved in closed form, since Ax = b becomes x = A inverse times b. Not every matrix has one. The matrix must be square, and its determinant must be non-zero. When the determinant is zero the matrix is singular, meaning the transformation collapses space in a way that cannot be reversed, and no inverse exists. This calculator checks the determinant first and tells you explicitly when a matrix is singular rather than returning nonsense or infinities. In practice, computing an inverse explicitly is often not the best way to solve a system numerically, since methods based on decomposition are more stable, but the inverse remains the right tool for understanding what a transformation does and for working symbolically. Check the determinant first with Determinant Calculator if you want to know in advance whether an inverse exists.

How to use Inverse Matrix Calculator

  1. Select an operation from the tab bar (Add, Multiply, etc.)
  2. Set matrix dimensions and enter values in the grid cells
  3. See the result matrix or scalar instantly

Frequently Asked Questions

What is an inverse matrix?
The matrix that undoes another one. Multiplying a matrix by its inverse gives the identity matrix, which leaves any matrix unchanged when multiplied by it, the way 1 does in ordinary arithmetic.
When does a matrix have no inverse?
When it is not square, or when its determinant is zero. A matrix with a zero determinant is called singular: it collapses space onto a lower dimension, and that cannot be undone.
What is a singular matrix?
One with a determinant of zero. Its rows or columns are linearly dependent, so it maps distinct inputs to the same output and the transformation cannot be reversed.
How is the inverse used to solve equations?
A system written as Ax = b has the solution x = A inverse times b, provided the inverse exists. It is a clean way to express the answer, though numerical solvers usually use decomposition instead for stability.
Does the inverse always exist for square matrices?
No. Being square is necessary but not sufficient. The determinant must also be non-zero. Many square matrices, including any with a row of zeros or two identical rows, are singular.

Related Tools

Also Available As