Matrix Calculator
Perform matrix addition, subtraction, multiplication, determinant, inverse and transpose operations.
Operation
Matrix A
Matrix B
Result
0
0
0
0
MatrixLinear AlgebraDeterminantInverseMultiplication
A matrix calculator supporting addition, subtraction, multiplication, transpose, determinant and inverse operations for matrices from 2×2 up to 4×4.
Key Features
Six Operations
Add, subtract, multiply, transpose, determinant, and inverse — all in-browser with no dependencies.
Flexible Sizes
Independently set the size of Matrix A and Matrix B from 2×2 to 4×4.
Determinant
Computes determinant using recursive cofactor expansion for any square matrix.
Inverse
Calculates the inverse via Gauss-Jordan elimination with partial pivoting; detects singular matrices.
Editable Grid
Click any cell to enter your values. The result matrix is displayed in a read-only styled grid.
How to Use
- 1Select matrix sizes and enter values in the cells.
- 2Choose an operation from the toolbar.
- 3The result matrix appears below, with error messages for incompatible dimensions or singular matrices.