Math · Linear Algebra

Matrix Calculator

Add, subtract, multiply, transpose, or invert square matrices up to 4×4 — and compute determinants instantly.

Matrix A
Matrix B
Matrix multiplication: (AB)i,j = Σk Ai,k · Bk,j.
Inverse via Gauss-Jordan: augment A with I and row-reduce to [ I | A−1 ]; undefined if det = 0.

Six operations

Addition, subtraction, multiplication, transpose, determinant and inverse.

Up to 4×4

Perfect for homework, graphics transforms and control theory.

Exact display

Results shown to 4 decimals with tiny floating errors snapped to zero.

Live updates

Change any cell and the result recalculates automatically.

More Math Tools

Explore linear algebra and algebra calculators.