Matrix Multiplication Calculator

Multiply two matrices of compatible sizes and see the product matrix and its dimensions.

Results

Enter your details and click Calculate to see your results.
About This Calculator

Type the matrix row by row: separate rows with semicolons (or new lines) and entries with spaces or commas — e.g. 1 2; 3 4 is the 2 × 2 matrix [[1, 2], [3, 4]]. Up to 10 × 10. Each entry (i, j) of AB is row i of A dotted with column j of B. Matrix multiplication is not commutative: AB ≠ BA in general.

Example

Example: a 2 × 3 times a 3 × 2 matrix gives [ 58 64 ] [ 139 154 ]

Assumptions

Exact up to floating point.

Frequently Asked Questions

What size is the product of m × n and n × p?

m × p.

Related Calculators

About the Author

Imran Hossain
Imran Hossain

Professional SEO, Digital Marketer Specialist

I am a Certified Google Ads Expert And Professional SEO, Digital Marketing Specialist

View full profile