Matrix Addition & Subtraction Calculator

Add or subtract matrices, or form any combination cA + dB, for matrices of the same size.

Results

Enter your details and click Calculate to see your results.
About This Calculator

Type the matrix row by row: separate rows with semicolons (or new lines) and entries with spaces or commas — e.g. 1 2; 3 4 is the 2 × 2 matrix [[1, 2], [3, 4]]. Up to 10 × 10. Add or subtract matching entries; both matrices must have the same dimensions.

Example

Example: A − B = [ -4 -4 ] [ -4 -4 ]

Assumptions

Same-size matrices.

Frequently Asked Questions

Is matrix addition commutative?

Yes — A + B = B + A.

Related Calculators

About the Author

Imran Hossain
Imran Hossain

Professional SEO, Digital Marketer Specialist

I am a Certified Google Ads Expert And Professional SEO, Digital Marketing Specialist

View full profile