Tensor Product Calculator

Compute the exact Kronecker product of two real matrices, including rectangular and fractional inputs.

Result
—

How to calculate

Replace every entry aᵢⱼ of A with a block equal to aᵢⱼ times B. The result has the product of the input row counts and the product of the input column counts.

Worked example

Use Matrix A 1, 2 · Matrix B 0, 3 / 4, 5. The result is [0, 3, 0, 6]; [4, 5, 8, 10].

Input and result notes

Each input may have up to eight rows and eight columns. The order A ⊗ B matters. Use one row per line and separate entries with commas or spaces. Integers, decimals, and compact fractions such as 3/5 are supported.

NumPy definition of the Kronecker product

Related calculators