Nyquist frequency and aliasing calculator

Enter a sampling rate and the highest frequency in your signal. The calculator gives the Nyquist frequency, the minimum rate needed to capture the signal, whether it will alias and, if so, the frequency it will appear at after sampling.

Unit
Nyquist frequency fs/222.05 kHz
Nyquist rate 2f (minimum sampling rate)60 kHz
Result
Above fs/2: the tone aliases
Frequency seen after sampling
14.1 kHz
Oversampling ratio fs/2f
0.735
Sample period 1/fs
22.675737 µs

Runs in your browser: nothing you enter is sent anywhere.

How to use it

  1. Enter the sampling rate fs and the signal frequency f (the highest frequency you need to capture).
  2. Choose the unit; both values and all results use it.
  3. Read the Nyquist frequency, the minimum sampling rate for f, whether f aliases and the frequency it appears at.

Formulas

  • Nyquist frequency f_N = fs ÷ 2
  • Nyquist rate 2f; sampling must be faster: fs > 2f
  • Alias f_a = |f − k·fs|, with k = round(f ÷ fs); it always lies between 0 and fs/2
  • Oversampling ratio = fs ÷ 2f; sample period = 1 ÷ fs

Worked example

A 30 kHz ultrasonic tone recorded at the CD rate of 44.1 kHz:

  • Nyquist frequency: 44.1 ÷ 2 = 22.05 kHz, lower than 30 kHz, so the tone aliases.
  • Nyquist rate of the tone: 2 × 30 = 60 kHz.
  • k = round(30 ÷ 44.1) = 1, so the alias is |30 − 44.1| = 14.1 kHz: an audible tone that was never there.
  • Oversampling ratio 44.1 ÷ 60 = 0.735; sample period 22.675737 µs.

Tips

  • Filter before sampling. Once a tone has aliased, nothing after the converter can remove it, because it looks exactly like a real 14.1 kHz tone.
  • Wheels that seem to spin backwards in videos are the same effect: a camera at 24 or 30 frames per second samples the spokes too slowly.
  • Leave margin. Sampling at 2.5 times the highest frequency or more makes the anti-aliasing filter much easier to build than at 2.1 times.

Frequently asked questions

What is the Nyquist frequency?

Half the sampling rate, fs/2. It is the highest frequency a sampled system can represent. CD audio sampled at 44.1 kHz has a Nyquist frequency of 22.05 kHz, just above the range of human hearing.

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

The Nyquist frequency belongs to a sampler: fs/2. The Nyquist rate belongs to a signal: 2f, twice its highest frequency, the rate you must exceed to sample it without aliasing. A 30 kHz tone has a Nyquist rate of 60 kHz.

What is aliasing?

A tone above fs/2 cannot be told apart from a lower one after sampling and shows up at |f − k·fs|, the distance to the nearest multiple of the sampling rate. A 30 kHz tone sampled at 44.1 kHz appears at 14.1 kHz. That is why converters put a low-pass anti-aliasing filter before the sampler.

Is sampling at exactly 2f enough?

No. The sampling theorem needs fs strictly greater than 2f. At exactly 2f a sine can be sampled at its zero crossings and vanish. In practice real systems sample somewhat faster to leave room for the anti-aliasing filter: 44.1 kHz for a 20 kHz audio band, for example.

More in Developer

All tools in this category: Developer ·Updated November 7, 2026

Privacy choices

Google Analytics shows us which tools are used and whether they work. It may set cookies. Your choice is kept in this browser.