Numbers & representations

Matrix Calculator

Find determinants, inverses and products using exact fractions. Paste matrices and export tab-separated results.

Stays in your browserFiles and text are processed in this tab.
Matrix CalculatorLocal processing
Enter at least one value.
Ctrl / ⌘ + Enter

Numbers & representations

How it works

A matrix is a rectangular table of numbers. Matrix multiplication combines rows of A with columns of B. Order matters: A × B generally differs from B × A.

What you can do

Calculate determinants, inverses, transposes, sums, differences, products, scalar multiples and integer powers. Generate identity matrices. Fraction entries stay exact; matrix output includes a visual table and plain text.

How to use it

  1. Choose an operation. Paste A with one row per line and spaces or tabs between entries. For A + B, A − B or A × B, fill B as well. Set a scalar, exponent or identity size when shown.
  2. Calculate, inspect the result details, then copy or download TXT. Ctrl/⌘ + Enter also calculates. Editing clears old results; Undo restores input and settings.

Errors and limits

At most 10 × 10 entries. Determinants, inverses and powers require square matrices. Exponents range from −10 to 10. A singular matrix has no inverse, including for negative powers. Symbolic variables and equation solving are not supported.

Limits: 100,000 input characters per box, 100 digits per numeric token, 200 input values and 200,000 output characters. Fraction numerators and denominators and sequence terms are limited to 5000 digits. Scientific notation is not accepted.

Calculations run in a separate browser worker. Cancel stops the job; the 8-second time limit also covers worker loading. Try a smaller batch after a timeout.

Frequently asked questions

When can I multiply two matrices?

The number of columns in A must equal the number of rows in B. A 2 × 3 matrix times a 3 × 4 matrix produces a 2 × 4 matrix. Copied and downloaded rows use tabs, suitable for spreadsheets.

Are my numbers uploaded?

No. File reading and calculation happen in this browser. Input is not stored in the URL or sent to a calculation service. Text files must be UTF-8.

Related tools