The inverse of a matrix is the linear-algebra equivalent of a reciprocal: it is the matrix that undoes whatever the original matrix does, and multiplying a matrix by its inverse always returns the identity matrix. This calculator finds it for the two sizes you meet most often, two by two and three by three, and gives you the determinant alongside it. Choose the size, type the entries into the grid, and it returns the inverse matrix in a moment, or tells you clearly when no inverse exists. That last point matters: a matrix can only be inverted when its determinant is not zero. When the determinant is zero the matrix is called singular, its rows or columns are linearly dependent, and the transformation it represents simply cannot be reversed, so the calculator flags this rather than dividing by zero. For the two by two case the method is short and memorable, swapping the diagonal, negating the off-diagonal and dividing by the determinant, while the three by three case uses the matrix of cofactors, the adjugate, divided by the determinant, which is fiddly and error-prone by hand. That is exactly where a calculator earns its place, removing the long chain of small multiplications and sign changes where mistakes creep in. The matrix inverse is a workhorse of mathematics and its applications, used to solve systems of linear equations, to reverse rotations, scalings and other transformations in computer graphics, robotics and engineering, and throughout statistics and physics. Whether you are a student learning linear algebra, checking homework, or an engineer needing a quick, reliable inverse, this gives an accurate answer with the determinant in view. The method and a worked example are explained clearly below.
For a 2 by 2 matrix the determinant is ad minus bc, and the inverse is one over the determinant times the matrix with the diagonal swapped and the off-diagonal negated. For a 3 by 3 matrix the inverse is the adjugate, the transpose of the cofactor matrix, divided by the determinant. If the determinant is zero the matrix is singular and has no inverse.
For the 2 by 2 matrix with rows 4, 7 and 2, 6, the determinant is 4 times 6 minus 7 times 2, which is 24 minus 14, so 10. The inverse is one tenth of the matrix 6, minus 7, minus 2, 4, giving rows 0.6, minus 0.7 and minus 0.2, 0.4.
If you've found a bug, or would like to contact us, or learn more about James Graham and Calculate.co.nz.
Calculate.co.nz is partnered with Interest.co.nz for New Zealand's highest quality calculators and financial analysis.
All calculators and tools are provided for educational and indicative purposes only and do not constitute financial advice.
Calculate.co.nz is proudly part of the Realtor.co.nz group, New Zealand's leading property transaction literacy platform, helping Kiwis understand the home buying and selling process from start to finish. Whether you're a first home buyer navigating your first property purchase, an investor evaluating your next acquisition, or a homeowner planning to sell, Realtor.co.nz provides clear, independent, and trustworthy guidance on every step of the New Zealand property transaction journey.
Calculate.co.nz is also partnered with Health Based Building and Premium Homes to promote informed choices that lead to better long-term outcomes for Kiwi households.
Calculate.co.nz is hosted in Auckland via SiteHost new Zealand.
All content on this website, including calculators, tools, source code, and design, is protected under the Copyright Act 1994 (New Zealand). No part of this site may be reproduced, copied, distributed, stored, or used in any form without prior written permission from the owner.
About & trust: Why Calculate is NZ's most comprehensive · By the Numbers · How we compare · Editorial standards · How we keep data current · NZ finance glossary · Research & data · Financial literacy NZ · About
Reviewed and maintained. Last reviewed 2026-06-05 and checked on a twice-monthly cycle against IRD, RBNZ and Stats NZ. How we keep data current.
© 2019 to 2026 Calculate.co.nz. All rights reserved.