Tensor Product Calculator

Quick answer

The tensor (Kronecker) product calculator computes A ⊗ B for matrices A and B of up to 3 × 3 each, giving a block matrix of size (m·p) × (n·q).

A ⊗ B
⎡ 0 5 0 10 ⎤ ⎢ 6 7 12 14 ⎥ ⎢ 0 15 0 20 ⎥ ⎣ 18 21 24 28 ⎦
Size
4×4

The Kronecker product builds large structured matrices from small ones. It describes composite systems in quantum computing (two qubits: 2 × 2 ⊗ 2 × 2), 2D image filters and vectorised matrix equations.

How to use the Tensor Product Calculator

  1. Matrix A size
  2. A: a₁
  3. A: b₁
  4. A: c₁
  5. A: a₂
  6. A: b₂
  7. A: c₂
  8. A: a₃
  9. A: b₃
  10. A: c₃
  11. Matrix B size
  12. B: x₁
  13. B: y₁
  14. B: z₁
  15. B: x₂
  16. B: y₂
  17. B: z₂
  18. B: x₃
  19. B: y₃
  20. B: z₃

Everything is calculated in your browser, so results appear instantly and nothing you type is sent to a server.

How it works

Each entry of A is replaced by that entry times the whole matrix B.

Tips

  • Check the sizes first: matrix products need the inner dimensions to match.
  • Enter the matrix row by row; each row of fields is one row of the matrix.
  • Integer matrices are shown with exact fractions where the result is rational.
  • A determinant of zero means the matrix has no inverse and its columns are dependent.

Common mistakes to avoid

  • Multiplying matrices element by element when a matrix product is needed.
  • Assuming AB = BA – matrix multiplication is not commutative.
  • Mixing up rows and columns when reading a result.

Formula

A ⊗ B = [aᵢⱼ · B] (each entry of A multiplies the whole of B)

Worked example

Inputs — Matrix A size: 2 × 2; A: a₁: 1; A: b₁: 2; A: a₂: 3; A: b₂: 4; Matrix B size: 2 × 2; B: x₁: 0; B: y₁: 5; B: x₂: 6; B: y₂: 7.
Results — A ⊗ B = ⎡ 0 5 0 10 ⎤
⎢ 6 7 12 14 ⎥
⎢ 0 15 0 20 ⎥
⎣ 18 21 24 28 ⎦
; Size = 4×4.

Key terms

Kronecker product
The tensor product of two matrices.

Frequently asked questions

What is the size of A ⊗ B?

(rows of A × rows of B) by (columns of A × columns of B).

Is the Kronecker product commutative?

No, but A ⊗ B and B ⊗ A are permutation-similar.

What is (A ⊗ B)(C ⊗ D)?

AC ⊗ BD, when the products exist.

Where is it used?

Quantum computing, signal processing and the vec operator in matrix equations.

What formula does the Tensor Product Calculator use?

A ⊗ B = [aᵢⱼ · B] (each entry of A multiplies the whole of B).

Sources

  1. Wolfram MathWorld – Kronecker product
  2. MIT OpenCourseWare – 18.06 Linear Algebra (Gilbert Strang)
  3. Jim Hefferon – Linear Algebra (free textbook)

Cite this calculator

Speedy Calculator. (2026). Tensor Product Calculator. Speedy Calculator. https://speedycalculator.com/calculators/math/tensor-product/