Matrix Multiplication Calculator
Multiply two matrices of compatible sizes and see the product matrix with exact fractions.
How to multiply matrices
Each entry of the product is the dot product of a row of A with a column of B. An m×n matrix times an n×p matrix gives an m×p matrix.
Example: [[1,2,3],[4,5,6]] × [[7,8],[9,10],[11,12]] = [[58, 64], [139, 154]]. The top-left entry is 1·7 + 2·9 + 3·11 = 58.
Key facts
- AB is usually not equal to BA.
- The identity matrix I leaves a matrix unchanged: AI = A.
- (AB)ᵀ = BᵀAᵀ.
Frequently asked questions
Why can’t I multiply my matrices?
The number of columns in A must equal the number of rows in B.
Is matrix multiplication commutative?
No, the order matters.
Last updated 16 November 2026. Results are estimates for general information and are not financial, tax, legal or medical advice.