opyeb WaveLab

Guides · Analysis

Signal-to-noise ratio from a spectrum

Basis 28 Nov 2026 · digital signal processing · 6 min read

An FFT does not measure noise directly; it distributes noise across bins. Each bin holds a slice of the total noise power, so the level of any one bin falls as the frame gets longer, even when the noise itself is unchanged. Reading a noise floor without knowing the frame length is meaningless.

SNR = 10·log₁₀(P_signal / P_noise), P_noise ≈ σ² spread over N/2 bins

Two ways to quote SNR

The spectral way needs a noise floor, and this site takes it from the median bin of the frame. Gaussian noise gives Rayleigh-distributed magnitudes whose median sits 0.54 dB below the mean, so the median is corrected before it is spread across all bins. Tone power is the sum of the ±3 bins around each peak, and the ratio is the SNR. The time-domain way compares the RMS of the signal with the RMS of the noise alone, which is what a specification sheet usually means.

Both agree for a pure tone in white noise, but the window decides how low the spectrum can see. With Hann at N = 2048 and noise at −70 dBFS the readout is about 61 dB. Switch to rectangular and it collapses to about 33 dB: the sinc skirt of a −6 dBFS tone is still some 60 dB above the noise floor across the whole band, so the median bin is leakage, not noise. Hamming, whose far side lobes are flatter than Hann's, reads about 50 dB. None of the three is wrong; they are measuring different floors.

Noise settingSignal RMSNoise RMSSNR
−30 dBFS0.395 V0.0316 V21.9 dB
−50 dBFS0.395 V0.00316 V41.9 dB
−70 dBFS0.395 V0.000316 V61.9 dB
−90 dBFS0.395 V0.0000316 V81.9 dB

The table is the definitional ratio. Under the Hann window the studio reads within about 1 dB of these values; under a rectangular window it reads lower because the leakage skirt, not the noise, sets the floor.

Why the readout drifts

A single frame is a short estimate. With 1 024 noise bins the standard deviation of the summed noise power is about 1/√1024 ≈ 3 %, or 0.13 dB, but the signal bins' contribution fluctuates more because there are only a few of them. Expect the last digit to move. Averaging frames, or holding the peak, is how instruments get a stable number.

What limits the useful floor

Three things: the converter's own noise, the window's side lobes, and arithmetic. A −100 dBFS noise setting with a Hann window still shows a skirt around each tone at about −90 dBFS, because the window's side lobes put energy there. Below that, a spectrum says more about the analysis than about the signal. This is why real analysers quote a dynamic range rather than an absolute floor.

In the analyser, set both amplitudes to 0 and the noise to −40 dBFS. The spectrum becomes a flat band, and the 'SNR' readout becomes meaningless — there is no signal. That is the correct interpretation, not a bug.

Practical use

For a recording chain, measure SNR with a known tone at a known level and the input terminated, then compare with the noise alone. For a synthesiser, SNR is mostly a check that dither and quantisation sit where you expect. For this studio, it is a way to see that the noise slider is linear in dBFS while the display's apparent floor moves with N.

Questions

Why does the noise floor drop when I increase N?

The same noise power is spread over more bins, so each bin holds less. The total noise power, and therefore the SNR, does not change.

Is a higher SNR always better?

For measurement, yes. For audio, a very high SNR can come with a noise spectrum the ear finds more annoying than a slightly higher but smoother floor — which is why dither is shaped rather than flat.

Move the noise slider from −110 to −30 dBFS and watch SNR fall in step, one dB per dB.

Open the studio

Written from standard Fourier analysis, digital signal processing and acoustics; the worked numbers can be reproduced in the studio linked above.

Back to the guides