Files never leave your device

Matrix determinant calculator

Calculate the exact determinant and rank of a square matrix. Your inputs stay on your device.

Set up your task

Ready. Processing stays in this browser.

How to use Matrix determinant calculator

Calculate the exact determinant and rank of a square matrix. The pre-filled problem gives you a worked starting point. Compare the response with your own working before trying the self-check below.

  1. Check the example inputs: Square matrix.
  2. Change the inputs for your problem. Results update as you type, so finish entering the values before copying an answer.
  3. Use the working to check an intermediate value or assumption. Then change the example as suggested in the self-check and compare the result.

Supported inputs and limits

Use a square matrix up to 6 ร— 6. Entries can be integers or fractions with positive denominators.

How it works

The determinant gives a signed scale factor for a square linear transformation. Its magnitude describes how areas or volumes change. A determinant of zero means some dimensions collapse, making the transformation singular. The sign records whether the transformation preserves or reverses orientation.

Row reduction makes it possible to compute a determinant without expanding a large collection of minors. Row swaps reverse its sign. Adding a multiple of another row leaves it unchanged. The tool records pivots before dividing by them, so the product recovers the required scaling.

Example

Run the pre-filled example. Its first result is โ€œDeterminant: -2โ€.

Square matrix
1 2
3 4
Determinant: -2
Rank: 2
Multiply the pivots before normalising and reverse the sign after every row swap.
R2 โ† R2 โˆ’ (3) ร— R1.
Divide R2 by -2.
R1 โ† R1 โˆ’ (2) ร— R2.

Questions about Matrix determinant calculator

What happens when one row is a multiple of another?

The matrix loses rank and the determinant is zero because the two rows are linearly dependent.

Can the determinant be negative?

Yes. A negative value represents an orientation reversal. It can still describe an invertible matrix.

Swap the two rows of the pre-filled matrix.

The determinant changes from โˆ’2 to 2 and the rank stays two. Compare the row-operation trace with the sign rule.

Related tools

Year 2: Algorithms and theory

Last updated