Matrix Inverse Calculator
Enter a square matrix and calculate its inverse instantly using Gauss-Jordan elimination.
Tip: The matrix must be square and have a non-zero determinant to be invertible.
How to use this find inverse of matrix calculator
This tool helps you compute the inverse of a square matrix quickly and accurately. To get started, choose your matrix size, enter each value in the grid, and click Find Inverse. If your matrix is invertible, the calculator returns A-1 along with the determinant.
- Select a size from 2×2 to 5×5.
- Fill in every matrix element (decimals and negatives are supported).
- Click Find Inverse to compute the result.
- If needed, click Load Example to test with a known invertible matrix.
What is the inverse of a matrix?
For a square matrix A, the inverse A-1 is a matrix that satisfies:
A × A-1 = I and A-1 × A = I,
where I is the identity matrix.
Inverse matrices are fundamental in linear algebra and are used to solve systems of equations, transform coordinates, and model dynamic systems.
When does an inverse exist?
A square matrix has an inverse only if its determinant is not zero:
det(A) ≠ 0
If the determinant is zero, the matrix is called singular and has no inverse. This calculator checks determinant values automatically and warns you if inversion is impossible.
Method used by this calculator
The calculator uses Gauss-Jordan elimination with pivoting:
- Build the augmented matrix
[A | I]. - Apply row operations to convert
AintoI. - The right side then becomes
A-1.
This is a standard, reliable method used in matrix inverse calculators, numerical linear algebra tools, and many engineering applications.
2×2 inverse formula (quick reference)
If
A = [[a, b], [c, d]],
then
A-1 = (1 / (ad - bc)) × [[d, -b], [-c, a]]
as long as ad - bc ≠ 0.
Practical uses of matrix inverses
1) Solving linear systems
For Ax = b, if A is invertible, then x = A-1b. This appears in statistics, optimization, and many computational workflows.
2) Computer graphics and robotics
Inverse transformation matrices are used to reverse rotations, translations, and scaling operations in rendering pipelines and robotic kinematics.
3) Economics and data models
Matrix inversion appears in input-output analysis, regression equations, and state transition models.
Common mistakes to avoid
- Trying to invert a non-square matrix.
- Entering incomplete rows or blank cells.
- Ignoring singularity when determinant is zero.
- Rounding too early in hand calculations.
FAQ
Does this calculator support decimals?
Yes. You can enter integers, negative numbers, and decimal values.
Why does it say my matrix is not invertible?
That message appears when the determinant is zero (or extremely close to zero), which means no unique inverse exists.
Can I use this for larger matrices?
This page supports up to 5×5 for clarity and speed in-browser. The same underlying method works for larger sizes in specialized software.