Determinant Calculator

Find the determinant of a square matrix, exactly.

Matrix A
Size
2

Write rows separated by semicolons, like 1, 2; 3, 4.

Try

Result

You entereddet⁡(1234)\det \begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix}

−2\displaystyle -2
Show the work
  1. Determinant of a 2 by 2 matrix

    Here a=1a = 1, b=2b = 2, c=3c = 3 and d=4d = 4. Multiply down the leading diagonal (aa and dd), then subtract the product of the other diagonal (bb and cc).

    det⁡A=ad−bc=1×4−2×3=4−6=−2\begin{aligned} \det A &= ad - bc \\ &= 1 \times 4 - 2 \times 3 \\ &= 4 - 6 \\ &= -2 \end{aligned}
  2. Result

    So det⁡A=−2\det A = -2.

Worked examples