Code tool

Matrix Calculator

Enter a 2–6 row matrix. Rectangular matrices work for compatible operations; values must be finite and within ±10¹².

In-browser processingNo account requiredPrivacy details ↗

A QUICK WALKTHROUGH

How to use this tool

  1. Enter matrix A and, for binary operations, matrix B.
  2. Choose Add, Subtract, Multiply, Determinant, Inverse, or Transpose.
  3. Review the result; near-zero determinants are treated as approximately singular.

Supported bounds

Matrices have 2–6 rows and columns, with rectangular shapes supported where compatible. Results are finite-checked and rounded to 12 significant digits.

GOOD TO KNOW

Common questions

Can every matrix be inverted?

No. A zero or near-zero determinant is approximately singular and has no stable inverse.

Is calculation local?

Yes. Calculation runs in your browser and nothing is uploaded.