2×2 Matrix Inverse Calculator

Written by Thierno Sadou Diallo, formula verified per our methodology • Last checked on 9/10/2026

The inverse of a 2×2 matrix [[a,b],[c,d]] is calculated with M⁻¹ = (1 ÷ determinant) × [[d,−b],[−c,a]], where the determinant is a×d − b×c. For the matrix [[4,7],[2,6]] (determinant 10), the inverse is [[0.6, −0.7],[−0.2, 0.4]].

Explanation

The inverse of a matrix M, written M⁻¹, is the unique matrix that, multiplied by M, gives back the identity matrix — the matrix equivalent of the reciprocal of a number (2 × 0.5 = 1). This calculator directly complements our 2×2 matrix determinant calculator: the determinant here acts as the denominator of each of the four coefficients of the inverse, after swapping the two terms of the main diagonal (a and d) and changing the sign of the other two (b and c) — this rearranged matrix is called the adjugate. A matrix is invertible only if its determinant is non-zero: a zero determinant means the matrix collapses the plane onto a line or a point, a transformation that cannot be undone, and therefore has no inverse. The inverse of a matrix has a very concrete use: it directly solves a system of linear equations written in matrix form (Mx = v becomes x = M⁻¹v), the same problem solved by our system of linear equations with 2 unknowns calculator using Cramer's rule — both methods rest on exactly the same determinant in the denominator, and both fail the same way when that determinant is zero.

Example: matrix [[4,7],[2,6]]

Inputs

a = 4, b = 7, c = 2, d = 6.

Calculation

Determinant = 4×6 − 7×2 = 24 − 14 = 10. Inverse = (1÷10) × [[6,−7],[−2,4]] = [[0.6, −0.7],[−0.2, 0.4]].

Result

The inverse of this matrix is [[0.6, −0.7],[−0.2, 0.4]].

Frequently asked questions

Why does a matrix with a zero determinant have no inverse?

Because each of the four coefficients of the inverse formula divides by that determinant: a zero determinant would make that division impossible. Geometrically, a matrix with a zero determinant collapses the plane onto a line or a point (it "loses information"), an operation that therefore cannot be undone by an inverse transformation.

How do you check that the result obtained is correct?

By multiplying the original matrix by its computed inverse: the result must give back exactly the identity matrix [[1,0],[0,1]]. That is the very definition of the inverse, and a quick check requiring only one additional matrix product.

Does this method work for larger matrices (3×3 and beyond)?

The general principle (dividing a rearranged matrix by the determinant) still holds, but the calculation becomes much more complex beyond 2×2: you then have to compute sub-determinants (cofactors) for each coefficient, a much heavier method than the simple swap and sign change used here.

Related resources

Similar calculators