nyquist calculator

Nyquist Rate & Aliasing Calculator

Enter your signal bandwidth to find the minimum sampling rate required by the Nyquist-Shannon criterion. Optionally provide your actual sampling rate and test frequency to see whether aliasing occurs.

Formula used: fs ≥ 2fmax

What is the Nyquist rate?

The Nyquist rate is the minimum sampling frequency required to capture a continuous-time signal without losing information, assuming the signal is band-limited. If your highest signal frequency is fmax, the minimum sampling frequency is:

fs,min = 2fmax

This threshold comes from the Nyquist-Shannon sampling theorem. In practical systems, engineers usually sample above the strict minimum to allow filter roll-off and reduce the risk of aliasing.

How to use this nyquist calculator

Step-by-step

  • Select a unit (Hz, kHz, MHz, or GHz).
  • Enter the highest frequency component in your signal, fmax.
  • Optionally enter your planned sampling frequency, fs.
  • Optionally enter a specific frequency to test how it folds into baseband.
  • Click Calculate to see Nyquist rate, Nyquist frequency, margin, and aliasing status.

Aliasing explained simply

Aliasing happens when your sampling rate is too low. Frequency components above fs/2 are mirrored back into lower frequencies and become indistinguishable from real low-frequency content. This creates distortion that cannot be undone after sampling.

That is why anti-aliasing filters are placed before ADCs (analog-to-digital converters): they suppress content above the Nyquist frequency so higher-frequency energy does not fold into the measured band.

Key outputs from this calculator

1) Minimum sampling frequency

This is the strict Nyquist requirement: 2fmax.

2) Nyquist frequency

Given a selected sampling rate fs, the Nyquist frequency is fs/2.

3) Sampling margin

The margin compares your chosen sampling rate with the minimum required rate. Positive margin means you are above the theorem limit.

4) Aliased frequency estimate

If you test a specific tone, the calculator reports where it appears after sampling (folded into the 0 to fs/2 interval).

Practical design tips

  • Sample above 2x whenever possible (for example, 2.5x to 5x) to relax analog filter requirements.
  • Use anti-alias filtering before the ADC to remove out-of-band energy.
  • Watch clock jitter in high-frequency systems; jitter can degrade effective SNR.
  • Define signal bandwidth correctly; don’t confuse center frequency with highest spectral content.
  • Include harmonics and spurs if they matter to your measurement or control loop.

Example scenarios

Audio

For audio up to 20 kHz, Nyquist says at least 40 kHz sampling. Common standards use 44.1 kHz or 48 kHz for practical headroom and ecosystem compatibility.

Vibration sensing

If a machine monitoring signal includes components up to 2 kHz, your minimum sampling rate is 4 kHz. In many diagnostics systems, 10 kHz or higher is used to improve analysis quality.

RF and IF sampling

In communications, engineers may intentionally use undersampling (bandpass sampling) under strict conditions. That requires careful spectral planning, filtering, and clocking—not just picking any rate below Nyquist.

Common mistakes

  • Sampling exactly at 2x with no guard band.
  • Ignoring non-ideal analog filters near cutoff.
  • Forgetting out-of-band noise and interferers.
  • Assuming digital post-processing can fix aliasing after the fact.

Bottom line

A Nyquist calculator is a fast way to set a safe baseline for ADC design, DSP pipelines, and measurement systems. Use it to determine minimum sampling frequency, then add practical safety margin and filtering for robust real-world performance.

🔗 Related Calculators