Zero-Padding Helper
Enter your signal length and get the recommended zero-padded FFT sizes with spectral interpolation ratios and frequency resolution.
Use the Zero-Padding Helper
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.
Signal Info
Summary
Zero-padding a signal before an FFT increases the number of output bins without adding new spectral information — it interpolates between the true DFT frequencies, making peaks easier to locate and read. This tool takes your raw signal length, computes the nearest power-of-2 FFT sizes (unpadded, 2x, and 4x padding), and shows the resulting bin count, frequency resolution, and interpolation factor for each option. Enter your sample rate to see resolution in Hz, or leave it blank for normalized values.
How it works
- Enter the number of samples in your signal (its length N).
- Optionally enter the sample rate in Hz to display frequency resolution in Hz.
- Click Calculate. The tool finds the next power of 2 at or above N (the minimum FFT size).
- It also computes 2x and 4x padded lengths (the next two higher powers of 2).
- For each padded length it shows bin count, Δf (or normalized bin spacing), and the interpolation factor vs the unpadded case.
- Pick the padded size that balances resolution improvement with acceptable computation cost.
Use cases
- Choose an optimal power-of-2 FFT size to ensure high computational efficiency for 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.