Matrix Calculator

Add or multiply matrices, transpose a matrix, or find its determinant.

Enter your values

Separate columns with spaces or commas. Start each row on a new line.

Use the same formatting as matrix A.

Result

3 2 4 6
Need help with your result? Ask a question about your inputs or calculation. Ask AI
0 / 2000
20 requests per day · resets at 00:00 UTC

When to use Matrix Calculator

Add or multiply matrices, transpose a matrix, or find its determinant.

Check algebraic work and compare how changing coefficients or parameters changes the solution.

How to use this tool

  1. Choose the calculation mode that matches your task and the information you have.
  2. Enter the inputs listed below. Follow the field format, and select units beside each supported quantity.
  3. Results update automatically. Review the main result and its breakdown. Use Clear to enter a new scenario.
  • Matrix A — Separate columns with spaces or commas. Start each row on a new line.
  • Operation
  • Matrix B — Use the same formatting as matrix A.

How it works

Add or subtract
Add or subtract entries in matching positions. The matrices must have the same size.

Worked example

The examples below use fixed sample inputs. They explain the calculation and do not change when you edit the tool above.

Add or subtract

Matrix A
1 2; 3 4
Operation
Add
Matrix B
2 0; 1 2
Result
3 2 4 6

Multiply

Matrix A
1 2; 3 4
Matrix B
2 0; 1 2
Result
4 4 10 8

Transpose

Matrix A
1 2; 3 4
Result
1 3 2 4

Determinant

Matrix A
1 2; 3 4
Result
-2

Understanding the result and its limits

Respect the stated domain and input order. A formula may have no real solution, several solutions or a singular case.

Frequently asked questions

How can I check an algebraic result?

Substitute it into the original equation or expression. Retain enough digits and check any restrictions before simplifying.

Methodology and references

Use the formulas and assumptions above when interpreting the example. Any practical estimate depends on the accuracy of the inputs.