Matrix Multiplication Calculator

The calculator will find the product of two matrices (if possible), with steps shown. It multiplies matrices of any size up to 10x10 (2x2, 3x3, 4x4 etc.).

If the calculator did not compute something or you have identified an error, or you have a suggestion/feedback, please write it in the comments below.

Your Input

Calculate $$$\left[\begin{array}{ccc}4 & 5 & 7\\2 & 1 & 0\end{array}\right]\cdot \left[\begin{array}{cc}2 & 3\\8 & 9\\1 & 1\end{array}\right].$$$

Solution

$$$\left[\begin{array}{ccc}\color{Purple}{4} & \color{DarkMagenta}{5} & \color{Brown}{7}\\\color{Blue}{2} & \color{Magenta}{1} & \color{Green}{0}\end{array}\right]\cdot \left[\begin{array}{cc}\color{Green}{2} & \color{Magenta}{3}\\\color{DarkCyan}{8} & \color{Fuchsia}{9}\\\color{Chartreuse}{1} & \color{DeepPink}{1}\end{array}\right] = \left[\begin{array}{cc}\color{Purple}{\left(4\right)}\cdot \color{Green}{\left(2\right)} + \color{DarkMagenta}{\left(5\right)}\cdot \color{DarkCyan}{\left(8\right)} + \color{Brown}{\left(7\right)}\cdot \color{Chartreuse}{\left(1\right)} & \color{Purple}{\left(4\right)}\cdot \color{Magenta}{\left(3\right)} + \color{DarkMagenta}{\left(5\right)}\cdot \color{Fuchsia}{\left(9\right)} + \color{Brown}{\left(7\right)}\cdot \color{DeepPink}{\left(1\right)}\\\color{Blue}{\left(2\right)}\cdot \color{Green}{\left(2\right)} + \color{Magenta}{\left(1\right)}\cdot \color{DarkCyan}{\left(8\right)} + \color{Green}{\left(0\right)}\cdot \color{Chartreuse}{\left(1\right)} & \color{Blue}{\left(2\right)}\cdot \color{Magenta}{\left(3\right)} + \color{Magenta}{\left(1\right)}\cdot \color{Fuchsia}{\left(9\right)} + \color{Green}{\left(0\right)}\cdot \color{DeepPink}{\left(1\right)}\end{array}\right] = \left[\begin{array}{cc}55 & 64\\12 & 15\end{array}\right]$$$

Answer

$$$\left[\begin{array}{ccc}4 & 5 & 7\\2 & 1 & 0\end{array}\right]\cdot \left[\begin{array}{cc}2 & 3\\8 & 9\\1 & 1\end{array}\right] = \left[\begin{array}{cc}55 & 64\\12 & 15\end{array}\right]$$$A