Determinant calculator
Type a square matrix and get its determinant as an exact number, with the row operations that find it, and whether the matrix has an inverse.
- R2 → R2 − 2/3·R1
- R3 → R3 − 1/3·R1
- R3 → R3 + 23/8·R2
- The matrix is now triangular. The determinant is the product of the diagonal, with the sign from any swaps: −306
How to use it
- 1Type the matrix with one row per line and spaces between entries. Fractions like 1/2 and decimals both work.
- 2Leave the operation on “Determinant of A”.
- 3The answer stays in exact fractions, so nothing is rounded, and the row operations are listed underneath.
Formulas for small matrices
2×2: for rows (a, b) and (c, d), the determinant is ad − bc.
3×3: for rows (a, b, c), (d, e, f) and (g, h, i), expand along the top row: a(ei − fh) − b(di − fg) + c(dh − eg). For rows (6, 1, 1), (4, −2, 5) and (2, 8, 7), this gives 6(−54) − 1(18) + 1(36) = −306.
Larger matrices: row reduction
Expanding by cofactors takes far too long as matrices grow: a 10 × 10 needs over three million terms. Row reduction is much faster. Turn the matrix into a triangular one, and the determinant is the product of the diagonal. Adding a multiple of one row to another doesn’t change it, but swapping two rows flips its sign, and this calculator keeps track of that.
What the determinant means
- Area scale: a 2×2 matrix multiplies areas by |det|. A determinant of 3 makes every shape three times as large.
- Orientation: a negative determinant means the transformation flips the plane, like a mirror.
- Invertibility: a determinant of 0 means the matrix squashes space flat, so it has no inverse.
Frequently asked questions
How do you find the determinant of a 3×3 matrix?
What does a determinant of 0 mean?
Can a determinant be negative?
Do non-square matrices have determinants?
Related tools and guides
Inverse, determinant, multiply, RREF, rank and eigenvalues, in exact fractions.
The inverse of any square matrix, in exact fractions with steps.
Multiply matrices of any compatible size, with the working.
Reduced row echelon form with every row operation listed.
The characteristic polynomial, eigenvalues and eigenvectors.
Solve linear systems by elimination, in exact fractions.
It opens instantly, with no account and nothing to install.