This calculator handles the core operations on a 2 by 2 matrix, returning the determinant, the inverse, the trace and the transpose from the four numbers you enter. Matrices are the workhorses of linear algebra, used everywhere from solving systems of equations and computer graphics to statistics, engineering and economics, and the 2 by 2 case is where most students and practitioners start. The determinant tells you whether the matrix can be inverted and, geometrically, how it scales area; a determinant of zero means the matrix is singular and has no inverse. The inverse is the matrix that undoes the original, essential for solving equations of the form Ax equals b. The trace, the sum of the diagonal, and the transpose, which flips rows and columns, appear throughout the subject. You enter the four entries of the matrix, a and b in the top row, c and d in the bottom row, and the calculator returns the determinant, the trace, and the inverse matrix when it exists, or a clear note that the matrix is singular when the determinant is zero. The results update as you type, so you can explore how changing an entry affects the determinant and inverse, which builds real intuition for why some matrices cannot be inverted. Use it to check homework, to speed up calculations, or to confirm a hand-worked result. For larger 3 by 3 or bigger matrices, the same ideas apply but the arithmetic is heavier, so this tool focuses on the 2 by 2 case that comes up most often. The calculations are exact for the values you enter, with the inverse rounded for display.
For a 2x2 matrix [a b; c d]. The inverse exists only when the determinant is not zero. Results are exact; the inverse is rounded for display.
For a matrix with top row a, b and bottom row c, d, the determinant is ad minus bc. The trace is a plus d. The transpose swaps b and c. The inverse, which exists only when the determinant is not zero, is one over the determinant times the matrix d, minus b, minus c, a.
For the matrix [4 7; 2 6], the determinant is 4 times 6 minus 7 times 2, which is 24 minus 14, equals 10. The trace is 4 plus 6, equals 10. The inverse is one tenth of [6 -7; -2 4], which is [0.6 -0.7; -0.2 0.4]. The transpose is [4 2; 7 6].
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.
© 2019 to 2026 Calculate.co.nz. All rights reserved.