Determinant Calculator: 2×2, 3×3 and Larger Matrices
By FindMySum · Last reviewed
A determinant calculator turns a square matrix into a single number that says a lot about it: whether it has an inverse, whether a system of equations has a unique solution, and how much the matrix stretches space. This page works with exact fractions, so the answer is never spoiled by rounding, and lists every row operation it uses.
Worked example
Find the determinant of the 3×3 matrix with rows 2 −3 1, then 2 0 −1, then 1 4 5, typed into the calculator as 2 -3 1; 2 0 -1; 1 4 5.
Expanding along the first row (cofactor expansion):
- 2 × (0 × 5 − (−1) × 4) = 2 × 4 = 8.
- Minus −3 × (2 × 5 − (−1) × 1) = +3 × 11 = 33.
- Plus 1 × (2 × 4 − 0 × 1) = 8.
- Total: 8 + 33 + 8 = 49.
The determinant is 49. It is not zero, so the matrix is invertible, its rank is 3, and any system Ax = b with this matrix has exactly one solution. The calculator reaches the same 49 by reducing the matrix to triangular form and multiplying the diagonal.
Which method to use
For 2×2 matrices, ad − bc is fastest. For 3×3, cofactor expansion or the diagonal (Sarrus) rule both work by hand. For 4×4 and larger, cofactor expansion grows very quickly, while row reduction stays manageable, which is why the calculator uses it. Only square matrices have determinants.
For the inverse, reduced row echelon form or a product of two matrices, use the matrix calculator; to multiply matrices step by step, the matrix multiplication calculator.
Sources
This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.