Linear Algebra

Matrix Addition & Subtraction

Matrices of the same dimensions are added or subtracted by combining matching entries position by position. Enter both matrices and choose the operation; the calculator returns the resulting matrix.

Matrix Addition & Subtraction

Add or subtract two matrices entrywise.

Try:

Frequently asked questions

When can matrices be added?

Only matrices with identical dimensions can be added or subtracted, since the operation is entrywise.

How is matrix subtraction defined?

A − B subtracts each entry of B from the matching entry of A.

Is matrix addition commutative?

Yes. Unlike multiplication, A + B always equals B + A.