Matrix Calculator

Add, multiply, invert, and transpose matrices.

Ad

Matrix A

x

Matrix B

x
Ad

Frequently Asked Questions

What matrix sizes are supported? +
You can work with matrices from 1x1 up to 6x6. Each matrix can have independent dimensions, so you can multiply a 2x3 by a 3x4, for example.
Why does matrix multiplication fail? +
Matrix multiplication requires the number of columns in Matrix A to equal the number of rows in Matrix B. For example, a 2x3 matrix can only be multiplied by a 3xN matrix.
When can I compute a determinant or inverse? +
Determinants and inverses only exist for square matrices (same number of rows and columns). Additionally, a matrix must have a non-zero determinant to have an inverse.
Are calculation steps shown? +
Yes. For 2x2 and 3x3 determinants, the calculator displays the formula and intermediate values used to reach the result.
How do I enter negative or decimal numbers? +
Type them directly into the cells. Use a minus sign for negatives (e.g. -3) and a dot for decimals (e.g. 2.5). You can also use fractions like 1/3.
Ad