Matrix Addition Calculator

The calculator will find the sum of two matrices (if possible), with steps shown. It adds 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\\-1 & -2 & 1\end{array}\right] + \left[\begin{array}{ccc}2 & 3 & 0\\8 & 9 & 5\\1 & 1 & 7\end{array}\right].$$$

Solution

$$$\left[\begin{array}{ccc}\color{DarkCyan}{4} & \color{OrangeRed}{5} & \color{DarkBlue}{7}\\\color{Fuchsia}{2} & \color{SaddleBrown}{1} & \color{Purple}{0}\\\color{Green}{-1} & \color{DeepPink}{-2} & \color{Crimson}{1}\end{array}\right] + \left[\begin{array}{ccc}\color{DarkCyan}{2} & \color{OrangeRed}{3} & \color{DarkBlue}{0}\\\color{Fuchsia}{8} & \color{SaddleBrown}{9} & \color{Purple}{5}\\\color{Green}{1} & \color{DeepPink}{1} & \color{Crimson}{7}\end{array}\right] = \left[\begin{array}{ccc}\color{DarkCyan}{\left(4\right)} + \color{DarkCyan}{\left(2\right)} & \color{OrangeRed}{\left(5\right)} + \color{OrangeRed}{\left(3\right)} & \color{DarkBlue}{\left(7\right)} + \color{DarkBlue}{\left(0\right)}\\\color{Fuchsia}{\left(2\right)} + \color{Fuchsia}{\left(8\right)} & \color{SaddleBrown}{\left(1\right)} + \color{SaddleBrown}{\left(9\right)} & \color{Purple}{\left(0\right)} + \color{Purple}{\left(5\right)}\\\color{Green}{\left(-1\right)} + \color{Green}{\left(1\right)} & \color{DeepPink}{\left(-2\right)} + \color{DeepPink}{\left(1\right)} & \color{Crimson}{\left(1\right)} + \color{Crimson}{\left(7\right)}\end{array}\right] = \left[\begin{array}{ccc}6 & 8 & 7\\10 & 10 & 5\\0 & -1 & 8\end{array}\right]$$$

Answer

$$$\left[\begin{array}{ccc}4 & 5 & 7\\2 & 1 & 0\\-1 & -2 & 1\end{array}\right] + \left[\begin{array}{ccc}2 & 3 & 0\\8 & 9 & 5\\1 & 1 & 7\end{array}\right] = \left[\begin{array}{ccc}6 & 8 & 7\\10 & 10 & 5\\0 & -1 & 8\end{array}\right]$$$A