Skip to content
Yunedia Tools

Matrix Calculator

Matrix addition, multiplication, transpose, determinant and inverse for matrices up to 5 by 5.

A
B
Result: A + B
35
710

How to use

  1. Set the size of matrix A (and B if needed) and fill in the cells.
  2. Choose an operation: A + B, A − B, A × B, k·A (scalar), Aᵀ (transpose), det(A) or A⁻¹ (inverse).
  3. The result appears in the card below. Operations whose shapes do not fit show an error explaining why.

Notes

Matrices up to 5×5 are supported. The determinant uses cofactor expansion and the inverse is computed from the adjugate; results are displayed rounded to 6 decimal places. A matrix with determinant 0 is singular and has no inverse, which is reported as an error. Cells that are not numbers are treated as 0 and flagged.

FAQ

Can it solve systems of equations?
Not directly, but you can compute the inverse of the coefficient matrix A and multiply A⁻¹ by b using the operations provided.
Can it compute with exact fractions?
Computation uses floating-point numbers. Decimal inputs such as 0.5 work, but fraction notation like 1/3 cannot be entered.