Matrix Multiplication Calculator

Multiply two matrices. Enter both with rows separated by semicolons and values by commas.

Product
Matrix A times B.

Usage Tip

Order matters in matrix multiplication — AB and BA are generally different, and one may not even be defined.

THE MATH
each result entry = dot product of an A row with a B column
A’s column count must equal B’s row count
Matrix multiplication combines two matrices by taking dot products of rows and columns.
It is not commutative: A times B usually differs from B times A.
The columns of A must equal the rows of B.
The result has A’s row count and B’s column count.
Enter rows separated by semicolons, values by commas.
Scroll to Top

The calculators and tools on Formula Factory are provided for general guidance and informational purposes only. Results are estimates based on standard formulas and the values you enter — they do not constitute professional engineering, electrical, or architectural advice. Always verify calculations with a qualified professional before making decisions for any safety-critical, code-compliance, or commercial application. Formula Factory makes no representations or warranties as to the accuracy or completeness of any result, and accepts no liability for errors, omissions, or any outcomes arising from reliance on this information.