← All text tools

Discrete Fourier Transform and Convolution Calculator

Compute the DFT or FFT of a list of samples with real and imaginary parts, magnitude, phase and a spectrum chart, the inverse DFT, and the linear or circular convolution of two sequences.

  • Free
  • No sign-up
  • Works on any device

About Discrete Fourier Transform and Convolution Calculator

The discrete Fourier transform converts N samples into N complex frequency components X[k]. This calculator uses a fast Fourier transform when N is a power of 2 and the direct sum otherwise, and shows each component with real part, imaginary part, magnitude, phase and frequency for a sampling rate you set. The samples 1, 2, 3, 4 give 10, -2 + 2i, -2 and -2 - 2i. It also computes the inverse DFT and the linear or circular convolution of two sequences, listing the sums behind the first outputs.

How to use Discrete Fourier Transform and Convolution Calculator

  1. Choose DFT, inverse DFT, linear convolution or circular convolution.
  2. Type the sequence or sequences as numbers separated by commas or spaces, and set the sampling rate if you want real frequencies.
  3. Read the spectrum table and chart, or the convolution result with its working.

Why use this tool?

Also known as

Frequently asked questions

What do magnitude and phase mean in the DFT?

For each frequency the magnitude is how strong that component is and the phase is its shift in degrees. They come from the complex value X[k] as its length and its angle.

What is the difference between linear and circular convolution?

Linear convolution of lengths N and M has length N + M - 1. Circular convolution wraps the index around at a fixed length, which is what multiplying DFTs produces unless you pad with zeros first.

How large a signal can it handle?

Up to 4096 samples. A power of 2 uses the fast algorithm; other lengths use the direct sum, which is still quick at this size. Padding with zeros is available to reach a power of 2.

Is Discrete Fourier Transform and Convolution Calculator free?

Yes. Discrete Fourier Transform and Convolution Calculator on Toolipedia is free to use, with no sign-up and no watermark.

Is it safe to use?

Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.

Does it work on my phone?

Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.

Do I need an account?

No. Just open the page and use the tool. There's no sign-up and no email needed.

Can I put Discrete Fourier Transform and Convolution Calculator on my own website?

Yes. Use the Embed on your site button under the tool to copy a short piece of code and paste it into your page. It is free, needs no account, and the tool keeps working inside your page.