# Determinant of 2×2 matrix online

If you want to calculate the determinant of a 2×2 matrix onlinethen you are in the right place. Here you will find a calculator that will allow you to know the value of the determinant, but we also show you how to calculate it manually, in Excel or using the scientific calculator.

You choose how to find the determinant of a 2×2 matrix.

## Formula for calculating the 2×2 determinant Calculating a determinant of a 2×2 matrix is very easy. You only have to multiply the elements of the first diagonal and subtract the result obtained from multiplying the elements that compose the second diagonal of the determinant.

This is something you can see in the following formula for calculating the 2×2 determinant of a matrix: ## Example of calculating 2×2 determinant In the following example we will see how to calculate the 2×2 determinant of the image taking into account the theory seen in the previous point.

The first thing we do is to perform the multiplication of the elements that make up the main diagonal of the determinant:

(2 * (-4)) = – 8

Next we do the same but with the secondary diagonal:

5 * 3 = 15

Finally, subtract the result of the main diagonal of the obtained with the second one:

-8 – 15 = – 23

That would be the result we obtain by solve the 2×2 determinant example.

## How to solve the determinant of a 2×2 matrix in Excel

Excel can also help us to resolve determinants of any size. In this case, the first thing you have to select are 4 cells in which to place the elements of the matrix.

Once you have written your nxn matrix, choose an empty cell and type the following formula:

=MDETERM()

Between the parentheses you must select the range of cells that make up your 2×2 determinant. In our video example, we have used the expression in this form:

=MDETERM(B4:C5)

Thus, we can immediately solve any determinant without wasting time, something very useful to save time or to check that we have not made a mistake in any operation. This method is also valid for major determinants