Math

2x2 Matrix Addition & Subtraction Calculator

Add or subtract two 2x2 matrices.

Enter your values

ⓘ Live results

Results
A+B
[[6, 8], [10, 12]]
A-B
[[-4, -4], [-4, -4]]

Quick answer

Matrices are added or subtracted entry by entry, so the result has the same shape as the inputs.

(A±B)[i][j] = A[i][j] ± B[i][j]

How to use the 2x2 Matrix Addition & Subtraction Calculator

  1. 1Enter all four entries for matrix A and matrix B.
  2. 2The calculator adds and subtracts entry by entry.
  3. 3Both results have the same 2x2 shape as the inputs.

Worked example

Using the values the calculator loads with:

Inputs

  • A111
  • A122
  • A213
  • A224
  • B115
  • B126
  • B217
  • B228

Results

  • A+B[[6, 8], [10, 12]]
  • A-B[[-4, -4], [-4, -4]]

Frequently asked questions

Can I add matrices of different sizes?

No — addition and subtraction require matrices of the exact same dimensions.

Does order matter for subtraction?

Yes, A-B is the negative of B-A.

About this calculator

Results are estimates for general information. For medical, legal, structural or financial decisions, confirm with a qualified professional.