Source: https://goodhandover.co.uk/tools/matrix-determinant-calculator/

[Computer science maths](https://goodhandover.co.uk/tools/computer-science-maths/#year-2) / Year 2

🔒 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.

Files and text stay on your device. [Privacy details](https://goodhandover.co.uk/privacy/).

 

## 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.

 

- Check the example inputs: Square matrix.

- Change the inputs for your problem. Results update as you type, so finish entering the values before copying an answer.

- 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](https://goodhandover.co.uk/tools/computer-science-maths/#year-2)

- [Gaussian elimination calculator](https://goodhandover.co.uk/tools/gaussian-elimination-calculator/)

- [Matrix inverse calculator](https://goodhandover.co.uk/tools/matrix-inverse-calculator/)

- [Chinese remainder theorem calculator](https://goodhandover.co.uk/tools/chinese-remainder-calculator/)

- [Least squares regression calculator](https://goodhandover.co.uk/tools/least-squares-regression-calculator/)

 

Last updated 24 November 2026
