Percentage Calculator X
What are you solving?

Determinant Calculator

Enter a square matrix and the calculator returns its determinant as an exact fraction, with the cofactor expansion written out for the first row and a plain answer on whether the matrix is singular. Exact arithmetic means you never see tiny leftovers such as a long string of zeros ending in one, which spreadsheets sometimes show.

How to use the determinant calculator

Type your numbers. The answer and the working update as you type.

Whole numbers, decimals or fractions such as 1/2. The matrix must be square.

Result

Enter your numbers above to see the answer and every step.

  • Checked on

    Method: standard mathematical definitions and textbook formulas, shown in full in the working.

All sources

Matrices calculator →

Worked example

For the two-by-two matrix with first row 1, 2 and second row 3, 4, the determinant is the first diagonal product minus the second: 1 times 4 minus 2 times 3, which is -2.

Cofactor expansion

The steps of the worked example appear here.

Method and limits

A one-by-one matrix has the determinant equal to its entry, and a two-by-two matrix has ad minus bc. For larger matrices the calculator expands along a row, multiplying each entry by its sign and by the determinant of the smaller matrix left when its row and column are removed, and shows the first level in full. Very large matrices use exact fraction elimination. A determinant of zero means the matrix is singular and has no inverse.

What it does not cover

  • Numeric matrices only; symbolic entries are not supported.

Rules and calculation checked on 11 Oct 2026.

How we check our answers · Official sources

Questions people ask

How to find the determinant on a calculator?

Fill in the grid on this page and the determinant appears with the expansion written out. In the example above the result is -2. Handheld models use a matrix menu whose steps differ, so check the manual of your model.

How to find the determinant of a matrix?

For a two-by-two matrix multiply the main diagonal and subtract the product of the other diagonal. For bigger matrices expand along a row using cofactors. The page does either route and shows the lines, so you can follow them by hand.

Related calculators

Results follow the published rules shown above and are for guidance. For formal use, check them against your university's, board's or school's own document.