Matrix Calculator

Perform matrix operations including addition, multiplication, determinant, and transpose

Matrix A

Matrix A

Matrix B

Matrix B

Matrix Operations Guide

Supported Operations:

  • Addition: A + B (same dimensions required)
  • Subtraction: A - B (same dimensions required)
  • Multiplication: A × B (columns of A = rows of B)
  • Transpose: A^T (rows become columns)
  • Determinant: det(A) (square matrices only)

Matrix Rules:

  • • Addition/Subtraction: matrices must have same dimensions
  • • Multiplication: columns of first = rows of second
  • • Determinant: only for square matrices
  • • Transpose: always possible for any matrix
  • • Maximum size: 5×5 matrices supported

Matrix Examples:

2×2 Identity Matrix:

[1 0]

[0 1]

Matrix Multiplication:

If A is 2×3 and B is 3×2, then A×B is 2×2