FFT Bin Resolution Calculator

Bin width, duration, and frequency resolution for an FFT.

Calculator Electronics Updated Apr 18, 2026
How to Use
  1. Enter sample rate and FFT size N.
  2. Δf = fs/N. Capture time = N/fs.
Input
Hz
Presets
Spectrum Bins
Δf
Capture
fmax
Bins

Show Work

Enter values to see the FFT bin properties.

Formulas

Bin Width
Δf = fs / N
Frequency resolution.
Capture Time
T = N / fs
Longer window → finer Δf.
Bin k Frequency
fk = k × Δf
k = 0 to N/2.
Max Frequency
fs/2 (Nyquist)
Aliases above this.
Usable Bins
N/2 + 1
Real-input FFT is conjugate-symmetric.
Windowing
Hann, Blackman, Kaiser...
Trade main-lobe width for side-lobe level.

History of FFT Bin Analysis

The FFT\'s bin structure — N output values corresponding to frequencies 0, fs/N, 2fs/N, ... — falls directly out of the Cooley-Tukey algorithm published in 1965. Each bin is the magnitude of the complex coefficient at that specific integer multiple of 1/T where T = N/fs is the window duration. Signals whose frequency doesn\'t land exactly on a bin center "leak" energy into neighboring bins — the famous spectral leakage problem.

Windowing functions (Hann 1946, Hamming 1970, Blackman-Harris 1978, Kaiser 1966) trade main-lobe width for side-lobe suppression to manage leakage. Rectangular (no window) has the narrowest main lobe but worst side lobes (−13 dB first side lobe). Hann gives a good balance (−32 dB side lobes, 1.5× wider main lobe). Blackman-Harris achieves −92 dB side lobes at the cost of 2× main lobe width.

Modern practice: for waveforms known to have content at exactly one bin frequency, no window is needed. For arbitrary signals or spectrum surveys, Hann is the default; Blackman-Harris or Kaiser when side-lobe rejection matters more than main-lobe width. Every DSP library and spectrum-analyzer firmware implements a selection of these, chosen from a menu.

About This Calculator

Enter sample rate and FFT size. The tool returns bin width Δf, capture window duration T, the maximum meaningful frequency (Nyquist = fs/2), and the number of useful bins (N/2 + 1).

Use these numbers for: sizing FFT buffers in firmware, designing oscilloscope FFT display parameters, sizing SDR waterfall displays, and matching FFT resolution to signal requirements (audio ~10 Hz bins, precision measurement ~1 Hz, RF wideband ~1 kHz). All math runs client-side.

Frequently Asked Questions

Why power of 2?

Classic Cooley–Tukey FFT is fastest at N = 2ᵏ.

Leakage?

A sinusoid not on a bin center smears across neighbors — windowing reduces it.

Common Use Cases

Audio Analyzer

48 kHz, 4096 → 11.7 Hz bins.

RF SDR

2 Msps, 65536 → 30.5 Hz bins.

Last updated: