Toolvito

Works on this device

Nyquist Frequency Calculator

Work out the Nyquist frequency, half the sampling rate: the highest frequency a sampled signal can hold. You can also find the sampling rate a signal of a given bandwidth needs, with a margin, and check whether a rate is enough.

Enter your values

The Nyquist frequency is half the sampling rate: the highest frequency a sampled signal can hold.

Your values

Samples per second, such as 44.1 kHz for CD audio or 1 GHz for a fast converter.

Your values are worked out in this browser. They are not sent to a server.

Your result will show here

Fill in the values, then choose Calculate.

How to use this calculator

  1. Choose Nyquist frequency from the sampling rate (or back) and type the sampling rate, the time between samples or the Nyquist frequency.
  2. To plan a system, choose Sampling rate needed for a bandwidth and type the highest frequency and a margin.
  3. To test a rate, choose Is a sampling rate enough for a signal?.
  4. Choose Calculate. The result shows the answer and the working.

The formulas

  • Nyquist frequency: fN = fs ÷ 2. Back: fs = 2 × fN. The time between samples is 1 ÷ fs.
  • Nyquist rate: 2 × B, for a signal with frequencies up to B. The sampling rate must be above it.
  • Rate with a margin m: fs = 2 × B × (1 + m ÷ 100).

Worked examples

  • CD audio is sampled at 44.1 kHz, so its Nyquist frequency is 44.1 ÷ 2 = 22.05 kHz.
  • One sample every 20 µs is 50 kHz, with a Nyquist frequency of 25 kHz.
  • A 20 kHz audio band with a 10% margin needs 2 × 20 × 1.1 = 44 kHz.
  • A signal up to 30 kHz sampled at 48 kHz is too high: the Nyquist frequency is 24 kHz, and 30 kHz shows as 18 kHz.

Limits you should know

  • The sampling theorem assumes a perfect filter before sampling. Real filters need room, so leave a margin.
  • Band-pass (under-) sampling of a band that does not start at 0 Hz is not covered.
  • For the false frequency of any tone, and the filter in front of a converter, use the Aliasing Calculator. For sampling rates from periods, samples per cycle and data rates, use the Sampling Frequency Calculator.

Related tools