Matrix Calculator
Compute the determinant, inverse, transpose, sum or product of 2×2 and 3×3 matrices. Edit the grid and see the result instantly. Free and easy to use.
About Matrix Calculator
The matrix calculator handles the operations that come up most often in linear algebra classes: determinant, inverse, transpose, matrix addition (A + B) and matrix multiplication (A × B), for both 2×2 and 3×3 matrices. Edit the grid cells and the result updates instantly.
The determinant and inverse are computed by cofactor expansion, the same method taught in textbooks. If the determinant works out to zero, the tool flags the matrix as singular — not invertible — instead of showing a misleading answer.
It is useful for checking homework, verifying a hand calculation or exploring how operations behave. The calculator is free, needs no signup and runs fully in your browser, so you can experiment as much as you like.
How to use Matrix Calculator
- Pick the matrix size: 2×2 or 3×3.
- Choose an operation: determinant, inverse, transpose, A + B or A × B.
- Fill in the cells of matrix A (and matrix B for addition or multiplication).
- Read the result — a scalar for the determinant, or a full result matrix otherwise.
- Click “Reset to example” anytime to restore sample values.