Matrix Determinant Calculator
Enter matrix values, pick a size (2x2, 3x3, or 4x4), and instantly see the determinant with full step-by-step working.
Use the Matrix Determinant Calculator
Matrix Input
Determinant
Step-by-Step Working
Enter matrix values and click Calculate
Summary
This tool computes the determinant of square matrices up to 4x4. Enter your matrix values, choose the size, and click Calculate to get the result. Full step-by-step working is displayed — including cofactor expansions and 2x2 sub-determinants — so you can verify every intermediate step.
How it works
- Select the matrix size: 2x2, 3x3, or 4x4.
- Fill in the matrix cells with numeric values (decimals allowed).
- Click "Calculate Determinant" to run the computation.
- The determinant value is shown with color-coded step-by-step working.
- Use "Clear" to reset the grid, or "Random" to load a sample matrix.
Use cases
- Check whether a matrix is invertible (determinant ≠ 0).
- Verify homework or exam answers with shown working.
- Solve systems of linear equations using Cramer's Rule.
- Understand cofactor expansion step by step.
- Quick sanity-check during linear algebra coursework.
- Prepare examples for teaching or tutoring sessions.
Frequently Asked Questions
Last updated: 2026-05-29 · Reviewed by Nham Vu