Matrix Calculator

Enter the values of your 2×2 matrix.

A =

Try an example

Matrix Results

Determinant
5
Trace
6
Invertible
Yes
Inverse Matrix
A⁻¹ =
4/5
-1/5
-3/5
2/5

≈ [0.8 -0.2] / [-0.6 0.4]

A⁻¹ = 1/(ad − bc) · [d −b; −c a], substituting the values above.

How the determinant was calculated

det(A) = ad − bc

= (2 × 4) − (1 × 3)

= 8 − 3

= 5

How the trace was calculated

trace(A) = a + d

= 2 + 4

= 6

How the inverse was calculated

Step 1 — Find the determinant

det(A) = 5

Step 2 — Swap a and d

4
1
3
2

Step 3 — Change the signs of b and c

4
-1
-3
2

Step 4 — Multiply by 1/det(A)

1/5 × [4 -1; -3 2]

A⁻¹ =
4/5
-1/5
-3/5
2/5

Matrix Properties

Dimensions
2 × 2
Determinant
5
Trace
6
Invertible
Yes
Matrix Type
Square
A =
2
1
3
4
B =
2 × 2 · 2 × 2 → valid multiplication. The number of columns in Matrix A matches the number of rows in Matrix B.
A × B =
17
20
43
50

Row-by-column multiplication

First cell

(2 × 5) + (1 × 7)

= 10 + 7

= 17

Second cell

(2 × 6) + (1 × 8)

= 12 + 8

= 20

Third cell

(3 × 5) + (4 × 7)

= 15 + 28

= 43

Fourth cell

(3 × 6) + (4 × 8)

= 18 + 32

= 50

This matrix calculator (or matrix math calculator) computes the determinant, trace, and inverse of a 2x2 matrix, and can perform matrix multiplication between compatible matrices. It's built for quick linear algebra checks without manual row-reduction.

Enter your matrix values, and the calculator returns the determinant, inverse, and other key properties instantly.

Worked Calculation Examples

ScenarioResultCalculation Step
Matrix [[4,3],[6,3]]det = −6, trace = 7det = (4×3) − (3×6) = 12 − 18 = −6. trace = 4 + 3 = 7. Since det ≠ 0, this matrix is invertible.
Matrix [[2,0],[0,5]]det = 10, trace = 7, inverse [[0.5,0],[0,0.2]]det = (2×5) − (0×0) = 10. trace = 2 + 5 = 7. Inverse = (1/10) × [[5,0],[0,2]] = [[0.5,0],[0,0.2]].

How to Multiply Two Matrices Online

Matrix multiplication requires the number of columns in the first matrix to match the number of rows in the second. Each entry in the resulting matrix is the sum of products of a row from the first matrix and a column from the second - this matrix operations calculator handles that row-by-column multiplication automatically.

Why the Determinant Matters

For a 2x2 matrix, the determinant is ad - bc. A matrix is invertible only if its determinant is nonzero - a determinant of zero means the matrix is singular and has no inverse, which matters when solving systems of linear equations using matrix methods.

How to Use the Matrix Calculator

  1. Enter the four values of your 2×2 matrix.
  2. Choose the matrix property you want to calculate.
  3. Review the result.
  4. Open the step-by-step section to understand the calculation.
  5. Use Matrix Multiplication when you want to multiply two compatible matrices.

Frequently Asked Questions

How do I multiply two matrices?

Match the columns of the first matrix to the rows of the second, then compute each result entry as the sum of products of the corresponding row and column - this is matrix multiplication.

How do I find the determinant of a 2x2 matrix?

For a matrix [[a,b],[c,d]], the determinant is ad - bc.

What does it mean if a matrix has no inverse?

A matrix with a determinant of zero (a singular matrix) has no inverse, which typically means the corresponding system of linear equations has no unique solution.

How do I use this matrix calculator?

Enter the known values, review the units or settings, and the calculator updates the result instantly. The formula and example on this page show how the answer is produced.

What does the Matrix Calculator calculate?

Calculate determinant, trace, and inverse values for a 2x2 matrix. It is designed for fast browser-based calculations without sign-up, downloads, or manual spreadsheet setup.

What formula does this matrix use?

The formula is: det(A) = ad - bc. Matrix algebra was formalized by English mathematician Arthur Cayley in an 1858 paper, though the underlying concept of arranging numbers in a grid for solving systems of equations dates back to ancient Chinese mathematical texts. The determinant specifically reveals whether a matrix is invertible - a zero determinant means the matrix has no inverse, corresponding geometrically to a transformation that collapses space into a lower dimension rather than preserving it.

Last updated: September 27, 2026.