sample rate alias frequency calculator
Sample Rate Alias Frequency Calculator guide
A sampled synthesizer or measurement rig can show a strong tone at a frequency the source never generated directly. Start with a candidate source tone and the rate of the stage where sampling takes place. The result identifies where that component can appear in a one-sided spectrum of a real-valued signal.
Play the instrument ↑- Default result
- 18000 Hz baseband alias
Calculation and units
First reduce the input frequency modulo the sample rate to a remainder between zero and one sample rate. Then take the smaller of that remainder and its distance from the next multiple of the sample rate. This maps every input onto the interval from DC through half the sample rate. The answer is a frequency magnitude.
Worked examples
Select a named case in the Worked example control to load these values. You can then edit any input to compare the result.
Above the first boundary
Input tone (Hz) = 30000 · Sample rate (Hz) = 48000.
18000 Hz baseband alias. First Nyquist zone: 0–24000 Hz. A real-valued, uniformly sampled tone with no anti-alias attenuation assumed.
The tone is six kilohertz above Nyquist. The folded result lands the same distance below Nyquist. A low-pass input filter would reduce the energy reaching this aliased position.
Inside baseband
Input tone (Hz) = 1000 · Sample rate (Hz) = 48000.
1000 Hz baseband alias. First Nyquist zone: 0–24000 Hz. A real-valued, uniformly sampled tone with no anti-alias attenuation assumed.
The mapping leaves an ordinary in-band frequency unchanged. This check is useful when a spreadsheet accidentally folds every input around Nyquist even before crossing the first boundary.
At Nyquist
Input tone (Hz) = 24000 · Sample rate (Hz) = 48000.
24000 Hz baseband alias. First Nyquist zone: 0–24000 Hz. A real-valued, uniformly sampled tone with no anti-alias attenuation assumed.
Sampling a tone at half the rate can give an alternating sequence whose amplitude depends on phase. The displayed value locates that boundary without predicting the observed level.
At an integer clock multiple
Input tone (Hz) = 96000 · Sample rate (Hz) = 48000.
0 Hz baseband alias. First Nyquist zone: 0–24000 Hz. A real-valued, uniformly sampled tone with no anti-alias attenuation assumed.
After two whole cycles per sample the remainder is zero. The resulting sequence can therefore contribute at DC, with its value set by the phase at the sample instants.
Third-zone example
Input tone (Hz) = 50000 · Sample rate (Hz) = 48000.
2000 Hz baseband alias. First Nyquist zone: 0–24000 Hz. A real-valued, uniformly sampled tone with no anti-alias attenuation assumed.
A tone just above one sample-rate multiple reappears near zero. This result differs from subtracting the input once from the sample rate without taking account of higher zones.
Change the capture rate
Input tone (Hz) = 30000 · Sample rate (Hz) = 44100.
14100 Hz baseband alias. First Nyquist zone: 0–22050 Hz. A real-valued, uniformly sampled tone with no anti-alias attenuation assumed.
The input tone remains fixed while the fold moves. Comparing spectra at two controlled rates can identify likely alias components when the actual source frequency is known independently.
Interpreting the result
A 30 kHz component sampled at 48 kHz lies 18 kHz below the next clock multiple. The sample sequence can therefore contribute a line at 18 kHz. Changing the rate to 44.1 kHz makes that distance 14.1 kHz. Changing the rate in a controlled experiment is one way to distinguish an alias from a stable input tone inside both passbands.
Measurement and model limits
When tracing a harmonic, compute its analog frequency before folding. For example, a high harmonic of a synthesizer may extend above Nyquist even though its fundamental is far below the boundary. Fold each harmonic separately. Several source components may land in the same bin and combine according to their amplitudes and phases.
Music theory tools → · Nyquist Frequency Calculator → · Analog Devices sampled signal reference →
Answers before you play
Common questions
Can the original frequency be recovered from one alias?
Many frequencies produce the same one-sided result. Resolving the source requires more information, such as the analog bandwidth, the expected harmonic series or a second measurement at a different rate.
Does an alias at zero always produce a large DC line?
The sequence is constant for an ideal tone exactly at a clock multiple. That constant depends on sampling phase and can be zero. The calculator predicts the frequency location, while phase, filtering and level determine what a spectrum actually shows.
What is the alias of 44.1 kHz at 48 kHz?
The distance to 48 kHz is 3.9 kHz, which is already within the first Nyquist zone. This identifies the possible spectral location before accounting for analog attenuation.
Does this tell me how much anti-alias filtering I need?
Filter attenuation also depends on signal level, permitted residual error and the analog response. Use this result to locate a possible interference frequency, then evaluate its allowable level separately.