Home · Everyday · Algebra · Convolution Calculator

Convolution Calculator

The discrete convolution of two sequences — flip, shift, multiply, sum — the operation behind filtering and polynomial products.

Your figures

Example result — edit the figures to make it yours

4, 13, 22, 15

Convolution (x * y)

Each output term sums the products of overlapping pairs, flipping one sequence against the other — the operation behind polynomial multiplication and signal filtering. The headline figure is the first output term.

Output length3 + 2 − 1 = 4
Sum of outputs (= sum x × sum y)54

What this calculator does

The discrete convolution of two sequences — flip, shift, multiply, sum — the operation behind filtering and polynomial products. 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

(x * y)[k] = Σᵢ x[i] y[k − i]

The discrete convolution (x * y)[k] = Σ x[i] · y[k − i] slides one sequence across the other.

The result has length len(x) + len(y) − 1.

This is the operation behind polynomial multiplication and FIR filtering.

Worked example

With the example inputs this page opens with, the result is 4, 13, 22, 15 — convolution (x * y). Each output term sums the products of overlapping pairs, flipping one sequence against the other — the operation behind polynomial multiplication and signal filtering. The headline figure is the first output term.

Quick reference

Quick reference — the worked example in full
FigureValue
Convolution (x * y)4, 13, 22, 15
Output length3 + 2 − 1 = 4
Sum of outputs (= sum x × sum y)54

Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.

Common questions

How does the Convolution Calculator work?

The discrete convolution of two sequences — flip, shift, multiply, sum — the operation behind filtering and polynomial products. Sequence x · Sequence y → Convolution. 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 Convolution Calculator need?

Sequence x · Sequence y → Convolution. 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 Convolution 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.