Sampling Rate Calculator (Nyquist)

Choose how fast to sample a sensor so you capture the frequencies you care about, and see how much data that produces.

Nyquist minimum
Recommended rate
Raw data rate
Per day (raw)

Runs entirely in your browser. Nothing you enter is sent anywhere.

How it works

The Nyquist theorem says you must sample at more than twice the highest frequency in the signal to represent it. Anything above half the sampling rate folds back as a false lower frequency (aliasing), so an anti-aliasing filter should remove it before the ADC.

In practice you sample faster than the theoretical minimum. Vibration and FFT analysers commonly use 2.56× the maximum frequency, and capturing waveform shape in the time domain often needs 5–10×.

f_min = 2 × f_max
f_s = k × f_max  (k ≈ 2.56 for FFT analysis)
Data rate = f_s × bits × channels

Worked example

To analyse vibration up to 5 kHz, the theoretical minimum is 10 kHz. At the usual 2.56× that's 12.8 kHz. Three 16-bit axes then produce 12,800 × 16 × 3 = 614.4 kbit/s, about 4.6 GB per day if streamed raw, which is why edge devices compute features instead.

Frequently asked questions

What happens if I sample too slowly?

Frequencies above half the sampling rate alias: they appear as lower frequencies that weren't in the original signal, and no software can separate them afterwards.

Why 2.56 instead of 2?

Real anti-aliasing filters can't cut off instantly, so a margin above 2× leaves room for the filter's roll-off. 2.56 also gives convenient FFT line counts (e.g. 1024 samples → 400 lines).

Related tools