How to Use the Matrix Calculator
- 1Select the operation from the buttons at the top.
- 2Set the dimensions of Matrix A (and B if needed) using the row/column dropdowns.
- 3Enter values into the matrix cells.
- 4Click Calculate to get the result instantly.
Supported Operations
- ›Matrix Addition (A + B): Adds two matrices element by element. Both matrices must have identical dimensions.
- ›Matrix Subtraction (A - B): Subtracts B from A element by element. Both matrices must have identical dimensions.
- ›Matrix Multiplication (A x B): Computes the dot product. Requires columns of A to equal rows of B.
- ›Transpose (A^T): Flips the matrix over its diagonal — rows become columns and columns become rows.
- ›Determinant (det A): A scalar value that characterizes the matrix. Only defined for square matrices.
- ›Inverse (A^-1): The matrix that when multiplied by A gives the identity. Only exists when det(A) is not zero.
- ›Scalar Multiplication (k x A): Multiplies every element of the matrix by the scalar k.
Common Questions
What is a matrix calculator?+
A matrix calculator performs mathematical operations on matrices — rectangular arrays of numbers. Common operations include addition, subtraction, multiplication, transposition, finding the determinant, and computing the inverse.
How do I multiply two matrices?+
Select "A x B Multiply", set your matrix dimensions, enter the values, and click Calculate. Matrix multiplication requires the number of columns in A to equal the number of rows in B.
When does a matrix have no inverse?+
A matrix has no inverse when its determinant is zero — such a matrix is called singular. The calculator will show an error in this case.
Is my data sent to a server?+
No. All calculations run entirely in your browser. No data is sent anywhere.