A (
4
×
3
)
(
)
B (
3
×
1
)
(
)
=
AB ( 4 × 1 )
(
)
The product AB is only defined if the number of columns of A is the same as the number of rows of B.

Matrix multiplication

Created by Wangrui Zhao

Computation
← Hover over a result entry

How to use

Hover over a result entry to see which products are summed.
Edit any value to update live.
Use the ▲▼ steppers above each matrix to change its dimensions.


Legend

active row of A
active column of B
resulting entry of AB