Understanding the FFT X Axis
An FFT changes a time signal into frequency bins. The vertical value shows magnitude or phase. The horizontal value is the frequency axis. That axis depends on sample rate and transform length. A correct axis helps you read peaks without guessing.
Why Bin Spacing Matters
Bin spacing is the distance between two neighbor frequency bins. It is found by dividing sample rate by FFT length. A larger transform gives closer bins. A higher sample rate spreads the same number of bins across a wider range. This calculator shows both effects clearly.
One Sided and Two Sided Axes
Real signals often use a one sided spectrum. It starts at zero hertz and ends at the Nyquist frequency. Complex spectra often use two sided output. Positive bins appear first in normal FFT order. Negative bins wrap around at the end. Centered output moves negative bins to the left side.
Using Centered Frequency Values
A centered axis is useful for modulation, radio, vibration, and image analysis. It places zero hertz in the middle after an FFT shift. This view makes negative and positive frequency content easier to compare. The calculator also shows the raw bin that matches each centered bin.
Practical Analysis Tips
Use the real sampling rate from your recorder or simulation. Use the actual FFT length after zero padding. Zero padding can make the plot smoother, but it does not create new signal detail. Check the Nyquist limit before trusting high frequency peaks. Peaks above that limit cannot be represented correctly.
Exporting Results
The generated table can be saved as CSV for spreadsheets. A compact PDF report is also available for review. Exports keep the selected unit, axis mode, and row limit. This makes it easy to reuse the same settings in reports, charts, or quality checks.
When to Use This Tool
Use this calculator before plotting FFT magnitude, phase, or power spectra. It is helpful when labels look shifted, mirrored, or scaled incorrectly. It also helps students understand how DFT indexes relate to real frequencies.
Accuracy Notes
Confirm whether software returns raw, shifted, or half spectrum bins. Different libraries name these choices differently. The math stays stable when sample rate and transform length are correct.