Matrix Calculator
Add, subtract or multiply two matrices. Type each matrix with one row per line, and the numbers in each row separated by spaces.
1 Paste your text and pick the options
2 Your answer
Your answer shows here as you type.
How to use the Matrix Calculator
- Type the first matrix, one row per line, with spaces between the numbers.
- Type the second matrix the same way.
- Pick add, subtract or multiply. The answer shows straight away.
Frequently asked questions
What is a matrix?
A matrix is a grid of numbers in rows and columns. Matrices are used in maths, science and computer graphics.
When can I add or subtract two matrices?
Only when both matrices have the same number of rows and the same number of columns. Each number is added to or taken away from the number in the same spot.
When can I multiply two matrices?
When the first matrix has as many columns as the second matrix has rows. Each answer number adds up a row of the first matrix times a column of the second.
Wrote something with AI? Slop Monkey rewrites it so it sounds like you, and keeps your facts.