About Matrix Determinant Calculator
This calculator finds the determinant of a square matrix, from 1 × 1 up to 6 × 6, and shows how it got there. A determinant of zero means the matrix has no inverse. It is free, needs no sign-up and runs in your browser, so nothing you enter is uploaded.
The method depends on the size. A 2 × 2 uses ad − bc. A 3 × 3 is expanded along the first row into three 2 × 2 minors, with alternating signs. Larger matrices are reduced to upper triangular form with row operations: the determinant is then the product of the diagonal, with the sign flipped once for every row swap.
Besides invertibility, the determinant measures how a matrix scales area or volume: |det| is the factor, and a negative sign means the orientation is flipped. If you only have a 2 × 2 or 3 × 3, the dedicated pages for those sizes start with the right grid.
How to use Matrix Determinant Calculator
- Choose an operation, such as Determinant, Inverse or A × B.
- Set the size of matrix A with the row and column selectors. Square operations use a square grid, and two-matrix operations also show matrix B.
- Type the entries. Use integers, decimals or fractions like 3/4, and leave a cell blank for zero.
- The tool opens on a worked example. Read the result, typeset as a determinant, a rank or a matrix.
- Read the steps for the working, and use the decimal switch if you would rather see decimals than fractions.
Features
- Grids up to 6 × 6, with rows and columns set separately for non-square matrices.
- Addition, subtraction and multiplication of two matrices, with a clear message when the sizes do not match.
- Determinant with the 2 × 2 rule, first-row expansion for 3 × 3 and row reduction for larger matrices.
- Inverse by row-reducing [A | I], with a plain message when the matrix is singular.
- Rank and reduced row echelon form with each row operation listed.
- Adjugate and cofactor matrix for square matrices.
- Eigenvalues from the characteristic polynomial, including complex ones, with eigenvectors: exact for rational eigenvalues and numeric (labelled) for irrational ones.
- LU decomposition (with row swaps when a pivot is zero) and QR decomposition by Gram-Schmidt, exact with square roots.
- Fraction entries and fraction results, with a switch to decimals that also applies to the steps.
- Transpose of any matrix.
Determinant by cofactor expansion
Expand along a row, with signs alternating, using the minors as smaller determinants.
det(A) = Σⱼ (−1)^(1+j) × a₁ⱼ × M₁ⱼWorked examples
[[1, 2], [3, 4]] gives −2
1 × 4 − 2 × 3 = −2.
[[1, 2], [2, 4]] gives 0
1 × 4 − 2 × 2 = 0, so the matrix is singular and the second row is twice the first.
Privacy: how it works
- All the arithmetic runs in your browser tab. Your matrices are not sent to Ulkaa or anyone else, and there is nothing to sign in to.
Tips
- Write fractions as 3/4 rather than 0.75 if you want results to stay exact.
- Leave entries blank for zero instead of typing every zero in a large grid.
- To solve a linear system, put the coefficients and constants in one grid and use RREF, or use the equation solver.
- Multiplication is not commutative. To check AB against BA, swap which matrix is A and which is B.
Frequently asked questions
Is it really free?
Yes. There is no price, no trial and no credit card. Ulkaa Tool does the work with your own device, so there is no server bill to pass on to you.
Do I need an account?
No. There is no sign-up and no login. Open the page and use it. An Ulkaa account is not needed for anything on this tool.
Does it run in my browser?
Yes. Your matrices are processed by code running in your browser tab, on your own device.
Is my data uploaded?
No. Your matrices are never sent to Ulkaa or to anyone else. You can check this yourself by watching the Network tab in your browser developer tools while you use the tool.
How do I find a determinant?
For a 2 × 2 matrix [[a, b], [c, d]] it is ad − bc. Larger matrices are reduced to smaller ones by cofactor expansion or to triangular form by row operations.
What does a determinant of zero mean?
The matrix is singular: its rows are linearly dependent and it has no inverse.
More Matrix Calculator pages
- Matrix CalculatorAdd, multiply, invert, decompose (LU, QR) and analyse matrices up to 6 × 6, with typeset working.
- Inverse Matrix CalculatorFind A⁻¹ for a square matrix, or learn why it does not exist.
- Matrix Multiplication CalculatorMultiply matrix A by matrix B.
- Matrix Addition CalculatorAdd or subtract two matrices of the same size.
- Matrix Transpose CalculatorSwap the rows and columns of a matrix.
- Matrix Rank CalculatorFind how many independent rows a matrix has.
- Eigenvalue CalculatorFind the eigenvalues of a square matrix and see the characteristic polynomial.
- 2x2 Matrix Determinant CalculatorEnter a, b, c and d to get ad − bc.
- 3x3 Matrix Determinant CalculatorExpand a 3 × 3 determinant along the first row with every minor shown.
- 3x3 Inverse Matrix CalculatorInvert a 3 × 3 matrix with every row operation listed.
- RREF CalculatorRow-reduce any matrix up to 6 × 6 to reduced row echelon form.
- Adjugate and Cofactor Matrix CalculatorGet the cofactor matrix, its transpose the adjugate, and the determinant.
- LU Decomposition CalculatorFactor a square matrix into a lower and an upper triangular matrix, with exact fractions.