Matrix Calculator
Matrix addition, multiplication, transpose, determinant, inverse, rank, trace, row reduction, eigenvalues and eigenvectors.
Matrix addition, multiplication, transpose, determinant, inverse, rank, trace, row reduction, eigenvalues and eigenvectors.
Your result will appear here
A matrix calculator for matrices up to 10 × 10. Enter one row per line with entries separated by spaces or commas; entries may be fractions or expressions such as 1/3 or sqrt(2).
Sizes are checked before every operation, so adding matrices of different shapes or inverting a singular matrix produces a clear explanation instead of a wrong answer. Rank and row reduction use exact fraction arithmetic.
Example
det [[1, 2], [3, 4]]
→ −2
Matrix product: defined when A has as many columns as B has rows.
A square matrix is invertible exactly when its determinant is non-zero.
Eigenvalues λ and eigenvectors v.
A·B needs the number of columns of A to equal the number of rows of B. A 2×3 matrix can multiply a 3×2 matrix, but not another 2×3 matrix.