Inverse matrix calculator
Type a square matrix and get its inverse in exact fractions, with every row operation shown and a check that multiplying back gives the identity. If the matrix has no inverse, it says so.
| 11/2 | −13/2 | −3/4 |
| −4 | 5 | 1/2 |
| 7/2 | −9/2 | −1/4 |
- R1 → R1 ÷ 4
- R2 → R2 − 3·R1
- R3 → R3 − 2·R1
- R2 → R2 ÷ −1/4
- R1 → R1 − 7/4·R2
- R3 → R3 − 9/2·R2
- R3 → R3 ÷ −4
- R1 → R1 + 3·R3
- R2 → R2 − 2·R3
How to use it
- 1Type the matrix with one row per line and spaces between entries. Fractions like 1/2 and decimals both work.
- 2Leave the operation on “Inverse of A”. The result updates as you type.
- 3The answer stays in exact fractions, so nothing is rounded, and the row operations are listed underneath.
The 2×2 formula
For a 2×2 matrix with rows (a, b) and (c, d), the inverse is 1 ÷ (ad − bc) times the matrix with rows (d, −b) and (−c, a). Swap the diagonal, negate the other two entries, and divide by the determinant.
For rows (2, 1) and (5, 3), the determinant is 2·3 − 1·5 = 1, so the inverse has rows (3, −1) and (−5, 2).
Any size: row reduction
- Write the matrix A next to the identity I, as [A | I].
- Use row operations to turn the left side into the identity.
- The right side is now the inverse: [I | A⁻¹].
When a matrix has no inverse
A square matrix has an inverse exactly when its determinant isn’t zero. A matrix with a zero determinant is called singular: its rows depend on each other, so it squashes space into a lower dimension, and that can’t be undone. Rows (1, 2) and (2, 4) are an example, since the second row is twice the first. Non-square matrices don’t have ordinary inverses at all.
Using an inverse to solve equations
If Ax = b and A has an inverse, then x = A⁻¹b. This is tidy on paper, but for a single system, row reduction is less work. The system of equations calculator does it directly.
Frequently asked questions
How do you find the inverse of a 3×3 matrix?
Does every matrix have an inverse?
How do I check an inverse?
Is (AB)⁻¹ the same as A⁻¹B⁻¹?
Related tools and guides
Inverse, determinant, multiply, RREF, rank and eigenvalues, in exact fractions.
Multiply matrices of any compatible size, with the working.
Determinants up to 8 × 8 in exact fractions, with steps.
Reduced row echelon form with every row operation listed.
The characteristic polynomial, eigenvalues and eigenvectors.
Solve linear systems by elimination, in exact fractions.
It opens instantly, with no account and nothing to install.