Convolution Calculator
Compute the discrete linear convolution of two numeric sequences for signal processing and mathematical analysis.
About convolution
Convolution examples
| Input sequences | Output sequence | Interpretation |
|---|---|---|
| [1, 2, 3] and [1, 1] | [1, 3, 5, 3] | A two-sample moving sum |
| [1, 0, 2] and [2, 1] | [2, 1, 4, 2] | A sequence containing a zero sample |
| [2, -1] and [3, 4] | [6, 5, -4] | Signed values are supported |
How to calculate a convolution
- Enter the first sequence in sample order, separating each number with a comma.
- Enter the second sequence in the same comma-separated format.
- Select Calculate convolution to multiply and sum every valid overlap.
- Read the full output sequence from left to right.
Frequently asked questions
What type of convolution does this calculator perform?
It performs full discrete linear convolution on two finite sequences. It does not wrap samples as circular convolution does.
Why is the output longer than either input?
A length m sequence convolved with a length n sequence produces m + n - 1 samples. The extra samples represent partial overlaps at both ends.
Can I enter negative numbers and decimals?
Yes, each comma-separated item may be a finite integer or decimal, including a negative value. The output is rounded only to suppress insignificant floating-point noise.
Does input order matter?
No, convolution is commutative, so swapping the first and second sequences gives the same result. The internal sliding interpretation changes, but the numeric output does not.
Is convolution the same as correlation?
No, correlation measures similarity at different shifts and typically reverses or conjugates one sequence differently. Convolution is primarily used to combine an input with a system response or kernel.