Matrix Calculator
Matrix addition, multiplication, transpose, determinant and inverse for matrices up to 5 by 5.
A
B
Result: A + B
| 3 | 5 |
| 7 | 10 |
How to use
- Set the size of matrix A (and B if needed) and fill in the cells.
- Choose an operation: A + B, A − B, A × B, k·A (scalar), Aᵀ (transpose), det(A) or A⁻¹ (inverse).
- 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.