Compute the determinant \(\det(A)\) of an \(n\times n\) matrix. For \(2\times 2\) and \(3\times 3\) we show a direct formula. For larger matrices we use elimination (partial pivoting) and multiply pivots (tracking row swaps).
Matrix Determinant Calculator
Math Linear Algebra • Matrices and Systems of Equations
Elimination preview (upper-triangular pivots)
The canvas shows the elimination snapshots used to compute \(\det(A)\) by pivot product (tracking row swaps).
matrix A snapshot
pivot cell
pivot row
eliminated below pivot
Enter a matrix and click “Calculate”.