Matrix Multiplication Calculator

Multiply rectangular matrices in either order using exact fractions and a calculation of every result element.

Matrix product
—
Result dimensions
—
Calculation of every element
—

Each input may have 1–6 rows and columns. The first matrix’s column count must equal the second matrix’s row count. Separate rows with newlines or semicolons and entries with spaces or commas. Use decimal points or fractions such as 1/3. Changing A×B to B×A may change the dimensions or make multiplication impossible. Decimal results round to 8 places.

Method and limits

Multiply rectangular matrices in either order using exact fractions and a calculation of every result element.

Each input may have 1–6 rows and columns. The first matrix’s column count must equal the second matrix’s row count. Separate rows with newlines or semicolons and entries with spaces or commas. Use decimal points or fractions such as 1/3. Changing A×B to B×A may change the dimensions or make multiplication impossible. Decimal results round to 8 places.

Frequently asked questions

What inputs and limits apply?

Each input may have 1–6 rows and columns. The first matrix’s column count must equal the second matrix’s row count. Separate rows with newlines or semicolons and entries with spaces or commas. Use decimal points or fractions such as 1/3. Changing A×B to B×A may change the dimensions or make multiplication impossible. Decimal results round to 8 places.

Also try:

Back to category →