Formula & Calculator

Nyquist Sampling Rate

States the minimum sampling rate required to reconstruct a band-limited signal without aliasing.

Digital ElectronicsSampling

Nyquist Sampling Rate Calculator fs ≥ 2·fmax

fs ≥ 2 · fmax
fs = sampling rate (Hz)  ·  fmax = maximum signal frequency (Hz)
⟹ Solve fs, fmax
Hz
Hz
Please fix the errors above.
Solve for:
Presets:
Sampling Rate (fs)
fs: fmax: Ratio (fs/fmax):
✓ Copied!
Nyquist Ratio (fs / fmax)
< 2 (Under‑sampled) = 2 (Nyquist rate) > 2 (Over‑sampled)
fs ≥ 2·fmax  ·  To avoid aliasing, the sampling rate must be at least twice the highest frequency present in the signal.
f_s ≥ 2·f_max
Nyquist Sampling Rate

Variables

SymbolQuantityUnit
f_sSampling frequencyHz
f_maxMaximum signal frequencyHz

What it means

The Nyquist sampling theorem states that to accurately reconstruct a band‑limited signal, it must be sampled at a frequency at least twice the highest frequency component present. The minimum sampling rate is f_s ≥ 2·f_max. If sampling below this rate, aliasing occurs, where high‑frequency components fold into lower frequencies, distorting the signal. This theorem is the basis for digital signal processing, analog‑to‑digital conversion, and audio/video compression. In practice, sampling rates are chosen with a margin above the Nyquist rate (e.g., 44.1kHz for audio with a 20kHz bandwidth). Example: An audio signal with a maximum frequency of 20kHz must be sampled at f_s ≥ 40kHz. The standard CD sampling rate is 44.1kHz, which satisfies Nyquist and provides a margin.

Worked example

Nyquist Sampling – Practical Example

Real‑World
Scenario: You are digitizing an audio signal with a maximum frequency of 20 kHz. What minimum sampling rate is required to avoid aliasing?
ParameterValue
fmax20 kHz
Formulafs ≥ 2·fmax
1fs ≥ 2 × 20 kHz = 40 kHz
2Practical CD quality uses 44.1 kHz, which exceeds Nyquist.
Final Design fs ≥ 40 kHz (use 44.1 kHz) ✓ No aliasing
Why: Nyquist states you must sample at least twice the highest frequency to reconstruct the signal without distortion.

Common mistakes

Watch unit consistency and the assumptions behind the formula; misapplying it outside its valid conditions is the most frequent error.

Applications

Nyquist sampling rate f_s ≥ 2·f_max ensures that a signal can be reconstructed without aliasing. This is a cornerstone of digital signal processing and data acquisition. Engineers use it to set the sampling frequency of ADCs, to design anti‑aliasing filters, and to avoid distortion in digital systems. By adhering to the Nyquist criterion, they can faithfully capture signals. This principle applies to audio, video, sensor data, and many other applications. Understanding the Nyquist rate is essential for any engineer working with sampled data.

  • ADC sampling frequency selection for signal acquisition
  • Anti‑aliasing filter design for data conversion
  • Digital audio and video processing
  • Sensor data acquisition and signal processing
  • Educational understanding of sampling theory