Matrix Calculator

Compute the determinant, inverse, transpose or product of matrices up to 8 × 8 using partial pivoting for numerical stability.

Runs on your device

Result

Results appear here after you select “Calculate”.

What it does

Type each row on its own line with values separated by spaces or commas. Entries can be expressions such as 1/3 or sqrt(2).

How to use it

  1. Enter matrix A (and B for multiplication).
  2. Choose the operation.
  3. Calculate and copy the result.

Example

The inverse of [[4,7],[2,6]] is [[0.6,−0.7],[−0.2,0.4]]. Select Try an example above to see it.

When it helps

  • Linear algebra coursework.
  • Circuit analysis with mesh equations.
  • Checking hand computed inverses.

Questions

Why does the inverse show tiny numbers like 1e-17?

Floating point rounding. Values smaller than 10⁻¹² are displayed as 0.

What is the largest size?

8 × 8.

More student & maths tools

See all 12

People also use

Browse all 200 tools