Determinant of a 2×2 Matrix Calculator

Published on: October 26, 2025
Final Answer: Free | Full Steps: Plus

This Determinant of a 2×2 Matrix Calculator finds the single number that describes a 2 by 2 matrix and shows the working. In Algebra 2, the determinant tells you straight away whether a system of two equations has one solution, and it is the number you divide by when finding an inverse matrix. It is the product down the main diagonal minus the product down the other diagonal. Following the same pattern every time keeps the order of the subtraction right.

Step-by-step method

  1. Set up the problem.
  2. Write the formula.
  3. Substitute the entries into the formula.
  4. Multiply the diagonals and subtract.

Formula: 2 by 2 Determinant Formula

This formula gives the determinant of a 2 by 2 matrix. Multiply down the main diagonal, then subtract the product of the other diagonal.

\(\det(A) = \begin{vmatrix} a & b \\ c & d \end{vmatrix} = ad - bc\)

Useful Tips to Remember

The main diagonal runs from top left to bottom right, and its product comes first. A determinant of 0 means the matrix has no inverse. Swapping the two rows changes the sign of the determinant. Use brackets around negative entries, so \(3 \times (-2)\) is not misread.

Required knowledge

Where Is the Determinant of a 2 by 2 Matrix Used?

In Algebra 2, the determinant is used with Cramer's rule to solve systems of two equations, and to decide whether an inverse matrix exists before trying to find it. It also gives the area of a triangle from the coordinates of its corners. Outside the classroom, the same number tells engineers and graphics programmers whether a transformation stretches, shrinks or flips a shape.

  • Checking whether a matrix has an inverse
  • Solving systems with Cramer's rule
  • Areas of parallelograms and triangles
  • Checking if a transformation flips a shape
  • Testing whether two vectors are parallel

Determinant of a 2×2 Matrix Practice Problems

Example 1 finds the determinant of a matrix with all positive entries, and Example 2 includes a negative entry, so the subtraction becomes an addition. Multiply the diagonals and subtract yourself, then compare. For two more free worked examples, check out the Determinant of a 2×2 Matrix Notes.

The worked examples below go through the same pattern from start to finish, so you can compare every step with your own working. For more practice, the notes page goes further with extra worked examples and fuller explanations of the ideas behind each step. Use them together to check your answers and to understand why each step works.

See Example 1 Hide Example 1

Problem

\(A = \begin{bmatrix} 4 & 7 \\ 2 & 6 \end{bmatrix}\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the formula.
  3. Substitute the entries into the formula.
  4. Multiply the diagonals and subtract.

Formula

Formula: 2 by 2 Determinant Formula

This formula gives the determinant of a 2 by 2 matrix. Multiply down the main diagonal, then subtract the product of the other diagonal.

\(\det(A) = \begin{vmatrix} a & b \\ c & d \end{vmatrix} = ad - bc\)

Step 1

Step 1 - Set up the problem.

In this problem: Reading A left to right and top to bottom gives \(a = 4\), \(b = 7\), \(c = 2\) and \(d = 6\).

\(A = \begin{bmatrix} 4 & 7 \\ 2 & 6 \end{bmatrix}\)

Step 2

Step 2 - Write the formula.

In this problem: The determinant of a 2 by 2 matrix is the product down the main diagonal minus the product down the other diagonal.

\(\det(A) = ad - bc\)

Step 3

Step 3 - Substitute the entries into the formula.

In this problem: Replacing the letters with the entries gives \(\det(A) = 4 \times 6 - 7 \times 2\).

\(\det(A) = 4 \times 6 - 7 \times 2\)

Step 4

Step 4 - Multiply the diagonals and subtract.

In this problem: The main diagonal gives \(4 \times 6 = 24\) and the other diagonal gives \(7 \times 2 = 14\), so \(24 - 14 = 10\).

\(\det(A) = 4 \times 6 - 7 \times 2 = 24 - 14 = 10\)

Final Answer

\(\det(A) = 10\)
See Example 2 Hide Example 2

Problem

\(A = \begin{bmatrix} 3 & -2 \\ 5 & 1 \end{bmatrix}\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the formula.
  3. Substitute the entries into the formula.
  4. Multiply the diagonals and subtract.

Formula

Formula: 2 by 2 Determinant Formula

This formula gives the determinant of a 2 by 2 matrix. Multiply down the main diagonal, then subtract the product of the other diagonal.

\(\det(A) = \begin{vmatrix} a & b \\ c & d \end{vmatrix} = ad - bc\)

Step 1

Step 1 - Set up the problem.

In this problem: Reading A left to right and top to bottom gives \(a = 3\), \(b = -2\), \(c = 5\) and \(d = 1\).

\(A = \begin{bmatrix} 3 & -2 \\ 5 & 1 \end{bmatrix}\)

Step 2

Step 2 - Write the formula.

In this problem: The determinant of a 2 by 2 matrix is the product down the main diagonal minus the product down the other diagonal.

\(\det(A) = ad - bc\)

Step 3

Step 3 - Substitute the entries into the formula.

In this problem: Replacing the letters with the entries gives \(\det(A) = 3 \times 1 - \left(-2\right) \times 5\).

\(\det(A) = 3 \times 1 - \left(-2\right) \times 5\)

Step 4

Step 4 - Multiply the diagonals and subtract.

In this problem: The main diagonal gives \(3 \times 1 = 3\) and the other diagonal gives \(\left(-2\right) \times 5 = -10\), so \(3 - \left(-10\right) = 13\).

\(\det(A) = 3 \times 1 - \left(-2\right) \times 5 = 3 - \left(-10\right) = 13\)

Final Answer

\(\det(A) = 13\)

Notes and Practice Mode

Matrix A

Empty boxes count as 0. Entries can be whole numbers, decimals or fractions like 1/2.

Example Problems

Click one to load it into the box and solve it.