Math Tools Math Tools

Matrix Multiplication Calculator

Matrix Multiplication Calculator

In mathematics, matrix multiplication is a binary operation that produces a matrix from two matrices. Multiplying an m×k matrix by a k×n matrix produces a new m×n matrix — the number of columns in the first matrix must equal the number of rows in the second, and that shared value (k) doesn't appear in the result's own dimensions at all.

Make sure JavaScript is enabled for this calculator to work.

Advertisement

Build Your Matrices

A is m×k, B is k×n — k (A's columns, B's rows) has to match.

Matrix A

Matrix B

A × B

Advertisement

Matrix Multiplication Calculator Example

A 3 by 3 matrix times a 3 by 2 matrix equals a 3 by 2 matrix, each entry the dot product of a row of the first and a column of the second

Introduction to Matrix Multiplication Calculator

Other Matrix Calculators

Advertisement