Confused about Fourier transform output
The frequencies at FFT output are relative to the input sampling rate fs and the FFT size N. The $k^{th}$ index corresponds to a frequency $k*fs/ N$. Pay attention that values above $N/2$ correspond to negative frequencies