Math · Every step shown

Matrix Calculator

Add, subtract, or multiply two 2×2 matrices, or find a matrix's determinant.

Enter your numbers

Press Solve with steps to see the answer and how to get it.

Job: Linear algebra
;
;
;
;
;
;
;
Your answer

Press Solve with steps to see the answer and every step.

How it works, examples and FAQ

Addition and subtraction combine matching positions. Multiplication combines each row of the first matrix with each column of the second. The determinant of [[a,b],[c,d]] is ad − bc.

Example: [[1,2],[3,4]] × [[5,6],[7,8]] = [[19,22],[43,50]], and its own determinant is 1×4 − 2×3 = −2.

What is a determinant?
A single number calculated from a square matrix that tells you things like whether the matrix can be inverted; for a 2×2 matrix it's ad − bc.

How do you multiply two matrices?
Multiply each row of the first matrix by each column of the second, adding the products, to fill in each spot of the result.

Does matrix multiplication work like regular multiplication?
No — order matters. Multiplying A × B usually gives a different result than B × A.

More math calculators

Snap a photo of a problem →   All math tools →   All calculators →

These calculators show the method as well as the answer, so you can learn the steps and check your own work. If a result ever looks wrong, tell us on the Contact page with the numbers you entered.

Save or print your results

On a phone, choose Save as PDF on the next screen to keep a copy.