Matrix Determinant (2×2 & 3×3)

Calculate determinant of 2×2 or 3×3 matrix (educational). Det(2×2) = ad-bc. Det(3×3) = a(ei-fh) - b(di-fg) + c(dh-eg).

Formula

2×2: ad-bc · 3×3: a(ei-fh)-b(di-fg)+c(dh-eg)

2×2: [[1,2],[3,4]]

Inputs
  • Matrix Size: 2x2
  • Elements (row by row, space-separated): 1 2 3 4

1·4 - 2·3 = -2

Frequently asked questions

What is determinant?
Number encoding properties of square matrix; rank-related concept