Matrix Calculator

Add, subtract, or multiply two matrices.

How the calculation works

For addition and subtraction, dimensions must match. For multiplication, A’s column count must equal B’s row count.

Example calculation
Matrix result6 8 10 12
See example inputs
Matrix A, one row per line
1 2 3 4
Operation
Add
Matrix B, one row per line
5 6 7 8

Frequently asked questions

What do I need to use Matrix Calculator?

Start with Matrix A, one row per line, Operation, Matrix B, one row per line. Use the units and formats shown beside the inputs.

Do I need to create an account?

No. You can browse and use TinyToolbox’s available tools without an account.

Related calculators