Inverse Matrix Calculator

Find the inverse of a 2×2 matrix, with the determinant, the adjugate entries and a check that A·A⁻¹ gives the identity.

Determinant (ad − bc) 10
A⁻¹ = (1/det) · [ d −b ; −c a ] where det = ad − bc
Inverse matrix [ 0.6 -0.7 ; -0.2 0.4 ]
A⁻¹ = (1/det) · [ d −b ; −c a ] where det = ad − bc
Status Invertible — the inverse is shown above and A·A⁻¹ gives the identity matrix.
A⁻¹ = (1/det) · [ d −b ; −c a ] where det = ad − bc
Inverse: row 1, column 1 0.6
Inverse: row 1, column 2 -0.7
Inverse: row 2, column 1 -0.2
Inverse: row 2, column 2 0.4
Check: top-left of A·A⁻¹ 1

Everything you type here is processed on your own device. No input is sent to a server, logged, or stored.

What the Inverse Matrix Calculator does

Use this inverse matrix calculator to find the inverse of a 2×2 matrix, with the determinant, the adjugate entries and a check that A·A⁻¹ gives the identity. Fill in all 4 fields and the result updates as you type — there is no Calculate button to press and no page reload. It is most often used for inverting a 2×2 transformation matrix in graphics or geometry work. There are more free online tools on FreeToolStation.org.

How to use it

  1. Enter the four entries of your matrix, reading across the top row then the bottom.
  2. Read the determinant first — if it is zero, there is no inverse and nothing else on the page applies.
  3. Read the inverse, shown both as a formatted matrix and as four separate entries.
  4. Confirm the check row reads 1, which means A multiplied by its inverse gives the identity.

How it works

Inverting a 2×2 matrix is one of the few places in linear algebra with a formula short enough to memorise: swap the two diagonal entries, negate the other two, and divide everything by the determinant. The swapped-and-negated matrix is the adjugate, and dividing it by the determinant is what makes the product with the original come out as the identity.

Everything hinges on that determinant being non-zero. If ad = bc, the two rows are proportional — one is a multiple of the other — and the matrix squashes the plane onto a line. Two different input vectors land on the same output, so there is no way to work backwards, and the division by zero in the formula is the arithmetic refusing to invent one. This page reports that as singular rather than printing infinities.

The identity check on the last row multiplies A by the computed inverse and reports the top-left entry, which should be exactly 1. On a well-behaved matrix it is. On a matrix with a determinant close to zero you will see something like 0.9999999 or 1.0000003, and that drift is a warning: the inverse exists in principle but amplifies rounding errors badly, so any calculation built on it inherits the instability. In numerical work the usual advice is to solve the system directly rather than form the inverse at all.

When to use it

  • Inverting a 2×2 transformation matrix in graphics or geometry work.
  • Solving a two-variable system in matrix form.
  • Checking a hand-computed inverse entry by entry.
  • Testing whether a matrix is singular before building on it.

Common mistakes to avoid

  • Negating the diagonal and swapping the off-diagonal entries, which is the formula backwards. You swap a and d, and negate b and c.
  • Forgetting to divide by the determinant, which gives the adjugate rather than the inverse.
  • Assuming A⁻¹B equals BA⁻¹. Matrix multiplication does not commute, so the side matters.

Frequently asked questions

What is the inverse of [[4,7],[2,6]]?

The determinant is 4×6 − 7×2 = 10, so the inverse is [[0.6, −0.7], [−0.2, 0.4]]. Multiplying the two together gives the identity matrix exactly.

Why does a zero determinant mean no inverse?

Because the matrix collapses the plane onto a line, mapping many different vectors to the same result. An inverse would have to undo that and pick one original out of infinitely many, which no function can do.

Can you invert a 3×3 matrix here?

Not on this page. The 3×3 inverse needs the full adjugate of nine cofactors, which is a different interface; the determinant calculator on this site will at least tell you whether a 3×3 inverse exists.

Related tools

See all math & statistics calculators →