How do you calculate frequency bins in FFT?
FFT bins and bin width
The FFT provides amplitude and phase values for each bin. The bin width is stated in hertz. The bin width can be calculated by dividing the sample rate by the FFT length; or by dividing the bandwidth by the number of bins (which is equal to 1/2 the FFT length).
How many frequency bins are generated by the FFT?
FR = Fmax/N(Bins)
With a 1024 FFT size, we divide this band into 512 bins.