Matrix Addition & Subtraction Calculator

Add, subtract matrices, and perform scalar multiplication with step-by-step solutions.

Operation
Matrix A
×
One row per line, space separated
Matrix B
One row per line, space separated
Quick Examples
Result
Select an operation and enter matrices to see the result.
📋 Computation Steps
Detailed computation steps will appear here.
📚 Related Matrix Tools
Explore more matrix computation tools for complete linear algebra analysis.

Support This Free Tool

Every coffee helps keep the servers running. Every book sale funds the next tool I'm dreaming up. You're not just supporting a site — you're helping me build what developers actually need.

500K+ users
200+ tools
100% private
Privacy Guarantee: Private keys you enter or generate are never stored on our servers. All tools are served over HTTPS.

Matrix Addition & Subtraction: FAQ

How do you add and subtract matrices?

Addition and subtraction are element‑wise and require the same dimensions. For result C, ci,j = ai,j ± bi,j. Addition is commutative and associative.

What is scalar multiplication and a linear combination?

Scalar multiplication multiplies each entry by a constant c. Linear combinations have the form aA + bB with matching dimensions, fundamental for many linear algebra applications.

What sizes are supported?

This tool supports matrices up to 10×10 and shows element‑wise steps for A+B, A−B, cA, and aA+bB.