Matrices & linear algebra
Matrix Calculator: Add, Subtract, Multiply, Inverse & Determinant
This calculator performs matrix addition, subtraction, and multiplication on A and B up to 10×10, writing bridge results to Result matrix C with a step-by-step Logic Trace. It also transposes, raises square matrices to a power (n = 0–6), and inverts nonsingular square matrices on A or B directly. Live determinant and trace appear in each panel's Properties row. Scalar modes C = x·A and C = x·B use the × boxes under each matrix. Sizes must match for ±; multiplication requires . No symbolic algebra or eigenvalues.
By Jeff Beem
Updated
Matrix A
2×2Size
Matrix B
2×2Size
How to use this calculator
Set sizes on the 10×10 grids under Matrix A and Matrix B, enter values or use Fill. Pick a bridge op (+, −, ×, C = x·A, C = x·B, C = B) to populate Result matrix C; use Transpose, Power, or Inv on A or B directly. Read Properties for |A|, |B|, and traces; expand Show step-by-step explanation for Logic Trace.
Reading your matrix result
Bridge ops populate Result C and drive Logic Trace. Transpose, Power, and Inv update A or B in place. Properties holds |A|, |B|, and traces for square matrices.
Example: 2×3 · 3×2 multiplication
Matrix calculator: add, subtract, multiply, inverse, and determinant
Bridge operations into Result C, unary ops on A/B, live determinant and trace, Logic Trace for each c_ij. Sizes 1×1–10×10; runs locally.
What this calculator does
- Size rules:± requires matching m×n on A and B; × requires cols(A) = rows(B).
How the math works
Limits
Matrix Calculator FAQ
What does the default layout show?
When are + and − enabled vs ×?
Where do determinant, trace, and inverse appear?
What bridge ops write Result matrix C?
How does Logic Trace work?
What unary controls apply to A or B directly?
How are cell values rounded and displayed?
What is not supported?
Mathematical Reference Note
Calculation Logic: This tool uses standard mathematical algorithms. While we strive for accuracy, errors in logic or user input can result in incorrect data.
Verification: Results should be cross-checked if used for important academic, professional, or personal calculations.
Standard Terms: This tool is provided free of charge and as-is. CalcRegistry provides no warranty regarding the accuracy or fitness of these results for your specific needs.