All Calculators
🔢
Matrix Calculator
Matrix A:
Rows
Cols
Matrix A
Matrix B:
Rows
Cols
Matrix B
Matrix Operations Guide
Dimension Rules
- Addition/Subtraction — Both matrices must be the same size (m×n).
- Multiplication — A is m×k and B is k×n → result is m×n. Number of columns in A must equal rows in B.
- Determinant/Inverse/Trace — Only for square matrices (n×n).
Applications
Matrix operations are fundamental in computer graphics (transformations), machine learning (neural networks, linear regression), physics simulations, solving systems of linear equations, and cryptography.
Matrix add, subtract, multiply, scalar multiply, transpose, determinant, inverse, and trace.