Matrix Calculator
Perform matrix operations including addition, subtraction, multiplication, determinant, inverse, and more
Matrix A
Matrix B
Matrix
Matrix
Matrix
How to Use the Matrix Calculator
Choose the type of matrix operation you want to perform from the tabs above.
Input the values for your matrix/matrices. You can change the dimensions using the dropdown menus.
Click the appropriate calculate button to perform the operation.
The result will be displayed below the input fields along with step-by-step solutions where applicable.
Matrix Operations Reference
Matrix Addition
To add two matrices, they must have the same dimensions. Add corresponding elements.
| a | b |
| c | d |
| e | f |
| g | h |
| a+e | b+f |
| c+g | d+h |
Matrix Multiplication
To multiply two matrices, the number of columns in the first matrix must equal the number of rows in the second matrix.
| a | b |
| c | d |
| e | f |
| g | h |
| ae+bg | af+bh |
| ce+dg | cf+dh |
Determinant (2×2)
For a 2×2 matrix, the determinant is calculated as ad - bc.
| a | b |
| c | d |
Inverse (2×2)
For a 2×2 matrix, the inverse is (1/det) × adjugate.
| a | b |
| c | d |
| d | -b |
| -c | a |