Determinant calculator

det⁡[2004]\det \begin{bmatrix}2&0\\0&4\end{bmatrix}

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

How to use this calculator

Compute the determinant of a square matrix in an editable matrix layout.

Edit the entries of the square matrix to calculate its determinant.

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