Inverse matrix calculator

[2004]−1\begin{bmatrix}2&0\\0&4\end{bmatrix}^{-1}

Interactive tools require JavaScript. You can read the guide and example without it.

How to use this calculator

Find a supported matrix inverse while preserving readable fractional entries.

Enter a square matrix. Its inverse exists when the determinant is nonzero.

Click or tap the equation to edit it. Press Tab to keep a result. Outside a matrix, press Enter to continue on a new line. Right-click an equation for more actions.

Controls and shortcuts

  • In math, typing shortcuts turn letter combinations into symbols as you type. Try pi for π or oo for ∞.
  • Use ^ for a power, _ for a subscript and / for a fraction. Use the arrow keys to move through the expression.
  • On a physical keyboard, hold a letter to see related symbols. Use the keyboard icon to open the on-screen math keyboard for symbols, functions and matrices.
  • Click a matrix, then a cell to edit it. Use the arrow keys to move between cells. Hold Ctrl and press an arrow to add or remove a row or column.

Browse all calculators and editors