How to use this calculator
Correct a normalized FFT bin amplitude for the coherent gain of the window applied to the sampled signal.
- Enter Sum of window coefficients Σw[n], Window sample count N, Normalized FFT-bin amplitude. Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
How this calculation works
Windowing reduces the amplitude of a bin-centered sinusoid by the window’s coherent gain. Dividing an already normalized single-sided bin amplitude by that gain compensates for the window’s amplitude scaling; it does not correct leakage from a non-bin-centered tone.
Inputs and units
sumw— Sum of window coefficients Σw[n]- Sum the actual N coefficients used by the applied window.
n— Window sample count N- Number of samples in the windowed frame.
abin— Normalized FFT-bin amplitude- Single-sided bin magnitude already divided by N, before coherent-gain correction.
Formula
CG = (Σ w[n])/N; corrected sinusoid amplitude = A_bin/CG, where A_bin is the one-sided FFT-bin amplitude already normalized by N.
Method
Enter the sum of the applied window coefficients, the number of samples, and the normalized bin amplitude before coherent-gain correction. The calculator reports the mean coefficient, reciprocal scale factor, and corrected amplitude.
Worked example
For 64 samples whose window coefficients sum to 32, coherent gain is 0.5. A normalized FFT-bin amplitude of 0.4 corrects to 0.8 in the same signal units.
Assumptions and limits
Assumes a bin-centered sinusoid and an FFT magnitude convention already normalized as a single-sided amplitude by the sample count. Different software scaling, DC/Nyquist treatment, complex tones, or spectral leakage require their own corrections. This is distinct from equivalent noise bandwidth.
Frequently asked questions
How is coherent gain different from ENBW?
Coherent gain corrects amplitude for a coherent sinusoid. Equivalent noise bandwidth describes how a window spreads noise power across frequency bins.
Do I need the window coefficients themselves?
This calculator needs their sum and sample count. Window-generation libraries can provide the coefficients; sum those exact coefficients for the chosen length and window convention.
Will this correct a tone between FFT bins?
No. A non-bin-centered sinusoid spreads energy across bins. Peak interpolation or a sinusoidal fit is needed in addition to amplitude scaling.
How do I use the FFT window coherent gain amplitude correction calculator?
Enter Sum of window coefficients Σw[n], Window sample count N, Normalized FFT-bin amplitude. Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of FFT window coherent gain amplitude correction?
For 64 samples whose window coefficients sum to 32, coherent gain is 0.5. A normalized FFT-bin amplitude of 0.4 corrects to 0.8 in the same signal units.
Reference: F. J. Harris, On the Use of Windows for Harmonic Analysis. See our calculation methodology.