Matrix Subtraction Calculator

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

Matrix Size

Matrix A

Matrix B

Result: A - B

Difference Matrix

4
4
4
4

Formula

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

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

💡

Help us improve!

How would you rate the Matrix Subtraction Calculator?

<>

Editorial Note

MyCalcBuddy Editorial Team

This page is maintained as an educational calculator reference.

📚

Formula Source: Handbook of Mathematical Functions

by Abramowitz & Stegun

🔄Last reviewed: May 2026
✓Formula checks are based on standard references and internal QA review.