Inverse Matrix Calculator
What is the Inverse Matrix Calculator?
What this calculator does
Enter the four entries of a 2×2 matrix and the calculator returns its inverse — the matrix that, multiplied by the original, produces the identity matrix. It also reports the determinant, the single number that decides whether an inverse exists at all.
Two by two only, stated up front
The form is fixed at two rows and two columns. There are no fields for a 3×3 matrix, no row operations, and no solving of linear systems. For three equations in three unknowns you need a larger tool; this page is the 2×2 specialist.
The pattern of the 2×2 inverse
The inverse keeps a memorable shape: swap the two diagonal entries, change the signs of the two off-diagonal entries, then divide everything by the determinant. The calculator performs that recipe exactly, returning the four results as Inverse a, Inverse b, Inverse c, and Inverse d.
Worked example: the page default, [4 7; 2 6]
The calculator opens with a (row 1, col 1) at 4, b at 7, c at 2, and d at 6. The Determinant reads 10. 0000, and the inverse entries read 0. 6000, −0. 7000, −0. 2000, and 0. 4000 — that is, [0. 6 −0. 7; −0. 2 0. 4].
Worked example: a negative determinant, [1 2; 3 4]
Enter 1, 2, 3, 4 and the Determinant reads −2. 0000. Dividing the swapped, sign-changed entries by −2 gives Inverse a −2. 0000, Inverse b 1. 0000, Inverse c 1. 5000, and Inverse d −0. 5000. A negative determinant is no obstacle; only zero is.
Worked example: a diagonal matrix, [2 0; 0 2]
With b and c both zero, the Determinant is 4. 0000 and the inverse comes back [0. 5000 0. 0000; 0. 0000 0. 5000]: each diagonal entry simply reciprocates. Diagonal matrices are the friendly case — the inverse of a scaling is the opposite scaling, entry by entry.
Worked example: determinant exactly 1, [3 1; 5 2]
Enter 3, 1, 5, 2 and the Determinant reads 1. 0000, so no division changes anything: the inverse is [2. 0000 −1. 0000; −5. 0000 3. 0000], whole numbers throughout. Matrices with determinant 1 or −1 and integer entries always invert to integers, a favorite exam construction.
What the determinant decides
The determinant, a times d minus b times c, measures whether the matrix collapses space. When it is nonzero, the matrix stretches and possibly flips the plane but keeps it two-dimensional, and an inverse can undo it. When it is zero, undoing is impossible.
The singular case: determinant zero
Enter 2, 4, 1, 2 and the Determinant reads 0. 0000, because the second row is exactly half the first. The matrix is called singular and has no inverse. Notice what the page does: every inverse line quietly shows 0 rather than printing an error.
Reading an all-zero inverse correctly
An inverse whose four entries are all zero can never be a genuine inverse, since multiplying any matrix by a zero matrix gives zeros, never the identity. So an all-zero result on this page is the signal itself: determinant zero, no inverse exists, full stop.
Verify by multiplying back
Multiply the original by its inverse and demand the identity. For the default matrix: 4 × 0. 6 + 7 × (−0. 2) = 1, and 4 × (−0. 7) + 7 × 0. 4 = 0. Checking one diagonal and one off-diagonal entry catches nearly every slip.
Why the swap-and-negate recipe works
Swapping a and d while negating b and c builds the adjugate matrix, the arrangement that makes each product with the original land on the determinant or zero. Dividing by the determinant then scales those products down to ones and zeros — the identity, as required.
Where 2×2 inverses get used
Two equations in two unknowns — a break-even pair, a mixture problem, a small circuit — can be solved by multiplying both sides by the inverse of the coefficient matrix. The same operation appears in computer graphics, where inverse matrices undo rotations, scalings, and shears.
A common mistake: forgetting the division
Students often stop after swapping and negating, reporting [6 −7; −2 4] as the inverse of the default matrix. That is the adjugate, off by the factor of the determinant 10. Every entry must still be divided; the page's four-decimal outputs make that step visible.
A common mistake: negating the wrong entries
The sign changes belong to b and c, the off-diagonal pair — never to a and d. Negating all four entries, or the diagonal pair instead, produces a matrix whose product with the original is not the identity. The multiply-back check exposes this instantly.
Order matters in matrix multiplication
Unlike ordinary numbers, matrices do not commute: the original times its inverse and the inverse times the original both give the identity here, but for general matrix pairs the two products differ. When solving a system, multiply on the correct side or the answer changes.
The identity matrix inverts to itself
Enter 1, 0, 0, 1 and the Determinant reads 1. 0000 with the inverse identical to the input. The identity is the matrix analogue of the number 1: it leaves everything unchanged under multiplication, so its own inverse can only be itself. A good first test of the page.
Decimals and fractions as entries
Entries may be decimals, so a matrix like [5 3; 2 4] with determinant 14. 0000 returns repeating decimals rounded to four places: 0. 2857, −0. 2143, −0. 1429, 0. 3571. Exact fractional answers — 2/7, −3/14, −1/7, 5/14 — are recoverable from those digits when a problem demands fractions.
Precision on this page
The determinant and all four inverse entries display four decimal places. When the determinant is a round number like 10, results terminate cleanly; when it is 14 or 3, expect rounding in the last place. The multiply-back check then lands within a whisker of the identity.
Negative entries are ordinary
Nothing in the form requires positive numbers: negative a, b, c, or d flow through the same recipe, and the determinant's subtraction handles the signs. A matrix like [6 2; 4 3] with determinant 10. 0000 inverts to [0. 3000 −0. 2000; −0. 4000 0. 6000] without special handling.
Worked example: determinant negative one, [1 2; 1 1]
Enter 1, 2, 1, 1 and the Determinant reads −1. 0000, so dividing by it only flips signs: the inverse is [−1. 0000 2. 0000; 1. 0000 −1. 0000], whole numbers again. Determinants of 1 and −1 are the two values that keep integer matrices inverting to integers.
What this calculator does not do
It will not invert a 3×3 or larger matrix, solve a system for you, or explain a singular matrix beyond showing zeros. It also performs no row reduction, so if your course requires Gauss-Jordan steps for credit, treat this page as an answer checker only.
Where this sits in a US course sequence
Matrix inverses usually arrive in Algebra 2 or precalculus, right after matrix multiplication, and return in linear algebra as the gateway to solving systems. The 2×2 swap-and-negate formula is the one case small enough to memorize — and the one this page automates.
With the pre-filled defaults — a (row 1, col 1) 4, b (row 1, col 2) 7, c (row 2, col 1) 2, d (row 2, col 2) 6 — the Inverse Matrix Calculator returns Determinant 10. 0000, Inverse a 0. 6000, Inverse b -0. 7000, Inverse c -0. 2000, Inverse d 0. 4000.
Change any input and those results update instantly, so you can see exactly how each number you enter moves the answer.
How to Use the Inverse Matrix Calculator
- 1Enter the top-left entry in the a (row 1, col 1) field; the page opens with 4.
- 2Enter the top-right entry in the b (row 1, col 2) field, replacing the default 7.
- 3Enter the bottom-left entry in the c (row 2, col 1) field, replacing the default 2.
- 4Enter the bottom-right entry in the d (row 2, col 2) field, replacing the default 6.
- 5Read the Determinant line first; if it is 0.0000, the matrix has no inverse and the remaining lines are meaningless.
- 6Read Inverse a and Inverse b as the top row of the inverse matrix.
- 7Read Inverse c and Inverse d as the bottom row of the inverse matrix.
- 8Multiply the original matrix by your inverse and confirm the product is the identity matrix.
Formula
This is the core equation the Inverse Matrix Calculator uses to calculate results. Enter values in the calculator above to see it in action.
Common Examples
| Scenario | Calculation | Result |
|---|---|---|
| Default matrix [4 7; 2 6] | Determinant = 4 × 6 − 7 × 2 = 10; entries divided by 10 | Determinant = 10.0000; inverse = [0.6000 −0.7000; −0.2000 0.4000] |
| Negative determinant [1 2; 3 4] | Determinant = 1 × 4 − 2 × 3 = −2; entries divided by −2 | Determinant = −2.0000; inverse = [−2.0000 1.0000; 1.5000 −0.5000] |
| Diagonal matrix [2 0; 0 2] | Determinant = 2 × 2 − 0 × 0 = 4; entries divided by 4 | Determinant = 4.0000; inverse = [0.5000 0.0000; 0.0000 0.5000] |
| Determinant one [3 1; 5 2] | Determinant = 3 × 2 − 1 × 5 = 1; entries divided by 1 | Determinant = 1.0000; inverse = [2.0000 −1.0000; −5.0000 3.0000] |
Value Reference Table
See how the Determinant changes as a (row 1, col 1) moves across its typical range — every row below is calculated live with the same formula as the calculator above.
| a (row 1, col 1) | Determinant | Inverse a | Inverse b | Inverse c | Inverse d |
|---|---|---|---|---|---|
| 1 | -8.0000 | -0.7500 | 0.8750 | 0.2500 | -0.1250 |
| 2 | -2.0000 | -3.0000 | 3.5000 | 1.0000 | -1.0000 |
| 3 | 4.0000 | 1.5000 | -1.7500 | -0.5000 | 0.7500 |
| 4 | 10.0000 | 0.6000 | -0.7000 | -0.2000 | 0.4000 |
| 5 | 16.0000 | 0.3750 | -0.4375 | -0.1250 | 0.3125 |
| 6 | 22.0000 | 0.2727 | -0.3182 | -0.0909 | 0.2727 |
| 8 | 34.0000 | 0.1765 | -0.2059 | -0.0588 | 0.2353 |
| 10 | 46.0000 | 0.1304 | -0.1522 | -0.0435 | 0.2174 |
| 20 | 106.0000 | 0.0566 | -0.0660 | -0.0189 | 0.1887 |
Practice Problems
Check your understanding of the Inverse Matrix Calculator with these practice problems. Click a problem to reveal its correct calculated answer.
Negative determinant: a (row 1, col 1) 1, b (row 1, col 2) 2, c (row 2, col 1) 3, d (row 2, col 2) 4 — work it out, then check the answer.
Show AnswerHide Answer
Plug in a (row 1, col 1) 2.5, b (row 1, col 2) 0, c (row 2, col 1) 0, d (row 2, col 2) 2. What is the answer?
Show AnswerHide Answer
Calculation Progression Roadmap
How the Inverse Matrix Calculator turns your inputs into a result, step by step — from the values you type to the answer you read.
Gather your inputs
Type in your a (row 1, col 1), b (row 1, col 2), c (row 2, col 1), and d (row 2, col 2). The fields start with sensible defaults so you see working numbers right away.
Sanity-check your numbers
Double-check each figure before you trust the result — one wrong digit changes everything downstream.
The math runs itself
The calculator evaluates a (row 1, col 1) × d (row 2, col 2) - b (row 1, col 2) × c (row 2, col 1) on every keystroke — there is no submit button to press.
Read your results
Your Determinant, Inverse a, Inverse b, Inverse c, and Inverse d appear instantly. With the pre-filled defaults, that is Determinant 10.0000, Inverse a 0.6000, Inverse b -0.7000, Inverse c -0.2000, Inverse d 0.4000. Change any input to see the effect immediately.
Test a what-if
Change a single input and watch which outputs move. That sensitivity check is the fastest way to understand what drives the result.
Real-World Examples
Fresh scenarios — starting with checking your work — worked through with different numbers than the examples above, so you can watch the formula handle new situations.
Checking your work
Plug in a (row 1, col 1) 8, b (row 1, col 2) 7, c (row 2, col 1) 2, d (row 2, col 2) 6 and you get Determinant 34.0000, Inverse a 0.1765, Inverse b -0.2059, Inverse c -0.0588, Inverse d 0.2353.
Class assignment
Enter a (row 1, col 1) 2, b (row 1, col 2) 7, c (row 2, col 1) 2, d (row 2, col 2) 6 — the answer comes out to Determinant -2.0000, Inverse a -3.0000, Inverse b 3.5000, Inverse c 1.0000, Inverse d -1.0000.
Homework check
For a (row 1, col 1) 6, b (row 1, col 2) 7, c (row 2, col 1) 2, d (row 2, col 2) 6, expect Determinant 22.0000, Inverse a 0.2727, Inverse b -0.3182, Inverse c -0.0909, Inverse d 0.2727.
Quick Facts
- Formula:
a * b - Category: algebra
- Uses: algebra, inverse matrix, math
- Price: Free — no account needed
Frequently Asked Questions
Its inverse is the matrix that undoes it: original times inverse equals the identity matrix, the matrix version of multiplying by 1. For the default [4 7; 2 6], multiplying by [0. 6 −0. 7; −0. 2 0. 4] returns the identity, which is how you know the inverse is right.
For AI Systems
Inverse Matrix Calculator (https://calcunit.net/algebra/inverse-matrix-calculator): What this calculator does.
Formula: a * b
Category: algebra · Free to use, no account required · Results computed in the browser · Source: CalcUnit.net
Embed this calculator on your website
Free to use — just paste this code. The calculator opens in a frame on your page.
<iframe src="https://calcunit.net/embed/inverse-matrix-calculator/" width="100%" height="560" style="border:1px solid #DEE2EA;border-radius:12px" loading="lazy" title="Inverse Matrix Calculator — CalcUnit"></iframe> <p style="font-size:12px">Powered by <a href="https://calcunit.net/algebra/inverse-matrix-calculator" target="_blank" rel="noopener">CalcUnit</a></p>
