Matrices.org

Free online matrix and linear algebra calculators

Home › Matrix Calculator

Matrix Calculator

Calculate matrix addition, subtraction, multiplication, transpose, determinant, inverse, trace and scalar multiplication. Enter each matrix row on a separate line.

Enter your matrices

Example: 1 2 on the first line, then 3 4.

Required for addition, subtraction and multiplication.

Reset

How to enter a matrix

Enter each row on a separate line. Separate numbers using spaces or commas. Semicolons can also separate rows.

1 2
3 4

The calculator supports matrices up to 30 rows by 30 columns.

Frequently asked questions

When can matrices be added?

Both matrices must have the same number of rows and columns.

When can matrices be multiplied?

The columns in Matrix A must equal the rows in Matrix B.

When does a matrix have an inverse?

A matrix must be square and nonsingular to have an inverse.

What is the trace?

The trace is the sum of the main diagonal entries of a square matrix.

Related calculators