Nyquist Sampling Rate Calculator: Minimum fs & Oversampling

Nyquist Sampling Rate Calculator

Find the minimum sampling frequency for any signal using the Nyquist theorem, where the Nyquist rate equals two times the highest frequency component. Compute the Nyquist folding frequency at half the sampling rate, the oversampling ratio, and a recommended sampling rate with a guard band for anti-alias filter roll-off, or check whether a chosen fs is adequate.

🔊Choose a Mode

🎯Real Signal Presets

📝Signal & Sampling Inputs

Highest frequency component present in the signal.

Unit applied to the maximum frequency above.

The sample rate you plan to use, for checking or fs/2.

Unit applied to the sampling rate above.

Extra headroom above 2 x f_max for filter roll-off.

A tone of interest, in the same unit as f_max.

Resolution per sample, used for the data rate.

1 for mono, 2 for stereo, more for arrays.

Controls rounding on every result card.

Nyquist Rate (min fs) 0 Hz 2 x f_max, the theoretical floor
Nyquist Frequency (fs/2) 0 Hz folding frequency of chosen fs
Oversampling Ratio 0x fs / (2 x f_max)
Recommended fs 0 Hz 2 x f_max with guard band

🔢Formula Snapshot

2 fNyquist rate
fs / 2Nyquist freq
fs / 2fOversample
2.2 fRule of thumb

📋Max Frequency to Nyquist Rate

Max Frequency f_maxNyquist Rate = 2 f_maxCommon Practical fsReads As
50 Hz100 Hz128 HzSlow biosignal
500 Hz1 kHz1.25 kHzVibration sensor
3.4 kHz6.8 kHz8 kHzTelephone voice
15 kHz30 kHz32 kHzFM baseband
20 kHz40 kHz44.1 kHzHearing limit
22.05 kHz44.1 kHz48 kHzStudio audio
100 kHz200 kHz250 kHzSonar ping
1 MHz2 MHz2.5 MHzRF IF stage
5 MHz10 MHz12.5 MHzUltrasound

📊Oversampling Ratio Guide

Ratio fs / 2 f_maxStatusFilter EffortTypical Use
Below 1.0AliasingImpossibleUnder-sampled, avoid
1.0 exactlyCriticalBrick wallTheoretical limit only
1.1TightVery steepBandwidth limited links
2.2 to 2.5ComfortableGentle roll-offMost audio and DAQ
4 to 8RelaxedSimple filterDelta-sigma converters
16 to 64HeavyDigital decimationHigh resolution ADCs
256 and upExtremeTrivial analogAudiophile DACs

🎵Standard Sampling Rate Comparison Grid

Standard fsNyquist fs/2Usable f_maxBit DepthChannelsData Rate
8 kHz4 kHz3.4 kHz8 bit164 kbit/s
16 kHz8 kHz7 kHz16 bit1256 kbit/s
32 kHz16 kHz15 kHz16 bit21.02 Mbit/s
44.1 kHz22.05 kHz20 kHz16 bit21.41 Mbit/s
48 kHz24 kHz22 kHz24 bit22.30 Mbit/s
96 kHz48 kHz45 kHz24 bit24.61 Mbit/s
192 kHz96 kHz90 kHz24 bit29.22 Mbit/s
2.5 MHz1.25 MHz1 MHz12 bit130 Mbit/s
12.5 MHz6.25 MHz5 MHz12 bit1150 Mbit/s

📏Frequency Unit Conversions

UnitEqualsIn HertzNote
1 Hz1 cycle/s1 HzBase unit
1 kHz1000 Hz1000 HzKilohertz
1 MHz1000 kHz1000000 HzMegahertz
1 GHz1000 MHz1000000000 HzGigahertz
1 rad/s0.159 Hz0.159155 HzDivide by 2 pi
1 rpm0.0167 Hz0.016667 HzCycles per minute

Formula Breakdown

Nyquist rate = 2 f_maxThe minimum sampling frequency that avoids aliasing. A 20 kHz top frequency needs at least 2 x 20000 = 40000 Hz, or 40 kHz.
Nyquist frequency = fs / 2Also called the folding frequency. At fs = 44100 Hz the highest frequency captured cleanly is 44100 / 2 = 22050 Hz.
Oversampling = fs / (2 f_max)How much headroom the chosen rate has. A ratio above 1 satisfies Nyquist; 44100 / (2 x 20000) = 1.10.
Recommended fs = 2 f_max (1 + g)Adds a guard band g for filter roll-off. With g = 10%: 2 x 20000 x 1.10 = 44000 Hz, close to the 44.1 kHz standard.
Samples per period = fs / f_sigHow many samples land on one cycle of a tone. At fs = 44100 Hz a 1 kHz tone gets 44100 / 1000 = 44.1 samples.
Data rate = fs x bits x channelsRaw bit stream size. 44100 x 16 x 2 = 1411200 bit/s, the classic 1.41 Mbit/s CD figure.
Alias if fs < 2 f_maxUnder-sampling folds high tones down to false low frequencies, which cannot be undone after capture.

💡Practical Sampling Tips

Why 44.1 kHz for 20 kHz audio: Human hearing tops out near 20 kHz, so the Nyquist rate is only 40 kHz. Real anti-alias filters cannot cut infinitely fast, so the CD standard adds a guard band and samples at 44100 Hz. That gives a 2205 Hz transition region between 20 kHz and the 22050 Hz Nyquist frequency for the filter to roll off.
Always filter before you sample: An oversampling ratio above 1 only helps if energy above the Nyquist frequency is removed first. Place an analog anti-alias low-pass filter ahead of the converter set below fs/2. Sampling a 30 kHz tone at 44100 Hz without filtering folds it to a phantom 14100 Hz tone, since 44100 minus 30000 equals 14100 Hz.

But then you connect it to an analog-to-digital converter. Your pretty analog signal gets converted to an ugly digital one. There’s all this nuance and detail, and now there are these jagged stair steps of a waveform. And then whole incorrect frequencies materialize out of thin air! That’s when the Nyquist theorem goes from abstract math to something with real-world consequences: the difference between useless data and a useable recording.

The math gets done for you by the calculator above. You can concentrate on whether or not your hardware decisions makes any sense. It knows your highest frequency. It converts it to a tangible lowest sampling rate. Knowing what it is is every bit as important than understanding why it is.

How to Pick the Right Sampling Rate

It’s simple enough to stick on a sticky note. You must sample at twice or more than the highest frequency in your signal. If your audio tops out at 20 kilohertz, you want a sampling rate above 40 kilohertz. That’s called the Nyquist rate. Go below it and aliasing happens.

Higher frequencies will fold back into the audible range. They sound like a phantom tone. It was a tone that was never there to begin with. And once they’re caught, they can’t be filtered out later. Now they’re just real signal data. Anything that tries to cross the mirror of its folding frequency, which is half your sampling rate, bounces back down the other side. Everything that wants to cross over folds back down the other side.

So for all digital systems, knowing your bandwidth limit is the first step in designing anything. Theoretically speaking, it’s rare that this are practical. In the real world, there isn’t some magical wall when signals cross frequencies. The signal fades gradually over time. And if you sample a signal at precisely 20 kilohertz, but your sampling rate is only 40 kilohertz, then your filter would of gone from 100% down to 0% immediately. That’s just not possible with normal components.

That’s why the tool recommends a guard band and offers an oversampling ratio. One means you’re on the edge, exactly. Two or more means you’ve got some breathing room for your analog component. The recommended rate is a percentage above theoretical floor as a safety margin. Ten percent is a good place to start. This allows the filter to work within a transition zone. It gives the filter time to work without getting too close to the signal near the cutoff.

There are always tradeoffs with a standard rate. When recording compact disc audio, we use 44100 Hertz. Our content goes up to 20 kilohertz. That means there’s only about two kilohertz of headroom left before the anti-alias filter fades off. To achieve a gentler slope, studio systems jumps up to 48 kilohertz or better. Telephone voice is just 3.4 kilohertz or so and sampled at 8 kilohertz. It fits easily in available transmission slots without wasting bandwidth.

Every application has its own balance of fidelity, cost, and storage. Ultra-high fidelity audio may go as high as 192 kilohertz in order to push the quantization noise way out of band. Medical sensors that sample heart rates don’t need ultra high frequency response as much as they do stability. You can toggle between these modes on the calculator. It will show you where your particular signal falls within commonly used standards.

You might be tempted to double your sample rate and go on about your business, but when you check the next column, the data rate column, higher numbers start to raise some red flags. If you double the number of samples, you double the amount of work for your processor and double the amount of space required to store results. It demands more from your memory buffers and more from your converters.

You probably won’t need those high rates for a sensor that takes slow changing temperature measurements. You will if you’re creating ultrasound images, or sending out radar pulses, where each microsecond matters. The channel count and bit depth quickly compound this impact. At 16-bits per sample with two channels at 44,100 samples per second, that’s more than a million bits per second. That’s what you pay for clarity.

You’re not looking for max; you are looking for good enough. Let the tool tell you where that is. Find that sweet spot where your signal sits comfortabley just below the fold point. Give your filter some space to operate. Compare your selected rate with the Nyquist limit. Inspect carefully for any aliases hiding in the background. A little breathing room is a long ways from having dirty data.

Once you know how fast your sampling clock ticks relative to the highest end of your signal, those jags goes away. Those stairs step back down to reveal the original curve once more. You’ve caught the signal’s real form, free from the noise of poor design.

Nyquist Sampling Rate Calculator: Minimum fs & Oversampling