Matrix calculator

Add, subtract, multiply, invert, and take determinants of 2×2 and 3×3 matrices, plus scalar multiply and transpose.

Matrix A

Matrix B

Everything runs in this browser.

How to use

  1. Choose the operation and size.
  2. Fill in matrix A (and B or a scalar when needed).
  3. Read the result matrix or number.

What it supports

2×2 and 3×3 real matrices; each entry must be within ±1e12. Inverse fails with a clear error when the determinant is 0. Results are rounded to 4 decimal places.

Related tools

Related guides