Zero-Padding Helper

Enter your signal length and get the recommended zero-padded FFT sizes with spectral interpolation ratios and frequency resolution.

Signal Parameters

Number of samples in your input signal (N).

Leave blank to show normalized (cycles/sample) resolution.

Common Signal Lengths

Enter a signal length and click Calculate.

Copied!

Summary

Enter your signal length and get the recommended zero-padded FFT sizes with spectral interpolation ratios and frequency resolution.

How it works

  1. Enter the number of samples in your signal (its length N).
  2. Optionally enter the sample rate in Hz to display frequency resolution in Hz.
  3. Click Calculate. The tool finds the next power of 2 at or above N (the minimum FFT size).
  4. It also computes 2x and 4x padded lengths (the next two higher powers of 2).
  5. For each padded length it shows bin count, Δf (or normalized bin spacing), and the interpolation factor vs the unpadded case.
  6. Pick the padded size that balances resolution improvement with acceptable computation cost.

Use cases

  • Choose an FFT size that avoids spectral leakage errors from non-power-of-2 signal lengths.
  • Improve peak frequency estimation accuracy in audio analysis by interpolating between bins.
  • Select zero-padding ratio for a vibration analysis STFT where bin resolution matters.
  • Quickly find the smallest power-of-2 FFT size that fits a given block length.
  • Compare unpadded vs padded frequency resolution before running a batch spectrum job.
  • Verify zero-padding ratios meet a minimum interpolation factor for a project spec.

Frequently Asked Questions

Last updated: 2026-07-22 · Reviewed by Nham Vu