4×4 Determinant (Laplace Expansion) Calculator

Advanced 4×4 determinant solver showing Laplace expansion with readable steps and cofactors. Inspect minors, cofactor signs, and each term’s calculated contribution in detail. Pick an expansion row or column, or let auto‑select for zeros. Export your matrix, steps, and result instantly as CSV or PDF files. Clean interface, white theme, fast, educator‑friendly, and shareable.

Enter 4×4 Matrix
Determinant:
Tip: Auto mode expands along the row/column with the most zeros.
Laplace Expansion Steps
Example Data Table

Click Load Example to populate this 4×4 upper‑triangular matrix (determinant is the product of its diagonal entries).

Row\Colc1c2c3c4
r11200
r20340
r30056
r40007
For this example, the determinant equals 1·3·5·7 = 105.
Formula Used

For a 4×4 matrix \(A=[a_{ij}]\), the Laplace (cofactor) expansion along row \(i\) is \(\det(A)=\sum_{j=1}^{4} (-1)^{i+j}\, a_{ij}\, \det(M_{ij})\), where \(M_{ij}\) is the \(3 \times 3\) minor obtained by deleting row \(i\) and column \(j\). Similarly, expansion can be performed along any column \(j\).

Signs follow the checkerboard pattern \(\begin{smallmatrix}+&-&+&-\\-&+&-&+\\+&-&+&-\\-&+&-&+\end{smallmatrix}\). Each term uses the 3×3 determinant computed via the rule of Sarrus.

How to Use
  1. Enter numbers in the 4×4 grid. Empty cells count as zero.
  2. Select an expansion mode: Auto, a specific row, or a specific column.
  3. Press Compute Determinant to see the full cofactor expansion steps.
  4. Use Download CSV or Download PDF to export results.
  5. Try Load Example to explore a structured, easy‑to‑verify case.
FAQs

It expresses a determinant as a sum of products of entries and cofactors, where each cofactor is a signed minor (the determinant of a sub‑matrix with one row and column removed).

Choose a row or column with many zeros to reduce the number of non‑zero terms in the expansion, making calculations faster and numerically more stable.

Each minor is a 3×3 matrix formed by deleting one row and one column. Its determinant is calculated using the rule of Sarrus, a direct formula with six products.

Laplace expansion scales factorially and becomes expensive for large sizes. It is ideal for small matrices or for educational step‑by‑step demonstrations of cofactors and minors.

Yes. The calculator accepts integers, decimals, and negative values. Blank cells count as zero. Computation uses standard floating‑point arithmetic with readable rounding in the display.

Related Calculators

Row Reduction RREF CalculatorDiagonalization Checker CalculatorLU Decomposition Steps CalculatorQR Decomposition Steps Calculatormatrix calculator with variablesGauss-Jordan inverse calculatorPolynomial linear independence calculatorLinear independence of matrix calculatorComplex matrix inverse calculatorQR decomposition least squares

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.