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
Result
The working
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.
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.
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
Factor a square matrix into L and U in exact fractions. Pick partial pivoting or the textbook no-pivot version, see each multiplier and verify the product.
Linear regression calculatorPaste x and y values to get the best-fit line, slope, intercept, correlation r and r squared, and a prediction at any x, with the working table.
Synthetic division calculatorDivide a polynomial by a linear factor with synthetic division. See the table, quotient and remainder, plus a factor statement if it is zero.
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.