Determinant Calculator
This determinant calculator finds the determinant of a 2×2, 3×3 or 4×4 matrix and shows every step. The entries can be numbers, fractions or letters. It is free and part of our math solver.
How to Use the Determinant Calculator
Enter Your Matrix
Type each row in square brackets, with commas, and wrap the whole thing in one more pair: [[1,2],[3,4]]. The matrix must be square, so it needs as many rows as columns.
Read the Steps
For a 3×3 or 4×4 matrix, the steps expand along one row and break it into smaller determinants. If the result is zero, a note explains what that means.
Formulas Behind the Matrix Determinant Calculator
2×2 Determinant
In words: multiply down the main diagonal, then subtract the product of the other diagonal.
3×3 Determinant
In words: take each number in the top row and multiply it by the 2×2 determinant left after you cross out its row and column. The signs go plus, minus, plus.
That small leftover determinant is called a minor. A minor with its sign attached is a cofactor.
4×4 Determinant
Use the same idea with four 3×3 determinants and the signs plus, minus, plus, minus. Choose a row or column that has zeros, because a zero entry removes a whole piece of work.
Which method should you choose? For 2×2, use the formula. For 3×3, use cofactors. From 4×4 up, it is often faster by hand to use row operations to make a triangle of zeros, then multiply along the diagonal. For example, .
What Does a Determinant of Zero Mean?
A determinant of zero means the matrix is singular, so it has no inverse. Its rows are not independent: at least one can be built from the others. For a system of equations with that matrix, there is no single solution. There are either none or infinitely many.
The determinant also measures size. For a 2×2 matrix, its absolute value is the area of the parallelogram made by the two rows. For 3×3 it is a volume. Zero means the shape has been squashed flat.
Properties of Determinants
| What you do | What happens to the determinant |
|---|---|
| Swap two rows | The sign changes |
| Multiply one row by | It is multiplied by |
| Add a multiple of one row to another | Nothing changes |
| Have two equal rows | It is zero |
| Take the transpose | Nothing changes |
| Multiply two matrices |
Worked Examples
Example 1: A 2×2 Matrix
Find .
- Main diagonal: .
- Other diagonal: .
- Subtract: .
Example 2: A 3×3 Matrix
Find .
- For the entry 2: .
- For the entry 1, with a minus sign: .
- For the entry 0: the whole piece is 0.
- Add: .
Example 3: A Determinant of Zero
Find .
- and .
- Subtract: .
The second row is twice the first, so the rows are not independent.
Common Mistakes to Check
Forgetting the Alternating Signs
In a 3×3 expansion, the middle piece is subtracted. Write the plus, minus, plus pattern above the row before you start.
Using a Matrix That Is Not Square
A 2×3 matrix has no determinant. Count the rows and columns first.
Ignoring a Row Swap
If you swap two rows to make the work easier, remember to change the sign of your final answer.
Practice Problems
- Find .
- Find .
- Find .
- Find without a calculator.
- Find .
Show the answers
Related Calculators
- System of Equations CalculatorThis system of equations calculator solves 2 or 3 linear equations by elimination or substitution. A free simultaneous equations calculator with a graph.
- Algebra SolverUse this algebra solver to solve equations, factor and simplify with every step shown. A free algebra calculator with no sign-up. Type a problem to start.
- Equation SolverThis equation solver handles linear, radical, log and more equation types. Solve equations step by step and see each answer checked. Free, with no sign-up.
- Polynomial CalculatorUse this polynomial calculator to add, multiply, divide and solve with steps. A free polynomial solver that finds roots and remainders. Enter yours now.
Learn More
FAQ
Can a Determinant Be Negative?
Yes. A negative determinant means the matrix flips the shape over, like a mirror. The size is the absolute value.
Can You Find the Determinant of a 2×3 Matrix?
No. Only square matrices have determinants. You can use a 2x2 determinant calculator or a 3x3 determinant calculator, but nothing in between.
What Is Cofactor Expansion?
A way to turn a large determinant into smaller ones. Pick a row, multiply each entry by its cofactor, and add. You get the same result from any row or column.
What Happens to the Determinant If You Swap Rows?
Its sign changes. If the determinant was 5, it becomes .
What Is the Determinant Used For?
It tells you if a matrix has an inverse, it helps solve systems by Cramer's rule, and it gives areas and volumes. To solve a system directly, use the system of equations calculator.
Can the Entries Be Letters?
Yes. Type [[a,b],[c,d]] and you get . To tidy up a long answer with letters, try the simplify calculator.
Next step: expand one 3×3 matrix along two different rows. You should get the same number both times, and the determinant calculator can confirm it.