Home Tools Hub Blog

Matrix Multiplication Calculator

Advanced step-by-step tool — enter any two compatible matrices (up to 10×10) and get a full dot-product walkthrough with LaTeX formulas and written explanations.

What is Matrix Multiplication?

Definition

If A is an m × n matrix and B is an n × p matrix, their product C = A × B is an m × p matrix. Each entry is the dot product of a row of A with a column of B:

$$ C_{ij} \;=\; \sum_{k=1}^{n} a_{ik} \cdot b_{kj} \;=\; a_{i1}b_{1j} + a_{i2}b_{2j} + \cdots + a_{in}b_{nj} $$

Multiplication is only defined when the number of columns of A equals the number of rows of B.

Not CommutativeIn general $AB \neq BA$. Order always matters.
Associative$(AB)C = A(BC)$ — grouping does not change the result.
Distributive$A(B+C) = AB + AC$ — distributes over addition.
Identity$AI = IA = A$ — the identity matrix acts like the number 1.
Step 1 — Set Matrix Dimensions
×
×
×
Compatible — result will be 2 × 2