Linear Algebra & Matrices

Hadamard Product Calculator

Multiply equally sized matrices entry by entry.

Linear Algebra & Matrices

Enter matrix values

Exact rational arithmetic
  1. 1EnterProvide the known values
  2. 2CalculateResults update automatically
  3. 3VerifyReview the details and units
Try an example
Matrix A
Matrix B

Use ordinary signed decimals. Fractions, commas, and scientific notation are not accepted in this first batch.

Exact result

Enter valid values to see the result.

Your entries are calculated in this browser and are not submitted to 365CALCS.COM.

Feedback

Understand the subject

What is a Hadamard product?

The Hadamard product multiplies matching entries and keeps the original shape.

Use it for masks, weights, and entrywise relationships.

The relationship

The defining relationship

See the structure

What the calculation is doing

Worked interpretation

Read the result in context

(A⊙B)ᵢⱼ=aᵢⱼbᵢⱼ

Interpret with care

Important boundary

It is not ordinary matrix multiplication.

Use the Matrix Calculator to experiment with small exact matrix operations before applying a more specialized route.

Quick guide

How to use this calculator

  1. Give A and B matching dimensions.
  2. Enter all values.
  3. Read the exact entrywise product A ⊙ B.

Calculation method

Multiply corresponding entries

Unlike ordinary matrix multiplication, the Hadamard product keeps the original dimensions and multiplies aᵢⱼ by bᵢⱼ.

Worked example

Entrywise product

Multiply corresponding entries of [[1,2],[3,4]] and [[5,6],[7,8]].

A ⊙ B = [[5,12],[21,32]]

Supported inputs

Precision and limits

Matrix size

Each input matrix may contain 1–6 rows and 1–6 columns.

Entry precision

Each signed decimal may contain up to 30 digits and 15 decimal places.

Exactness

Finite decimals are converted to reduced fractions before calculation; matrix arithmetic is not rounded.