Home › Matrix Calculator
Matrix Calculator
Calculate matrix addition, subtraction, multiplication, transpose, determinant, inverse, trace and scalar multiplication. Enter each matrix row on a separate line.
Enter your matrices
How to enter a matrix
Enter each row on a separate line. Separate numbers using spaces or commas. Semicolons can also separate rows.
1 2 3 4
The calculator supports matrices up to 30 rows by 30 columns.
Frequently asked questions
When can matrices be added?
Both matrices must have the same number of rows and columns.
When can matrices be multiplied?
The columns in Matrix A must equal the rows in Matrix B.
When does a matrix have an inverse?
A matrix must be square and nonsingular to have an inverse.
What is the trace?
The trace is the sum of the main diagonal entries of a square matrix.