Matrix Addition and Subtraction Calculator
Enter each row of both matrices with numbers separated by commas or spaces.
This result is an estimate only. Double-check important figures before relying on them.
How it is calculated
To multiply, use the matrix multiplication calculator.
Worked example
[1 2; 3 4] + [5 6; 7 8]:
Why your number may differ
Matrices larger than 3 rows are not covered. Leave row 3 empty for 2-row matrices.
Frequently asked questions
How do I add matrices?
Add the numbers in the same position. Both matrices must be the same size.
Is matrix subtraction order important?
Yes. A − B is not the same as B − A: every number changes sign.
How do I multiply matrices instead?
Use the matrix multiplication calculator. The rule is different and the sizes only need to match inside.