Determinant Calculator

The determinant of a square matrix from 1×1 through 6×6, in exact fractions - every row operation shown, swaps and pivots spelled out.

Size of the matrix:
Matrix A

Your input

Find the determinant of |122057111|.

Answer

The determinant is|122057111|=2

Solution

Subtract row 1 from row 3: R3=R3−R1.

|122057111|=|1220570−1−1|

Add row 2 multiplied by 1/5 to row 3: R3=R3+15R2.

|1220570−1−1|=|1220570025|

|1220570025|=1∙5∙25=2

Answer

The determinant of |122057111| is 2.

Runs entirely on your device - nothing is ever uploaded.

More tools

How to use the determinant calculator

  1. Pick the size n - the grid is square, from 1×1 to 6×6.
  2. Type a number (decimals and fractions like 1/5 both work) into every cell.
  3. Watch the write-up: each row operation appears as a sentence plus a |before| = |after| pair of determinants, swaps flip the sign, and the diagonal product closes it out.
  4. Read the final determinant in exact fractions, or copy it.

Add a multiple of one row to another and the determinant is unchanged - that is the whole trick: eliminate down to the diagonal and multiply the pivots. The write-up never rounds, so 1/3 stays 1/3.

What is a determinant

Every square matrix has a single number - its determinant - that summarizes how it scales space. For a 2×2 matrix [[a, b], [c, d]] it is ad − bc: with [[2, 3], [1, 4]] that gives 2×4 − 3×1 = 5. For 3×3 and larger, expansion by cofactors or row elimination breaks the problem into smaller determinants until only 2×2 cases remain, which is exactly the elimination this calculator writes out step by step.

What the determinant tells you

A determinant of zero means the matrix is singular: it squashes space flat, has no inverse, and its linear system has no unique solution. Geometrically, the absolute value is the scaling factor - a determinant of 5 stretches every area fivefold - while the sign tracks orientation: negative flips the space like a mirror. Eigenvalues connect here too, since their product always equals the determinant.