Tensor Product Calculator screenshot

Tensor Product Calculator

Work out the Kronecker product of two matrices from left matrix (rows on separate lines), right matrix (rows on separate lines). (A ⊗ B) replaces each entry aᵢⱼ with aᵢⱼ × B, tiling the blocks in A's order, and the page prints the substitution so the result can be checked by hand.

Privacy First
0 Runs
Updated 2026-11-22
Runs in your browser
No sign-up, no upload
Formula printed with the answer

Tensor Product Calculator

Work out the Kronecker product of two matrices from left matrix (rows on separate lines), right matrix (rows on separate lines). (A ⊗ B) replaces each entry aᵢⱼ with aᵢⱼ × B, tiling the blocks in A's order, and the page prints the substitution so the result can be checked by hand.

How this page computes

(A ⊗ B) replaces each entry aᵢⱼ with aᵢⱼ × B, tiling the blocks in A's order

Entries are tiled in the left matrix's order, so the result is not the same as the other factor order: A ⊗ B and B ⊗ A are different matrices, related by a permutation.

The trace identity trace(A ⊗ B) = trace(A) × trace(B) is printed as the check that the tiling is right.

The calculation runs entirely in this browser tab; nothing is uploaded.

Tensor Product Calculator computes the Kronecker product of two matrices. (A ⊗ B) replaces each entry aᵢⱼ with aᵢⱼ × B, tiling the blocks in A's order. The page prints the rule, the numbers substituted into it and the result, so the arithmetic can be checked by hand.

Entries are tiled in the left matrix's order, so the result is not the same as the other factor order: A ⊗ B and B ⊗ A are different matrices, related by a permutation. Pressed with left matrix 1 2; 3 4, right matrix 0 5; 6 7, it answers: Kronecker product: 2×2 ⊗ 2×2 = 4×4

How to use Tensor Product Calculator

Enter left matrix 1 2; 3 4, right matrix 0 5; 6 7, then press Run: the page evaluates the Kronecker product of two matrices and prints every line of the working. Typed input is read exactly as written, and a blank field is refused with its name.

Read the first line as the answer and the lines below it as the substitution. If a value is out of range the page refuses it by field and reason instead of printing a number.

With left matrix 1 2; 3 4, right matrix 0 5; 6 7, the answer is Kronecker product: 2×2 ⊗ 2×2 = 4×4.

The block order matters

Entries are tiled in the left matrix's order, so the result is not the same as the other factor order: A ⊗ B and B ⊗ A are different matrices, related by a permutation.

The trace identity trace(A ⊗ B) = trace(A) × trace(B) is printed as the check that the tiling is right.

What to Expect

Best for

  • Working out the Kronecker product of two matrices without a spreadsheet
  • Checking a figure someone else quoted
  • Seeing the formula behind an answer

Not ideal for

  • A product above 12 by 12 is refused, because the printed matrix stops being readable.
  • A quantity the page cannot compute, which it refuses instead of estimating
  • Rounding an answer that has an exact form

What this tool keeps

  • (A ⊗ B) replaces each entry aᵢⱼ with aᵢⱼ × B, tiling the blocks in A's order
  • Every input exactly as typed

What may need cleanup

  • Nothing: the printed answer is the final output
  • A unit conversion, if the inputs were entered in different units

Common errors

  • A product above 12 by 12 is refused, because the printed matrix stops being readable.
  • An empty field is refused with the field's name

Example use cases

  • Work out the Kronecker product of two matrices for one set of inputs
  • Check the result against the formula by hand
  • See which input the answer is most sensitive to

Sample input

Tensor Product Calculator: left matrix 1 2; 3 4, right matrix 0 5; 6 7

Sample output

Kronecker product: 2×2 ⊗ 2×2 = 4×4 — [ 0 5 0 10 ]

Who this is for

  • Students checking a formula
  • Anyone who needs the number and the working

Frequently asked questions

What formula does this page use?

(A ⊗ B) replaces each entry aᵢⱼ with aᵢⱼ × B, tiling the blocks in A's order. The page prints the substitution as well, so the answer can be checked against the rule.

What does Tensor Product Calculator refuse?

A product above 12 by 12 is refused, because the printed matrix stops being readable.

What does the default example give?

Left matrix 1 2; 3 4, right matrix 0 5; 6 7 gives Kronecker product: 2×2 ⊗ 2×2 = 4×4. Every line below that restates the same arithmetic.

Developer program

Build custom tools for your store

Join the SDK program to create useful ecommerce utilities for your store.