Matrix calculator

Multiply, inverse, determinant.

A × B

2 × 2

Result below, with exact fractions

1922
4350

Runs in your browser. Nothing uploaded.

How to use the matrix calculator

  1. Type matrix A with one row per line and entries separated by spaces or commas. Fractions like 1/2 and decimals work.
  2. Choose the operation. For A × B, A + B and A − B, type matrix B too.
  3. Read the result as a table of exact fractions, or the determinant as a single number.

Example

For A with rows (4 7) and (2 6), the determinant is 4 × 6 − 7 × 2 = 10, and the inverse is (1/10) × the matrix with rows (6 −7) and (−2 4), which is rows (3/5 −7/10) and (−1/5 2/5).

Sizes

Determinants and inverses work up to 10 × 10. Addition, subtraction, multiplication and transpose work for any size you can type, as long as the sizes match the operation.

Typing matrices

Put each row on its own line and separate entries with spaces or commas. You can also use semicolons between rows on one line: 1 2; 3 4. Brackets are ignored, so text copied from many sources works as it is.