4×4 Matrix Determinant Calculator
Enter all 16 entries of your 4×4 matrix to compute its determinant.
Result
How it is calculated
The tool reads the 16 entries a11 to a44 (row first, then column) and reduces the matrix to upper-triangular form by Gaussian elimination with partial pivoting. In each column it takes the row with the largest absolute value on or below the diagonal, swaps it up (every swap flips the sign), multiplies the running determinant by that pivot and subtracts multiples of the pivot row from the rows below. The result is the signed product of the four pivots: det = ± p1 × p2 × p3 × p4. Tolerances are relative to the largest entry, so a matrix scaled by 0.001 (determinant 1e-12) is still reported as invertible. Values below 0.00005 are printed in scientific notation instead of 0.0000. Singular means |det| < 1e-9 × (largest entry)4. All 16 cells must hold numbers.
Worked example
Rows: (1, 2, 0, 1), (3, 1, 2, 0), (0, 1, 1, 2), (0, 0, 2, 1). Column 1: the largest entry is 3, so swap rows 1 and 2 (sign becomes −1) and multiply by 3, giving −3. Eliminating below leaves 5/3 as the next pivot: −3 × 5/3 = −5. In column 3 the candidates are 7/5 and 2, so swap again (sign back to +) and multiply by 2: 10. The last pivot is 7/10, so 10 × 0.7 = 7. The tool shows a determinant of 7.0000 and labels the matrix Invertible.
Common mistakes
- Typing a row in the wrong position or swapping two rows by accident. A transposed matrix has the same determinant, but one swapped pair of rows flips the sign of the answer.
- Leaving a cell empty because it should be zero. All 16 cells need a value; a blank cell gives no result, so type 0.
- Reading a determinant such as 1.0000e-12 as "almost zero, so singular". For a matrix with entries around 0.001 that is the correct size (0.0014), and the tool judges singularity relative to the entries, so it says Invertible.
- Assuming that doubling every entry doubles the determinant. For a 4×4 matrix the determinant is multiplied by 24 = 16.
- Entering a matrix whose row is a multiple of another, such as (1, 2, 3, 4) and (2, 4, 6, 8), and expecting a nonzero value. Such rows are linearly dependent and the tool correctly reports Singular with 0.0000.
About this calculator
The determinant of a square matrix is a single number that reveals key properties of the linear transformation it represents — a determinant of zero means the matrix is singular (not invertible, and its rows/columns are linearly dependent), while a nonzero determinant means it's invertible. For a 4×4 matrix, expanding by cofactors directly requires 4! = 24 terms, so it's far more efficient to use Gaussian elimination with partial pivoting, reducing the matrix to upper-triangular form and multiplying the diagonal entries (tracking sign flips from row swaps).
This calculator takes all 16 entries of your 4×4 matrix, runs Gaussian elimination to compute the determinant, and tells you whether the matrix is singular or invertible. It's a standard tool for linear algebra students and anyone working with linear systems, computer graphics transformations, or engineering models who need to check invertibility before solving a system or inverting a matrix.
Was this helpful?
You can pick up to 3 reactions.
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
- Loan Calculator
- Profit Calculator
- Discount Calculator
- BMI Calculator
- Percentage Calculator
- Ideal Weight Calculator
- Age Calculator
- Pregnancy Due Date Calculator
- Compound Interest Calculator
- BMR Calculator (Basal Metabolic Rate)
- Tip Calculator
- Fuel Cost Calculator
- Date Difference Calculator
- Sleep Cycle Calculator
- Daily Water Intake Calculator
- Simple Interest Calculator
- Heart Rate Zones Calculator
- Running Pace Calculator
- Pet Age Calculator
- Calories Burned Calculator
- Macro Calculator
- TDEE Calculator (Total Daily Energy Expenditure)
- Waist-to-Hip Ratio Calculator
- Honor Roll Calculator
- One Rep Max (1RM) Calculator
- Ovulation Calculator
- Electricity Cost Calculator
- Unit Price Calculator
- Savings Goal Calculator
- Break-Even Point Calculator
- Paint Calculator
- Course Grade Average Calculator
- Business Days Calculator
- Time Duration Calculator
- Fuel Economy Calculator
- Temperature Converter
- Tile Calculator
- Aspect Ratio Calculator
- Roman Numeral Converter
- Goal Weight Timeline Calculator
- Salary Converter (Hourly to Annual)
- Credit Card Validator (Luhn)
- Body Surface Area (BSA) Calculator
- Feels-Like Temperature Calculator
- Ohm’s Law Calculator
- PPI (Pixel Density) Calculator
- Molar Mass Calculator
- Zodiac Sign Calculator (Western + Chinese)
- IBAN Validator
- Shoe Size Converter
- Country Info & Dialing Code Lookup
- Time Zone Difference (World Clock)
- CAGR (Compound Annual Growth Rate) Calculator
- Rule of 72 Calculator
- Blood Alcohol Content (BAC) Calculator
- Lean Body Mass (LBM) Calculator
- Pythagorean Theorem Calculator
- Speed Converter
- Download Time Calculator
- Date Calculator (Add/Subtract)
No calculators found
Comments