Determinant Calculator
Find the determinant of any square matrix with exact fractions, see it as the area a matrix scales by, and work through it by elimination or cofactor expansion.
Matrix
Enter a square matrix, or start from an example.
Up to 12 rows and 12 columns.
Use integers, decimals, or fractions such as 1/3. Paste rows from a spreadsheet or a Python list into any cell.
Input
Determinant
Updates as you type.
The determinant is not zero, so this matrix is invertible.
What the determinant means
A square matrix transforms space, and its determinant is the factor by which that transformation scales area in 2D or volume in 3D. For a matrix, the columns are where the unit square's sides land, and the determinant is the signed area of the resulting parallelogram:
A negative determinant means the transformation flips orientation, like turning a page over. A determinant of means space collapses into a lower dimension, so information is lost and the matrix has no inverse.
How to compute one
Elimination is the practical method at every size. Reduce the matrix to upper triangular form, using two row operations with known effects:
- Swapping two rows flips the sign of the determinant.
- Adding a multiple of one row to another leaves it unchanged.
The determinant of a triangular matrix is the product of its diagonal, so the answer is that product with one sign flip per swap.
Cofactor expansion writes the determinant in terms of smaller ones. Along row :
where is the matrix left after removing row and column . It is good for small matrices or ones with many zeros, but its work grows factorially, so it becomes impractical quickly.
Tips for using the calculator
- Open See with a matrix and drag the tips of and to feel how the columns control area. The shading turns amber when orientation flips.
- In Steps, try cofactor expansion along different lines. Every row and column gives the same answer, but lines with more zeros take less work.
- Enter integers, decimals, or fractions such as
1/3. Results are exact; switch to Decimals for a rounded view.
Elimination here is a close cousin of the row reduction in the RREF Calculator, and determinants multiply: , which you can explore with the Matrix Multiplication Calculator.
Related calculators
Keep working with matrices.
RREF Calculator
Row reduce any matrix with exact fractions, step through every row operation, and practice Gaussian elimination.
Matrix Multiplication Calculator
Multiply two to four matrices with exact fractions, entry-by-entry explanations, and Python list import and export.
Fraction Calculator
Add, subtract, multiply, and divide between two fractions with detailed step-by-step solutions.