Help: Matrix Operations

What you need to fill in
Rows/Columns of matrix A
The dimensions of the first matrix (up to 6×6).
Rows/Columns of matrix B
The dimensions of the second matrix. For multiplication, the columns of A must equal the rows of B.
Matrix elements
Fill in each cell of both matrices with its number.
What you'll see in the results
  • The resulting matrix of the addition or multiplication
  • An error message if the dimensions don't match for the selected operation
The calculation form
Sample example
Matrix A (2×2)
Addition

Frequently asked questions

Matrix multiplication requires the columns of the first matrix to equal the rows of the second. If the dimensions don't match, the operation is not mathematically defined.

For addition, the two matrices must have exactly the same dimensions (the same number of rows and columns).

Dark Mode NEW
Adjust the appearance to reduce glare and give your eyes a break.

RTL Support NEW
Easily switch to right-to-left layout for Arabic, Hebrew, and other RTL languages.