InfyCalculator
💻

Nyquist Frequency & Aliasing Calculator

Find the Nyquist frequency of a sampling rate, the minimum sampling rate for a signal, and the alias frequency a too-high signal folds down to, with the Nyquist zone and oversampling ratio.

Sampling rate
Sampling rate unit
Signal frequency
Signal frequency unit
Loading calculator…

How it works

Nyquist frequency f_N = f_s ÷ 2 · minimum sampling rate = 2 × f_max · alias frequency = |f − f_s × round(f ÷ f_s)| · Nyquist zone = ⌊f ÷ f_N⌋ + 1 · oversampling ratio = f_s ÷ (2 f)

The Nyquist–Shannon sampling theorem says a signal can be rebuilt from its samples only if it contains no frequencies at or above half the sampling rate, the Nyquist frequency. Anything higher folds back (aliases) into the 0 to f_N band and becomes indistinguishable from a real low-frequency tone, which is why ADCs sit behind an anti-aliasing low-pass filter. In practice designers sample at 2.2 to 10 times the highest frequency of interest so the filter has room to roll off.

Worked example

Audio sampled at 44.1 kHz has a Nyquist frequency of 22.05 kHz. A 30 kHz tone is above it, so it needs at least 60 kHz sampling; at 44.1 kHz it folds to |30 − 44.1| = 14.1 kHz, an audible alias in Nyquist zone 2. The sampling period is 22.68 µs.

Sources: Analog Devices — MT-002: What the Nyquist Criterion Means to Your Sampled Data System Design · Wikipedia — Nyquist–Shannon sampling theorem

Frequently asked questions

What is the Nyquist frequency?

Half the sampling rate. It is the highest frequency a sampled system can represent without aliasing: 22.05 kHz for CD audio at 44.1 kHz, 24 kHz for 48 kHz audio.

What is the difference between the Nyquist rate and the Nyquist frequency?

The Nyquist frequency is a property of the sampler (f_s ÷ 2). The Nyquist rate is a property of the signal: twice its highest frequency, the minimum sampling rate needed to capture it.

How do I calculate an alias frequency?

Subtract the nearest integer multiple of the sampling rate from the signal frequency and take the absolute value. A 70 MHz signal sampled at 100 MS/s appears at |70 − 100| = 30 MHz.

Is sampling at exactly twice the frequency enough?

No. At exactly 2f the samples can land on the zero crossings and miss the signal entirely; you need strictly more than 2f, and real anti-aliasing filters need a margin of 10% or more.

Related calculators

This calculator is for educational purposes. Double-check important results before acting on them.