Skip to content
Engyna

Matrix Calculator

Multiply, invert and find determinants, eigenvalues and more.

How to use the Matrix Calculator

  1. 1Enter one or two matrices up to 8 × 8.
  2. 2Pick an operation such as multiply, inverse, determinant or row reduction.
  3. 3See the result with exact fractions where possible.

About Matrix Calculator

The Matrix Calculator works with one or two matrices of up to 8 × 8. It multiplies (A × B and B × A), adds and subtracts, multiplies by a scalar, transposes, and raises a square matrix to a whole-number power, with negative powers using the inverse. For a single matrix it finds the determinant, inverse, rank, trace and reduced row echelon form, as well as the eigenvalues and eigenvectors.

Entries can be whole numbers, decimals or fractions such as 3/4, and they are read exactly, so results come out as fractions instead of rounded decimals; switch off exact fractions to see decimals. The inverse and the row reduction list every row operation in order, from swaps and scaling to adding multiples of rows, so you can follow Gauss-Jordan elimination step by step. Eigenvalues are computed numerically and may be complex. A block of cells copied from a spreadsheet can be pasted into any cell.

The matrix calculator is aimed at linear algebra students checking exercises, and at engineers, programmers and data scientists who need a quick determinant, inverse or matrix product without setting up software.

Frequently asked questions

When can two matrices be multiplied?

A × B is defined when A has as many columns as B has rows: an m × n matrix times an n × p matrix gives an m × p matrix. Matrix multiplication is not commutative, so A × B and B × A usually differ.

Why does my matrix have no inverse?

Only square matrices with a non-zero determinant are invertible. A determinant of 0 means the rows are linearly dependent; such a matrix is called singular, and row reduction can't turn it into the identity matrix.

What is the reduced row echelon form?

RREF is the result of Gauss-Jordan elimination: every pivot is 1, it is the only non-zero entry in its column, and each pivot lies to the right of the one above. It shows the rank of the matrix and the solutions of the matching linear system.

What are eigenvalues and eigenvectors?

An eigenvector v of a square matrix A keeps its direction when multiplied by A: Av = λv, where the number λ is the eigenvalue. Eigenvalues are the roots of det(A − λI) = 0 and can be complex even when every entry of A is real.