Matrix Calculator Online

Add, multiply, transpose and find the determinant and inverse of matrices, with results shown instantly. Your numbers stay on your device.

The Matrix Calculator runs entirely in your browser. The matrices you enter are computed on your device and are never uploaded to ArrayKit.

Open the Scientific Calculator

About Matrix Calculator

The Matrix Calculator adds, multiplies, transposes and finds the determinant and inverse of a matrix in one place. Type each matrix as rows of numbers — one row per line, values separated by spaces or commas — and switch operations with a single click to see the result update instantly. Addition and multiplication check that the two matrices have compatible dimensions before computing, multiplication follows the standard row-by-column rule, and the determinant and inverse both flag a matrix as singular when no inverse exists instead of returning a misleading number. It is built for linear algebra students checking homework, engineers working through transformation matrices, and anyone who needs a quick, exact result without opening a full computer algebra system. Everything runs locally in your browser — the values you enter are never uploaded.

Features

How to use the Matrix Calculator

  1. Pick an operation: Add, Multiply, Transpose, Determinant, or Inverse
  2. Type Matrix A as rows of numbers, one row per line
  3. For Add or Multiply, also fill in Matrix B in the same format
  4. Read the result matrix or scalar, and copy it if you need it elsewhere

Example

Input

det [[1,2],[3,4]]

Output

-2

Common errors & troubleshooting

Frequently asked questions

What operations does this matrix calculator support?
The Matrix Calculator adds two matrices, multiplies two matrices, transposes a single matrix, and finds the determinant and inverse of a square matrix. Switch between them with the operation selector.
How do I enter a matrix into the matrix calculator?
Type one row per line with the values separated by spaces or commas, e.g. "1 2" on one line and "3 4" on the next for the 2×2 matrix [[1,2],[3,4]].
Why does matrix multiplication need matching dimensions?
A·B is only defined when the number of columns in A equals the number of rows in B, because each entry of the result is a dot product of a row of A and a column of B. The calculator checks this before computing and shows both matrices' sizes if they don't match.
What does it mean when the matrix inverse calculator says the matrix is singular?
A singular matrix has a determinant of 0, which means it has no inverse — dividing by that determinant would be undefined. This is a property of the numbers you entered, not a limitation of the calculator.
Can this matrix calculator handle non-square matrices?
Yes for addition, multiplication, and transpose, which all work on rectangular matrices as long as the dimensions are compatible for that operation. Determinant and inverse require a square matrix, since neither is defined otherwise.
Are my matrix values uploaded anywhere?
No. The Matrix Calculator runs entirely in your browser. The numbers you type are never sent to a server and are not uploaded to ArrayKit.

Related tools

All ArrayKit tools