Matrix Calculator
English
A (2×2)
B (2×2)
Enter two fixed 2×2 matrices. Supports integers, negative numbers, decimals, and fractions such as 1/2.

2x2 Matrix Basics

2×2 Matrix Multiplication

Learn the formula for multiplying 2x2 matrices, follow complete worked examples, and use the main matrix multiplication calculator to check your answer.

Quick Answer

To multiply two 2×2 matrices, calculate each entry of the result by multiplying one row of the first matrix by one column of the second matrix and adding the two products. Every pair of 2×2 matrices can be multiplied, and the result is still a 2×2 matrix.

Core rule: take a row from Matrix A, take a column from Matrix B, multiply matching entries, then add.

The 2×2 Matrix Multiplication Formula

Write the two matrices with letters first. This shows exactly where each entry in the product comes from.

A

ab
cd
×

B

ef
gh
=

AB

ae + bgaf + bh
ce + dgcf + dh
  • The top-left entry comes from row 1 of A and column 1 of B.
  • The top-right entry comes from row 1 of A and column 2 of B.
  • The bottom-left entry comes from row 2 of A and column 1 of B.
  • The bottom-right entry comes from row 2 of A and column 2 of B.

Teaching Figure: Where Each Entry Comes From

The four positions in the answer each use a different row-and-column pairing.

c11 = row 1 of A × column 1 of B

This goes in the top-left position.

c12 = row 1 of A × column 2 of B

This goes in the top-right position.

c21 = row 2 of A × column 1 of B

This goes in the bottom-left position.

c22 = row 2 of A × column 2 of B

This goes in the bottom-right position.

Each result position is tied to one row from A and one column from B.

Worked Example 1: Basic Integer Matrices

Start with two simple matrices and compute one entry at a time.

Matrix A

12
34
×

Matrix B

56
78

Step 1: First row × first column

A

12
34
×

B

56
78

c11 = (1×5) + (2×7) = 19

Step 2: First row × second column

A

12
34
×

B

56
78

c12 = (1×6) + (2×8) = 22

Step 3: Second row × first column

A

12
34
×

B

56
78

c21 = (3×5) + (4×7) = 43

Step 4: Second row × second column

A

12
34
×

B

56
78

c22 = (3×6) + (4×8) = 50

So the result of A × B is:

AB

1922
4350

Worked Example 2: Negative Numbers

The formula does not change when negative numbers appear. Keep each sign attached to its number while you multiply.

Matrix A

2-1
34
×

Matrix B

15
-23

c11 uses row 1 of A and column 1 of B

c11 = (2×1) + ((-1)×(-2)) = 4

c12 uses row 1 of A and column 2 of B

c12 = (2×5) + ((-1)×3) = 7

c21 uses row 2 of A and column 1 of B

c21 = (3×1) + (4×(-2)) = -5

c22 uses row 2 of A and column 2 of B

c22 = (3×5) + (4×3) = 27

So the result of A × B is:

AB

47
-527

Worked Example 3: Fractions

Fractions work the same way. The main matrix multiplication calculator can help you check fraction inputs such as 1/2 and -1/3.

Matrix A

1/21
2-1/3
×

Matrix B

20
36

c11 uses row 1 of A and column 1 of B

c11 = (1/2×2) + (1×3) = 4

c12 uses row 1 of A and column 2 of B

c12 = (1/2×0) + (1×6) = 6

c21 uses row 2 of A and column 1 of B

c21 = (2×2) + ((-1/3)×3) = 3

c22 uses row 2 of A and column 2 of B

c22 = (2×0) + ((-1/3)×6) = -2

So the result of A × B is:

AB

46
3-2

A Simple Position Pattern

This position pattern helps you remember which row and column create each answer entry. It is not a shortcut that skips the calculation.

Top-left

row 1 × column 1

Top-right

row 1 × column 2

Bottom-left

row 2 × column 1

Bottom-right

row 2 × column 2

Practice Problems

Try each multiplication first, then open the answer.

Practice 1

10
21
×
34
56
Show answer

Answer

34
1114

Practice 2

2-1
03
×
14
-25
Show answer

Answer

43
-615

Practice 3

1/20
12
×
42
3-1
Show answer

Answer

21
100

Practice 2×2 Matrix Multiplication

Practice is the fastest way to make row-by-column multiplication feel natural. Try a few rounds and see how quickly the pattern starts to stick.

Practice with a 2×2 Matrix Game

Use this clear, step-by-step game to build speed, check your understanding, and make the 2×2 pattern easier to remember.

Open the Practice Game

Check Your Answer With the Calculator

This page teaches the 2×2 method without embedding a calculator. To check your work, open the main matrix multiplication calculator and enter integers, decimals, negative numbers, or fractions.

Common 2×2 Mistakes

  • Multiplying entries in the same positions.
  • Using a row from both matrices instead of a row and a column.
  • Putting a correct number in the wrong result position.
  • Losing a negative sign.
  • Forgetting to add the two scalar products.
  • Assuming AB = BA.

Frequently Asked Questions

How do you multiply two 2×2 matrices?

Multiply each row of the first matrix by each column of the second matrix. Each entry in the product is the sum of two scalar products.

Can any two 2×2 matrices be multiplied?

Yes. Any two 2×2 matrices can be multiplied because the number of columns in the first matrix is 2 and the number of rows in the second matrix is also 2.

Is the product of two 2×2 matrices always 2×2?

Yes. A 2×2 matrix times another 2×2 matrix gives a 2×2 product matrix.

Does AB equal BA for 2×2 matrices?

Not always. Matrix multiplication usually depends on order, so AB and BA can be different even when both products are defined.

Can a 2×2 matrix contain fractions or negative numbers?

Yes. The same 2×2 multiplication formula works with integers, decimals, negative numbers, and fractions.

Learn matrix multiplication more easily in just 2 minutes with this free game.

Matrix Multiplication Game

Solve your matrix instantly with our free calculator.

Open Matrix Calculator →