Inverse Matrix Calculator

The inverse of A is the matrix that, multiplied by A, gives the identity. It exists only when the determinant is not zero. Type the matrix with one row per line.

One row per line, numbers separated by spaces. Fractions like 1/3 are fine.

How to use it


  1. Type matrix A, and matrix B if the operation needs two matrices.
  2. Choose the operation: sum, product, determinant, inverse and more.
  3. Read the exact result, or tick show decimals.

Frequently asked questions


When can two matrices be multiplied?
When the number of columns of A equals the number of rows of B. The product of an m×n matrix by an n×p matrix is m×p, and in general A×B is different from B×A.

Why use exact fractions?
Decimals pile up rounding errors: a determinant that should be 0 can come out as 1e-16, and a singular matrix then looks invertible. With fractions every step is exact.

What are rank and reduced row echelon form?
Gauss-Jordan elimination turns the matrix into reduced row echelon form, with a leading 1 in each pivot row. The rank is the number of pivots: the number of linearly independent rows.

🔲 Matrix Calculator
🟰 System of Equations Calculator
🎲 Permutation and Combination Calculator
🎯 Probability Calculator
📶 Binomial Distribution Calculator
🔔 Normal Distribution Calculator
ℤ Z-Score Calculator
➗ Long Division Calculator
🔲 Determinant Calculator
📊 Standard Deviation Calculator