Matrix calculator

Add and multiply matrices or find a transpose, power, determinant or inverse.

Result matrix
2 × 2

Matrix entries are shown row by row.

Breakdown & share
Row 1
6 · 5
Row 2
3 · 5
Estimates only.

Your inputs

Example values. Change any of them.

How it’s worked out

See how we got 2 × 2

Multiplication uses row–column dot products. Transpose swaps rows and columns. Gaussian elimination gives determinants and inverses.

  1. Take a dot product of each row of A and each column of B.
  2. This operation returns a matrix of size 2 × 2.

About this calculator

Paste each row on its own line. Separate entries with spaces or commas. Swap the two inputs to reverse multiplication order.

Worked example

Result matrix · 2 × 2

Multiplication uses row–column dot products. Transpose swaps rows and columns. Gaussian elimination gives determinants and inverses.

  1. Take a dot product of each row of A and each column of B.
  2. This operation returns a matrix of size 2 × 2.

Common questions

Why do inner dimensions have to match?

Each row of A is paired with a column of B, so those vectors must have equal length.

Does A × B equal B × A?

Matrix multiplication generally depends on order.

When does an inverse exist?

A square matrix is invertible when its determinant is nonzero.

Formula sources

Reference checked November 22, 2026.