Set matrix sizes
Choose the row and column count for matrix A and matrix B independently, from 1×1 up to 4×4.
Fill in matrix A and matrix B, then add, subtract, multiply, transpose, invert or find a determinant instantly.
Choose the row and column count for matrix A and matrix B independently, from 1×1 up to 4×4.
Type each entry directly into the grid — every cell updates the result live.
Add, subtract or multiply A and B, or transpose, invert or find the determinant of A alone.
Matrix addition and subtraction require both matrices to have exactly the same number of rows and columns. Resize matrix B to match matrix A to enable this operation.
Matrix multiplication A × B is only defined when the number of columns in A equals the number of rows in B. Adjust the dimensions so they line up.
Only square matrices with a non-zero determinant have an inverse. A matrix with a zero determinant is called singular and cannot be inverted.