How to use this calculator
Multiply the first 2×2 matrix by the second; each output cell is one row-by-column dot product.
- Enter A₁₁, A₁₂, A₂₁, A₂₂, then complete the remaining labeled fields. Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
How 2×2 matrix product calculator works
Multiply the first 2×2 matrix by the second; each output cell is one row-by-column dot product.
Inputs and units
- A₁₁: A₁₁ is the first row, first column entry of matrix A.
- A₁₂: A₁₂ is the first row, second column entry of A.
- A₂₁: A₂₁ is the second row, first column entry of A.
- A₂₂: A₂₂ is the second row, second column entry of A.
- B₁₁: B₁₁ is the first row, first column entry of matrix B.
- B₁₂: B₁₂ is the first row, second column entry of B.
- B₂₁: B₂₁ is the second row, first column entry of B.
- B₂₂: B₂₂ is the second row, second column entry of B.
Formula and method
If A=[[a,b],[c,d]] and B=[[e,f],[g,h]], then AB=[[ae+bg, af+bh],[ce+dg, cf+dh]].
Worked example
A=[[1,2],[3,4]] and B=[[0,1],[1,0]] give AB=[[1·0+2·1, 1·1+2·0],[3·0+4·1, 3·1+4·0]]=[[2,1],[4,3]].
Interpreting the result
The result is a new 2×2 matrix. Swapping A and B can change the product; the calculator reports A×B in the entered order.
Assumptions and limits
Entries are dimensionless unless you attach units; each product cell has the product of the units used for A and B. Floating-point display is rounded to five decimal places.
Sources and method
- Matrix products use row-by-column dot products and depend on multiplication order. OpenStax: matrix operations
Frequently asked questions
Why does order matter?
Matrix multiplication is generally not commutative: AB and BA can differ even when both products are defined.
How is one output cell computed?
Multiply one row of A by one column of B, then add the two products.
How do I use the 2×2 matrix product calculator?
Enter A₁₁, A₁₂, A₂₁, A₂₂, then complete the remaining labeled fields. Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of 2×2 matrix product?
A=[[1,2],[3,4]] and B=[[0,1],[1,0]] give AB=[[1·0+2·1, 1·1+2·0],[3·0+4·1, 3·1+4·0]]=[[2,1],[4,3]].
What does the 2×2 matrix product calculator calculate?
Multiply the first 2×2 matrix by the second; each output cell is one row-by-column dot product.