Determinant calculator
Compute the determinant of a square matrix up to 6×6; [1 2; 3 4] has determinant −2.
- Runs in your browser
- No upload
- Instant result
Assumptions & formula
Formula and assumptions
det(A)=sign(P) × ∏ pivotᵢ; n≤6
Results
Enter values and press Calculate to see the result here.
How to use this calculator
- Set inputs and units
Enter a square numeric matrix with one row per line. The order of the rows is part of the input.
- Calculate
Check this worked example: [1 2;3 4] → 1×4−2×3 =-2
- Results
A zero determinant means the matrix you entered is singular. Swapping two rows flips its sign.
Questions and limits
What does exact elimination mean here?
Elimination uses the exact binary values of the numbers it accepts. The final numeric determinant is then rounded to IEEE-754.
Which input errors should I correct?
Rows must have equal length, and the number of rows must equal the number of columns, up to 6×6.
What does this calculation leave out?
This doesn't estimate condition numbers or data uncertainty, or tell you whether a nearly singular measured system is usable.