Hadamard Product Calculator

Hadamard Product

Compute element-wise multiplication for equally sized matrices.

Last updated: June 2026 | By Patchworkr Team

Matrix Dimensions
Matrix A
Matrix B
Result
2
2
2
2

What it means

Each output entry is the product of the matching entries in the two matrices.

Formula

C[i,j] = A[i,j] x B[i,j].

Worked Example

[1 2; 3 4] x [2 1; 0 3]

1x2 = 2, 2x1 = 2, 3x0 = 0, 4x3 = 12

Final answer: [2 2; 0 12]

Frequently Asked Questions

Can the matrices have different sizes?

No. They must be the same shape.

Can I use decimals?

Yes. Each cell is multiplied numerically.

What if a cell is blank?

It is treated as invalid input and the result is not shown.

Is this normal matrix multiplication?

No. It is element-wise multiplication only.

Related Tools