Matrix Addition Calculator

Add two matrices element by element. Matrices must have the same dimensions.

Matrix Size

Matrix A

Matrix B

Result: A + B

Sum Matrix

6
8
10
12

Formula

For matrices A and B of the same dimensions, the sum C = A + B is calculated as:

C[i][j] = A[i][j] + B[i][j]