Matrices & linear algebra
Matrix Calculator: Add, Subtract, Multiply, Inverse & Determinant
This calculator works with matrices A and B up to 10×10. Bridge operations write addition, subtraction, multiplication, scalar multiples, or a copy into Result matrix C, with a step-by-step Logic Trace under the result. On each panel you can transpose, raise a square matrix to a power (n = 0–6), or invert a nonsingular square matrix. Live determinant and trace appear in Properties. For ± the sizes must match; for multiplication you need . There is no symbolic algebra or eigenvalue solver.
By Jeff Beem
Updated
Matrix A
2×2Size
Matrix B
2×2Size
How to use this calculator
Start with the size grids under Matrix A and Matrix B. Click until each panel has the rows and columns you need, then type values or use Fill (zeros, ones, or random numbers).
Choose a bridge operation in the middle (+, −, ×, or one of the C = … options) to send the answer into Result matrix C. Addition and subtraction need matching sizes; multiplication needs the columns of A to match the rows of B. For work on a single matrix, use Transpose, Power, or Inv on that panel instead.
Read Properties for determinants and traces when a matrix is square. Under C, expand Show step-by-step explanation if you want Logic Trace to walk through each entry. Everything here is local arithmetic for learning, not a computer-algebra system.
Reading your matrix result
Bridge operations send answers into Result C and feed Logic Trace. Transpose, Power, and Inv change A or B in place. For square matrices, Properties holds the determinant and trace while you type.
Example: 2×3 · 3×2 multiplication
When + stays disabled
Matrix calculator: add, subtract, multiply, inverse, and determinant
This calculator runs bridge operations into Result C, unary ops on A or B, live determinant and trace, and a Logic Trace for each entry of C. Matrix sizes run from 1×1 to 10×10. Everything runs locally in your browser.
What this calculator does
- Size rules:Addition and subtraction need matching m×n on A and B. Multiplication needs 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.