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
- Choose the calculation mode that matches your task and the information you have.
- Enter the inputs listed below. Follow the field format, and select units beside each supported quantity.
- 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.
Multiply
Each output entry is the dot product of its row in A and its column in B.
Transpose
Swap rows and columns.
Determinant
Eliminate entries below each pivot. Multiply the resulting diagonal entries and reverse the sign for each row swap.
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.
- Further reading: OpenStax: mathematics reference