Matrix Multiplication Calculator
Multiply two matrices in your browser. Paste both grids around a separator line; mismatched inner dimensions are refused by count.
What this matrix multiplication calculator does
The page reads two grids from one box, split on the separator line, and multiplies them the standard way: each output cell is the dot product of its row and column. One, two, three, four times five, six, seven, eight reports nineteen, twenty-two, forty-three, fifty. The column count of the first matrix must equal the row count of the second, and a mismatch is refused naming both counts. Either side may be any rectangular shape; only the shared inner dimension must agree.
How to use it
Matrix Multiplication Calculator: paste the two matrices into the box above, set Separator (default "---"), and press Run to get the product below.
Worked example
Input:
1 2
3 4
---
5 6
7 8
Output:
19 22
43 50
Why it runs in your browser
The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads two matrices and returns product; reloading the page discards both.
The page reads two grids from one box, split on the separator line, and multiplies them the standard way: each output cell is the dot product of its row and column. One, two, three, four times five, six, seven, eight reports nineteen, twenty-two, forty-three, fifty. The column count of the first matrix must equal the row count of the second, and a mismatch is refused naming both counts. Either side may be any rectangular shape; only the shared inner dimension must agree.
Multiply two matrices in your browser. Paste both grids around a separator line; mismatched inner dimensions are refused by count.
How to use it
Matrix Multiplication Calculator: paste the two matrices into the box above, set Separator (default "---"), and press Run to get the product below.
Why it runs in your browser
The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads two matrices and returns product; reloading the page discards both.
What to Expect
Best for
- Converting two matrices to product when the data is already on screen.
What this tool keeps
- Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere.
Sample input
1 2 3 4 --- 5 6 7 8
Sample output
19 22 43 50
Frequently asked questions
How do I use the matrix multiplication calculator?
Matrix Multiplication Calculator: paste the two matrices into the box above, set Separator (default "---"), and press Run to get the product below.
Is my input uploaded?
No. The text is parsed on this page with JavaScript and is never posted to a server.
Is there a size limit?
Yes: 5 MB per run. Larger input is refused with a message rather than freezing the tab.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.