Skip to content

Determinant Calculator

Type a square matrix, one row per line or rows separated by semicolons, to get its exact determinant, its rank and the row operations used.

Calculator Details

det A:49See results ↓

Determinant, inverse, reduced row echelon form (RREF), the product A × B or the transpose Aᵀ

One row per line (or separate rows with ;), entries separated by spaces or commas; fractions like 1/2 are fine

Your Results

det A: 49

det A

49

3×3 matrix

Rank

3

Invertible?

Yes

The determinant of the 3×3 matrix A is 49.

Compare scenarios

Save these inputs as a scenario, change them, and compare the results side by side.

Loading, available in a moment

Detailed Breakdown

Row operations, step by step
StepRow operationMatrix after the step
1R2 → R2 − 1·R1
2−31
03−2
145
2R3 → R3 − (1/2)·R1
2−31
03−2
011/29/2
3R3 → R3 − (11/6)·R2
2−31
03−2
0049/6

How This Calculator Works

How It’s Calculated

Forward elimination to upper-triangular form; det = (−1)^swaps × product of the diagonal.

A =

2−31
20−1
145

Each row operation and the matrix after it are listed in the breakdown table above.

Frequently Asked Questions

How do I find the determinant of a 2×2 matrix?

Multiply the diagonal and subtract the product of the other diagonal: for rows a b and c d, det = ad − bc. For rows 3 8 and 4 6 that is 3 × 6 − 8 × 4 = 18 − 32 = −14.

What does a determinant of zero mean?

The matrix is singular: its rows (and columns) are linearly dependent, it has no inverse, and a system of equations with that coefficient matrix has either no solution or infinitely many. Geometrically, the matrix squashes space into a lower dimension, so areas or volumes become zero.

What does the sign and size of the determinant mean?

Its absolute value is the factor by which the matrix scales areas (2×2) or volumes (3×3): a determinant of 49 makes a unit cube into a solid of volume 49. A negative sign means the transformation also flips orientation, like a mirror.

How do row operations change the determinant?

Swapping two rows flips its sign, multiplying a row by k multiplies the determinant by k, and adding a multiple of one row to another leaves it unchanged. That is why reducing to triangular form and multiplying the diagonal works, adjusting for any swaps.

Included: determinant, inverse and RREF by exact Gaussian / Gauss–Jordan elimination with every row operation listed, rank, matrix multiplication and the transpose, for matrices up to 6×6 (8 columns for RREF) with integer, decimal or fraction entries.

Left out: eigenvalues and eigenvectors, complex entries, LU/QR decompositions, matrix powers, addition, and matrices larger than 6 rows.

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):

  1. 2 × (0 × 5 − (−1) × 4) = 2 × 4 = 8.
  2. Minus −3 × (2 × 5 − (−1) × 1) = +3 × 11 = 33.
  3. Plus 1 × (2 × 4 − 0 × 1) = 8.
  4. 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.

Spotted a wrong result or a bug? Report a problem

May we count your visits with Invoker Analytics? It keeps a random visitor number in your browser. Your calculator inputs are never sent. Privacy policy