Matrix Multiplication Calculator (2x2, 3x3) and Inverse Matrix Steps

Updated 5 Dec 2026 · By , HisaabHub · How we check

Quick answer: you can multiply A × B only when columns of A equal rows of B. Each cell is the row of A times the column of B added up. [1 2; 3 4] × [5 6; 7 8] = [19 22; 43 50]. The 2x2 inverse is 1/(ad - bc) × [d -b; -c a].

Advertisement

How to multiply and invert matrices

  1. Check size: (m x n) × (n x p) gives m x p.
  2. Cell (i, j) = row i of A dot column j of B.
  3. 2x2 inverse: det = ad - bc; swap a and d, negate b and c, divide by det.
  4. 3x3 inverse: find the determinant, the matrix of cofactors, transpose it (adjugate) and divide by the determinant.
  5. If det = 0 there is no inverse.

Roman Urdu: Pehle matrix ki row ko doosre ki column se zarb de kar jama karein.

Matrix Multiplication Calculator table

Quick reference values you can check your own numbers against.

Matrix Multiplication Calculator table
Matrix AMatrix BA x B
[1 2; 3 4][5 6; 7 8][19 22; 43 50]
[2 0; 1 3][1 4; 2 5][2 8; 7 19]
[1 0 2; 0 1 3; 4 0 1][1 2 0; 0 1 1; 2 0 1][5 2 2; 6 1 4; 6 8 1]
2x33x22x2 (12 multiplications)
3x33x33x3 (27 multiplications)
2x22x32x3 (12 multiplications)
2x32x3Not possible

Rows are separated by semicolons. Matrix multiplication is not commutative: A x B is usually not B x A.

Advertisement

Multiplying integers, binomials and radicals

Matrix cells are plain multiplications and additions. For a single multiplication of integers use the calculator hub; for fractions use the fraction calculator, and for averages the average calculator. Binomial rule: (a + b)(c + d) = ac + ad + bc + bd. Radicals: sqrt a × sqrt b = sqrt(ab).

Official sources

Questions people ask

How do I multiply two matrices?
Multiply each row of the first by each column of the second and add the products.
When can two matrices be multiplied?
When the number of columns of A equals the number of rows of B.
How do I find the inverse of a 3x3 matrix?
Use adjugate / determinant. If the determinant is zero, no inverse exists.
Is A x B equal to B x A?
Not in general.
How do I multiply binomials?
Use FOIL: first, outer, inner, last, then add.
Advertisement