MathIsimple
Math

Matrix Multiplication Calculator

Multiply two matrices with step-by-step solutions. Learn matrix multiplication rules.

100% FreeStep-by-Step Solutions
Matrix Multiplication Calculator
Enter two matrices. Matrix A columns must equal Matrix B rows.

Auto-set to match A columns

Try These Examples
Click on any example to automatically fill the calculator
Example 1

2×2 matrices

Matrix Multiplication Rules

For matrices A (m×n) and B (n×p), the product AB is defined only when:

  • Number of columns in A = Number of rows in B
  • Result matrix will be m×p
(AB)ij=sumk=1nAikBkj(AB)_{ij} = \\sum_{k=1}^{n} A_{ik} B_{kj}
Important Properties

Not commutative: AB ≠ BA (in general)

Associative: (AB)C = A(BC)

Distributive: A(B+C) = AB + AC