FFT frequency resolution calculator

Enter the sample rate and the FFT size to see how far apart the frequency bins are, how long one frame lasts and how many useful bins you get. Enter a bin number to find its frequency, and a target resolution to find the FFT size — rounded up to a power of two — that reaches it.

Hz
Hz
Frequency resolution Δf = fs/N11.71875 Hz
Frame duration N/fs85.3333 ms
Bins from 0 Hz to fs/2
2,049
Highest bin (Nyquist) fs/2
24,000 Hz
Frequency of bin k
1,171.875 Hz
Samples needed for the wanted resolution
48,000
FFT size, next power of two
65,536
Resolution at that size
0.732422 Hz

Runs in your browser: nothing you enter is sent anywhere.

How to use it

  1. Enter the sample rate in Hz and the FFT size N.
  2. Enter a bin number to see its frequency (0 is DC, N/2 is the Nyquist bin).
  3. Enter the resolution you need to see the smallest frame and the power-of-two FFT size that gives it.

Formulas

  • Δf = fs ÷ N
  • Frame duration T = N ÷ fs (= 1 ÷ Δf)
  • Distinct bins of a real signal: N ÷ 2 + 1
  • Frequency of bin k: f_k = k × Δf
  • Samples needed for a resolution Δf: N ≥ fs ÷ Δf, then rounded up to a power of two for radix-2 FFTs

Worked example

Audio at 48,000 Hz with a 4096-point FFT:

  • resolution: 48000 ÷ 4096 = 11.71875 Hz;
  • frame duration: 4096 ÷ 48000 = 85.3333 ms;
  • bins from 0 Hz to 24,000 Hz: 4096 ÷ 2 + 1 = 2,049;
  • bin 100 is at 1,171.875 Hz;
  • for 1 Hz resolution you need 48000 ÷ 1 = 48,000 samples — one second — so the FFT size becomes 65,536, with bins 0.732422 Hz apart.

Tips

  • Time vs frequency is a trade-off. A long frame gives sharp frequencies but blurs when things happen; spectrograms usually use 1024–4096 samples for audio.
  • Use a window. Multiply the frame by a Hann or Blackman window before the FFT to cut leakage from tones between bins.
  • The highest frequency you can see is fs ÷ 2; see the Nyquist calculator for aliasing.

Frequently asked questions

What is the frequency resolution of an FFT?

The spacing between neighbouring bins, Δf = fs ÷ N: the sample rate divided by the number of samples in the frame. At 48 kHz, a 4096-point FFT has bins 11.71875 Hz apart. It equals 1 ÷ frame duration, so finer resolution always needs a longer piece of signal.

How many frequency bins does an FFT have?

N bins in total, but for a real signal the upper half mirrors the lower half. The distinct ones are bins 0 to N ÷ 2 — that is N ÷ 2 + 1 bins from 0 Hz (DC) up to the Nyquist frequency fs ÷ 2.

Does zero-padding improve resolution?

It makes the bins closer together and the spectrum look smoother, but it adds no information: two tones closer than about 1 ÷ (real signal duration) still cannot be told apart. True resolution needs more real samples.

What is the frequency of bin k?

f = k × fs ÷ N. With fs = 48,000 Hz and N = 4096, bin 100 is at 100 × 11.71875 = 1,171.875 Hz. A tone between two bin frequencies leaks into both — window functions such as Hann reduce that leakage.

More in Developer

All tools in this category: Developer ·Updated November 7, 2026

Privacy choices

Google Analytics shows us which tools are used and whether they work. It may set cookies. Your choice is kept in this browser.