esc
Calculators

Matrix calculator:
up to 6 × 6

Type each matrix with rows on separate lines or separated by semicolons, like 1 2; 3 4, pick an operation and read the result as a grid.

Rows on new lines or separated by “;”, entries by spaces or commas. Up to 6 × 6.
A × B3 × 3 matrixA is 3 × 3
A × B
Col 1Col 2Col 3
Row 1498
Row 2176
Row 3161817
  • Each entry is a row of A times a column of B: multiply matching entries and add. A × B is usually not equal to B × A.

How to use Matrix calculator

  1. 01Type matrix ARows on lines or split by “;”.
  2. 02Pick the operationAdd B or a number if needed.
  3. 03Read the resultAs a grid you can copy.
File character arranging marked pages

Matrix arithmetic without the slog.

Products are found row by column, sums entry by entry. The determinant comes from Gaussian elimination (the product of the pivots, with a sign change for each row swap) and the inverse from Gauss–Jordan elimination with partial pivoting. When every entry is a whole number the inverse is shown as exact fractions over the determinant.

At a glance

Price
Free. No sign-up, no watermark.
Privacy
Your text stays in your browser. Nothing is uploaded.
Works in
Chrome, Edge, Firefox and Safari, on phones and computers

Questions

What is the inverse of [4 7; 2 6]?

The determinant is 4 × 6 − 7 × 2 = 10, so the inverse is (1/10) × [6 −7; −2 4] = [3/5 −7/10; −1/5 2/5].

Why can’t I multiply my two matrices?

A × B needs as many columns in A as rows in B: a 2 × 3 matrix can multiply a 3 × 4 one (giving 2 × 4) but not a 2 × 3 one. Order matters too: A × B is usually different from B × A.

When does a matrix have no inverse?

When its determinant is 0, meaning its rows are not independent (one row is a combination of others). The calculator shows the rank, which is then smaller than the size.

Is what I type sent anywhere?

No. The calculation runs in your browser and nothing you type leaves your device.