For matrix multiplication to be defined, the number of columns in the first Matrix must be equal to the number of rows in the second matrix. The resulting matrix has the number of rows of the first and the number of columns of the second.

Every resulting number in the resulting matrix is the result of the dot product of a row of the first matrix and the column of the second matrix.