Skip to content
MyDailyTool

Matrix Calculator

Add, subtract, multiply, transpose, and invert matrices of any size. Shows intermediate steps for multiplication and Gaussian elimination for matrix inversion.

A
B
Result
2
2
2
2

How to use the matrix calculator

Set the matrix size, fill in the cells, and pick an operation. Results render as a matrix or a scalar (for determinant).

Formula & explanation

Add/sub: element-wise. Multiply: rows × columns. Transpose: swap rows and columns. Determinant: Laplace expansion.

Examples

[[1,2],[3,4]] × [[5,6],[7,8]] = [[19,22],[43,50]]. det([[1,2],[3,4]]) = −2.

Frequently asked questions

Inverse?
Not yet — file a request. For 2×2 it's trivial; larger sizes need pivoting and we kept this UI simple.

Related math tools