Convolution Calculator

Compute the discrete linear convolution of two sequences.

y = x * h0, 1, 2.5, 4, 1.5
Length5
y[n] = Σ x[k]·h[n−k], length = 3 + 3 − 1 = 5

Runs entirely in your browser — nothing you enter is uploaded.

About this tool

Convolution combines a signal with a filter (impulse response). It is also how polynomial multiplication works.

How to use the Convolution Calculator

  1. Enter the sequence x and sequence h.
  2. The result updates instantly, with the working shown underneath.
  3. Use Copy to grab a result, or Reset to start again.

How it works

Each output sample sums products of x[k] and h[n − k]. The output length is len(x) + len(h) − 1.

Formula

y[n] = Σₖ x[k]·h[n − k]

Frequently asked questions

Is convolution commutative?

Yes, x * h = h * x.