Linear Algebra & Matrices
Calculate the product of two matrices with automatic dimension validation and step-by-step results.
Use semicolon (;) to separate rows and comma (,) to separate columns
Number of columns in Matrix A must equal number of rows in Matrix B
Common matrix multiplication scenarios to help you get started
Basic 2×2 matrix multiplication example
A: [1,2 | 3,4]
B: [5,6 | 7,8]
Multiply a 3×3 matrix by identity matrix
A: [2,1,3 | 0,4,5 | 1,2,1]
B: [1,0,0 | 0,1,0 | 0,0,1]
Rectangular matrix multiplication example
A: [1,2,3 | 4,5,6]
B: [7,8 | 9,10 | 11,12]
Multiply a matrix with a column vector
A: [2,1 | 1,3]
B: [5 | 2]