Matrix Calculator
Add, subtract, multiply, transpose, invert and find determinants.
Result
2 × 2 matrix
Result
| 19 | 22 |
| 43 | 50 |
How the matrix calculation works
Matrices add and subtract entry by entry and must have the same size. For A × B, the columns of A must equal the rows of B. A matrix has an inverse only if its determinant is not zero. The inverse is found by Gauss-Jordan elimination.
How to use this calculator
- Operation. Choose one from the list.
- Matrix A (one row per line). Type one item per line, or separate values with commas.
- Matrix B. Type one item per line, or separate values with commas.
- Read the result. It updates as you type, with a breakdown and a table. Use Copy result to save it.
Worked example
With Operation A × B, the result is Result: 2 × 2 matrix.
Tips and common mistakes
Matrix addition needs two matrices of the same size.
- For multiplication, the columns of the first must equal the rows of the second.
- Only square matrices with a non-zero determinant have an inverse.
- Order matters in multiplication.
Frequently asked questions
How do I enter a matrix?
Type one row per line and separate numbers by spaces or commas.
Why does my matrix have no inverse?
Its determinant is zero, so its rows are linearly dependent. Such a matrix is called singular.
Is matrix multiplication commutative?
No. A × B is usually not equal to B × A.
Last reviewed 2026-10-30. Results are estimates for planning only. Read the disclaimer.