Home · Everyday · Matrices · Tensor Product Calculator
Tensor Product Calculator
The Kronecker (tensor) product of two matrices — every entry of A replaced by that multiple of the whole of B.
What this calculator does
The Kronecker (tensor) product of two matrices — every entry of A replaced by that multiple of the whole of B. Where a measure is involved, US and metric units are both accepted — flip the unit toggle and the figures convert with the same definitions the formula uses. Every result on this page is computed from the formula stated below, with no hidden rounding steps.
The formula and method
Enter matrices with rows separated by semicolons and entries by commas or spaces.
The operation is applied with the standard rules of matrix arithmetic; sizes must be compatible.
Results are rounded for display; exact fractions are kept internally where the method allows.
Worked example
With the example inputs this page opens with, the result is [0, 5, 0, 10; 6, 7, 12, 14; 0, 15, 0, 20; 18, 21, 24, 28] — a ⊗ b. Kronecker product A ⊗ B — a 4 × 4 matrix. The headline figure for the correctness record is its top-left entry, 0.
Quick reference
| C1 | C2 | C3 | C4 | |
|---|---|---|---|---|
| R1 | 0 | 5 | 0 | 10 |
| R2 | 6 | 7 | 12 | 14 |
| R3 | 0 | 15 | 0 | 20 |
| R4 | 18 | 21 | 24 | 28 |
Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.
Common questions
How does the Tensor Product Calculator work?
The Kronecker (tensor) product of two matrices — every entry of A replaced by that multiple of the whole of B. Matrix A · Matrix B → A ⊗ B. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.
What inputs does the Tensor Product Calculator need?
Matrix A · Matrix B → A ⊗ B. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.
Is the Tensor Product Calculator free to use?
Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.