Matrix Multiplication Calculator

The matrix multiplication calculator is your little helper in finding the product of two matrices up to 3x3 in size.

One row per line, values separated by commas or spaces.
One row per line, values separated by commas or spaces.
Clear
Result size2×22×2 times 2×2
AB = BA?Nomatrix multiplication does not generally commute
Frobenius norm of AB55.72252686

A × B

2536
2028

B × A

819
2045

The method

entry (i, j) is row i of A dotted with column j of B

Order matters

Matrix multiplication is not commutative: AB and BA are usually different, and one may not even be defined when the other is. It represents composing transformations, and rotating-then-stretching is genuinely not the same as stretching-then-rotating.