Matrix Calculator with Steps

Enter a matrix row by row, for example [[2, 1], [5, 3]], and say what you need: determinant, inverse, product, rank or reduced row echelon form.

Try

How to do it by hand

  1. Check the dimensions

    Products need the inner dimensions to match; determinants and inverses need a square matrix.

  2. Use row operations

    Swap rows, scale a row, or add a multiple of one row to another to reach echelon form.

  3. Compute the determinant

    Use ad − bc for 2×2, cofactor expansion or row reduction for larger matrices.

  4. Find the inverse

    Row reduce [A | I] to [I | A⁻¹], or use the adjugate divided by the determinant.

Common mistakes

Questions about matrices

How do I type a matrix?

Use nested brackets, one inner bracket per row: [[1, 2], [3, 4]]. You can also upload a photo.

Does it find eigenvalues?

Yes. Ask for the eigenvalues and eigenvectors and it works through the characteristic polynomial.

More calculators