Dustin Newman

Matrix Multiplication Visualizer

July 11, 2026

This is an interactive web application to help visualize matrix multiplication, at least the way I visualize it! You can type in your own values to the matrices below by clicking/tapping on the cells if you want to use the default 2x2 matrix. Or, if you want a different dimensionality, you can enter your own matrix in text with the text boxes below. The syntax is “[[1,2],[3,4]]”.

Note that we are being pedantic here and do not perform NumPy-style array promotion. We treat [1,2] as a row vector which is distinct from a column vector. To perform multiplication where has rows, you must enter as an matrix, e.g. [[1],[2]].

×
=
1922
4350

Edit cells directly, or type a whole matrix into A or B. You can see the corresponding rows and columns for the output by hovering (or tapping on) over each output cell.