FFT bins are spaced by the sample rate divided by the FFT length. At 48,000 samples per second, a 2,048-point FFT has bins 23.4375 Hz apart. A longer analysis window can help separate steady tones that sit close together. The window type, duration and signal strength also determine what you can distinguish. Extra displayed digits leave the detail in the audio window unchanged.
Calculate the Frequency Grid in Hz
Use bin spacing = sample rate ÷ FFT length. With a 48 kHz analysis rate and a 2,048-point FFT, bin 0 represents 0 Hz, bin 1 represents about 23.44 Hz and bin 2 about 46.88 Hz. Frequency at bin k is k multiplied by the bin spacing. Equal steps in bin index are equal steps in Hz.
| FFT length | Bin spacing at 48 kHz | Window duration if it has the same length |
|---|---|---|
| 512 | 93.75 Hz | 10.67 ms |
| 1,024 | 46.875 Hz | 21.33 ms |
| 2,048 | 23.4375 Hz | 42.67 ms |
| 4,096 | 11.71875 Hz | 85.33 ms |
| 8,192 | 5.859375 Hz | 170.67 ms |
Calculate with the rate of the samples actually analyzed. Browser-decoded audio can be resampled before analysis. Read how sample rate affects spectrogram frequency limits if the rate on your file label and viewer differ.
Separate Bin Spacing From Frequency Resolution
Imagine two steady tones at 440 and 460 Hz. Their separation is 20 Hz. A 2,048-point FFT at 48 kHz samples the frequency axis on a grid roughly 23.44 Hz apart. The two tones can appear as one broad feature, especially with a taper or if one is much quieter. A longer window can make the features easier to separate.
A 4,096-point window at the same rate gives bins about 11.72 Hz apart when the FFT uses 4,096 points. That improves the grid and changes the time span over which the tone is measured. Whether the peaks visibly separate still depends on the window shape, relative amplitudes and background energy.
Check the Nearest Bin Label
At 48 kHz with a 2,048-point FFT, bin 19 is about 445.31 Hz. A 440 Hz tone falls between bin centers. The strongest bin may therefore display a value around 445 Hz even as surrounding bins contain enough information for a better estimate. Some tools refine the estimate using nearby values. Others show the bin center.
The frequency analyzer for inspecting FFT bins is suited to a still comparison. Compare the numerical list with the shape of the peak. The Hann window and spectral leakage guide explains why energy from one tone can appear across multiple neighboring bins.
Compare a Larger Window With Zero Padding
Doubling the FFT length by adding zeros to a 2,048-sample window samples its spectrum on a finer grid. The same audio duration still supports the result. Zero padding can make a curve smoother and help locate a peak on the plot. Capturing 4,096 real samples provides a longer observation, which can improve the separation of steady frequencies.
For a fair comparison, record the window length and FFT length separately. If the display exposes only a setting labeled FFT size, check what it changes. The effect on time depends on how many real samples the window spans, while the spacing depends on the transform length.
Choose Settings Based on the Sound
Start with a long enough window for nearby steady tones or low hum. Try a shorter one to locate a drum hit or a fast sweep. Review both in the spectrogram viewer for frequency detail and compare the same time span. A short event may look wider in frequency but more localized in time.
Changing column spacing can make a moving picture easier to read without changing the duration of each measurement. The guide to hop size and overlap shows how to calculate that spacing. Keep the hop and window choices with your screenshot if someone else needs to reproduce the result.
Save Enough Detail to Repeat the Calculation
Write down the analysis rate, number of real samples and the FFT length. For instance, “48 kHz, 2,048 real samples, 4,096-point transform” identifies both an observation of about 42.67 ms and a grid of about 11.72 Hz. The two values answer different questions about the same graph.
Frequently Asked Questions
Does a bigger FFT always resolve two nearby notes?
It helps when the bigger transform also uses a longer window of real signal. The window type, amplitude difference and noise still matter. A larger FFT obtained only by zero padding gives a finer grid for the same underlying observation.
Why does my 440 Hz tone show a peak near 445 Hz?
The peak label may be the frequency of the nearest available bin. At some sample rates and FFT lengths, 440 Hz falls between bins. Check the analysis rate, spacing and whether the peak list uses interpolation.
Which FFT size should I use for a spectrogram?
Choose a window long enough to inspect the frequency separation you need, then check whether fast changes still appear clearly in time. Use a known example to compare settings. For a steady low tone, a longer window usually reveals more frequency structure than a very short one.