Matrix Calculator
Add, subtract and multiply matrices. Find a determinant, inverse, transpose, rank and more. Free and easy.
How to use it
Choose the size of Matrix A (and B if needed), type the numbers in the boxes, pick what you want to do, and read the answer. Fractions are shown when they are exact.
What it can do
- Sizes from 1×1 to 5×5
- Add, subtract and multiply
- Determinant, inverse and transpose
- Rank, trace and reduced row form
- Raise a matrix to a power
- Copy the answer into a spreadsheet
Common questions
When can I multiply two matrices?
When the number of columns in A equals the number of rows in B.
Why does it say there is no inverse?
A matrix has no inverse when its determinant is 0.
What is the determinant?
A single number that tells you, among other things, whether the matrix can be inverted.
Can I type fractions?
Yes. Type 1/3 in any box and it is turned into a number for you.