2×2 Matrix Inverse Calculator
Find the inverse of a 2×2 matrix.
Result
How it is calculated
Enter the four entries of the matrix row by row: a and b in the top row, c and d in the bottom row. The tool first finds the determinant det = a·d − b·c. If it is exactly zero, the matrix is singular and the result shows singular with dashes instead of an inverse. Otherwise each entry of the inverse is a swapped or sign-changed entry divided by the determinant: A⁻¹ = (1 ÷ det) × [[d, −b], [−c, a]]. The determinant and the four inverse entries are displayed rounded to two decimals, so a value such as 1/3 appears as 0.33.
Worked example
Take the matrix with a = 4, b = 7, c = 2, d = 6. Determinant: 4 × 6 − 7 × 2 = 24 − 14 = 10.00. Divide the rearranged entries by 10: top row d ÷ det = 6 ÷ 10 = 0.60 and −b ÷ det = −7 ÷ 10 = −0.70; bottom row −c ÷ det = −2 ÷ 10 = −0.20 and a ÷ det = 4 ÷ 10 = 0.40. The inverse is [[0.60, −0.70], [−0.20, 0.40]]. Multiplying it by the original matrix gives the identity matrix, which is a good way to check the answer.
Common mistakes
- Entering the entries column by column. The fields are a, b (first row) and c, d (second row); swapping b and c gives the inverse of the transpose instead.
- Forgetting that rows with proportional entries, such as [2, 4] and [1, 2], have determinant 0 and no inverse. The tool reports singular for these.
- Dividing each entry of the original matrix by the determinant. The inverse uses the rearranged entries d, −b, −c, a, not a, b, c, d.
- Reusing the rounded two-decimal figures in later work. Entries like 1/3 are shown as 0.33, so multiplying back gives a result that is slightly off the identity matrix.
- Expecting the inverse of a product to be in the same order. For two matrices, (AB)⁻¹ equals B⁻¹A⁻¹, not A⁻¹B⁻¹.
About this calculator
This calculator finds the inverse of a 2×2 matrix: for A = [[a,b],[c,d]], it computes the determinant (ad − bc) and then A⁻¹ = 1/det × [[d,−b],[−c,a]]. If the determinant is zero, the matrix has no inverse.
Students use it to check linear algebra homework, and it's the same math behind solving systems of two equations, computer graphics transformations (scaling, rotation, shearing), and cryptography exercises like the Hill cipher.
Was this helpful?
You can pick up to 3 reactions.
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
- Loan Calculator
- Profit Calculator
- Discount Calculator
- BMI Calculator
- Percentage Calculator
- Ideal Weight Calculator
- Age Calculator
- Pregnancy Due Date Calculator
- Compound Interest Calculator
- BMR Calculator (Basal Metabolic Rate)
- Tip Calculator
- Fuel Cost Calculator
- Date Difference Calculator
- Sleep Cycle Calculator
- Daily Water Intake Calculator
- Simple Interest Calculator
- Heart Rate Zones Calculator
- Running Pace Calculator
- Pet Age Calculator
- Calories Burned Calculator
- Macro Calculator
- TDEE Calculator (Total Daily Energy Expenditure)
- Waist-to-Hip Ratio Calculator
- Honor Roll Calculator
- One Rep Max (1RM) Calculator
- Ovulation Calculator
- Electricity Cost Calculator
- Unit Price Calculator
- Savings Goal Calculator
- Break-Even Point Calculator
- Paint Calculator
- Course Grade Average Calculator
- Business Days Calculator
- Time Duration Calculator
- Fuel Economy Calculator
- Temperature Converter
- Tile Calculator
- Aspect Ratio Calculator
- Roman Numeral Converter
- Goal Weight Timeline Calculator
- Salary Converter (Hourly to Annual)
- Credit Card Validator (Luhn)
- Body Surface Area (BSA) Calculator
- Feels-Like Temperature Calculator
- Ohm’s Law Calculator
- PPI (Pixel Density) Calculator
- Molar Mass Calculator
- Zodiac Sign Calculator (Western + Chinese)
- IBAN Validator
- Shoe Size Converter
- Country Info & Dialing Code Lookup
- Time Zone Difference (World Clock)
- CAGR (Compound Annual Growth Rate) Calculator
- Rule of 72 Calculator
- Blood Alcohol Content (BAC) Calculator
- Lean Body Mass (LBM) Calculator
- Pythagorean Theorem Calculator
- Speed Converter
- Download Time Calculator
- Date Calculator (Add/Subtract)
No calculators found
Comments (1)
The result is shown to two decimals, so a determinant like 0.004 appears as 0.00 even though the matrix is not singular and its inverse is made of very large entries. Treat a displayed determinant near zero as a warning that small rounding or measurement errors will be hugely amplified. To verify any answer, multiply it by your original matrix and look for the identity matrix. Are you inverting this for a system of equations or a transformation?