Linear Algebra

Matrix Determinant Calculator

Paste a square matrix and instantly obtain its determinant using Gaussian elimination.

determinantmatrixlinear algebra
Matrix Determinant

Compute the determinant of a square matrix up to 6×6.

Order
3 × 3
Determinant
22

Determinant via LU decomposition

Row operations reduce the matrix to upper triangular form while tracking row swaps to assemble the determinant.

How to use

  1. Enter the matrix with each row on its own line.
  2. Separate entries with spaces or commas.
  3. Review the determinant and matrix order beneath the input.

Example

Input: 1 2 3\n0 4 5\n1 0 6

Output: det(A) = 22

FAQ & notes

What size matrices are supported?

Any square matrix up to 6×6 for numerical stability. Larger matrices may suffer from floating-point rounding errors.

Can I detect singular matrices?

Yes—if the determinant is zero, the matrix is singular and does not have an inverse.