Matrix Calculator

Calculate the determinant, inverse, transpose and rank of a matrix, or add, subtract and multiply two matrices.

Runs instantly in your browser — results update as you type.

How do I find the inverse of a matrix?

Type each row of the matrix on a new line with numbers separated by spaces, choose the operation and the result appears instantly. Inverses are computed with Gauss–Jordan elimination and determinants with LU-style row reduction with partial pivoting.

How to use the Matrix Calculator

    Frequently asked questions

    What size matrices are supported?

    Up to 10 × 10.

    Can I use decimals and negatives?

    Yes.

    What is rank?

    The number of linearly independent rows (or columns).