Nyquist Sampling Rate Calculator

Find the minimum sampling rate needed to capture a signal without aliasing, or the highest frequency a given sampling rate can represent.

📡 Nyquist Sampling Rate Calculator

Nyquist rate = 2 × maximum signal frequency

Hz
20 Hz20,000 Hz
×
10×

Nyquist frequency = sampling rate ÷ 2

Hz
1,000 Hz200,000 Hz
Nyquist rate (minimum)
Recommended sampling rate
Sample period
Nyquist frequency at this rate
Step-by-step working
Nyquist frequency
Sample period
Step-by-step working

📡 What is the Nyquist Sampling Rate?

The Nyquist sampling rate is the minimum rate at which a continuous analog signal must be sampled so that it can be perfectly reconstructed from its digital samples, with no information lost to aliasing. Formalized by Harry Nyquist and Claude Shannon, the sampling theorem states that this minimum rate is exactly twice the highest frequency component present in the signal: fs ≥ 2 × fmax. Sample any slower and distinct frequencies in the original signal become indistinguishable from each other once digitized.

This principle governs every analog-to-digital conversion in modern electronics. Audio engineers use it to choose sampling rates like 44.1 kHz for music or 8 kHz for telephone voice. Instrumentation engineers use it to size the sampling rate of a data acquisition card against the bandwidth of a sensor signal. Radar and communications engineers use it to set analog-to-digital converter (ADC) clock speeds against the widest expected signal bandwidth, and control system designers use it when digitizing feedback sensors.

A common misconception is that the Nyquist rate is a comfortable safety margin. It is not, it is the absolute theoretical minimum, and it assumes a perfect, infinitely sharp anti-aliasing filter that does not exist in real hardware. In practice every real system oversamples beyond the Nyquist minimum, typically by a factor of 2.2 to 10 times, to leave room for a realistic, gradually rolling-off analog filter to attenuate out-of-band energy before it reaches the sampler.

This calculator works in both directions. Give it the highest frequency present in your signal and it returns the Nyquist rate, a practical oversampled rate, and the resulting sample period. Or give it a sampling rate you already have, such as an existing ADC or audio codec, and it returns the Nyquist frequency, the highest signal frequency that hardware can faithfully capture.

📐 Formula

fs  ≥  2 × fmax     fNyquist = fs ÷ 2
fs = sampling rate, in samples per second (Hz)
fmax = highest frequency component present in the signal (Hz)
fNyquist = Nyquist frequency, the highest frequency a sampling rate can represent = fs ÷ 2
Ts = sample period = 1 ÷ fs
Example: if fmax = 4,000 Hz, the Nyquist rate is 2 × 4,000 = 8,000 Hz.

📖 How to Use This Calculator

Steps

1
Choose a mode. Pick 'From Signal Frequency' to find the minimum sampling rate for a known signal, or 'From Sampling Rate' to find what an existing ADC can capture.
2
Enter the inputs. In the first mode enter the maximum signal frequency and an oversampling factor. In the second mode enter the sampling rate.
3
Read the results. Click Calculate to see the Nyquist rate, recommended sampling rate, sample period, and Nyquist frequency with full step-by-step working.

💡 Example Calculations

Example 1 — Telephone Voice Band

Digitizing a 4,000 Hz voice-band signal at the theoretical minimum

1
Nyquist rate = 2 × 4,000 Hz = 8.00 kHz
2
With an oversampling factor of 2, recommended sampling rate = 2 × 4,000 = 8.00 kHz
3
Sample period = 1 ÷ 8,000 Hz = 125.00 µs
Nyquist rate = 8.00 kHz, sample period = 125.00 µs
Try this example →

Example 2 — Designing a CD-Quality Audio Rate

A 20,000 Hz audio signal (full human hearing range) with a 2.205x oversampling factor

1
Nyquist rate = 2 × 20,000 Hz = 40.00 kHz
2
Recommended sampling rate = 2.205 × 20,000 Hz = 44.10 kHz (the actual CD audio standard)
3
Sample period = 1 ÷ 44,100 Hz = 22.68 µs; Nyquist frequency at this rate = 22.05 kHz
Recommended sampling rate = 44.10 kHz, matching real CD audio
Try this example →

Example 3 — Checking a Professional Audio Interface

An audio interface already sampling at 48,000 Hz

1
Nyquist frequency = 48,000 Hz ÷ 2 = 24.00 kHz
2
Sample period = 1 ÷ 48,000 Hz = 20.83 µs
3
Any real-world signal content above 24.00 kHz would alias into the captured audio
Nyquist frequency = 24.00 kHz, sample period = 20.83 µs
Try this example →

❓ Frequently Asked Questions

What is the Nyquist sampling rate?+
The Nyquist rate is the minimum sampling rate needed to fully reconstruct a signal without aliasing, equal to twice the highest frequency component in the signal (fs >= 2 x fmax). A signal with a 4 kHz maximum frequency needs at least 8,000 samples per second to be captured without information loss.
What is the Nyquist frequency?+
The Nyquist frequency is half the sampling rate (fs / 2). It is the highest frequency that a given sampling rate can represent without aliasing. A 44.1 kHz sampling rate has a Nyquist frequency of 22.05 kHz, which is why CD audio can faithfully reproduce sound up to that frequency.
Why is the Nyquist rate exactly 2 times the maximum frequency?+
Sampling theory shows that at least two samples per cycle are needed to unambiguously reconstruct a sine wave's frequency. Sampling at fewer than 2 samples per cycle makes the true frequency indistinguishable from a lower alias frequency, so 2x is the mathematical minimum, not a rule of thumb.
Why do real systems oversample beyond the Nyquist minimum?+
Sampling exactly at the Nyquist rate requires a perfect brick-wall anti-aliasing filter, which is physically impossible to build. Real analog filters roll off gradually, so engineers oversample by a factor of 2.2 to 10x to leave a transition band where the filter can attenuate frequencies before they alias.
What sampling rate does CD audio use and why?+
CD audio samples at 44,100 Hz. Human hearing tops out around 20 kHz, so the Nyquist minimum would be 40,000 Hz; 44.1 kHz adds roughly 10% headroom for a practical anti-aliasing filter. The exact figure was also chosen because it fit the video-tape recording equipment used to master early CDs.
What happens if I sample below the Nyquist rate?+
Sampling below the Nyquist rate causes aliasing: frequency components above the Nyquist frequency fold back and appear as false, lower-frequency signals mixed into your data. This corruption is permanent and cannot be filtered out after the fact, so the sampling rate must be set correctly before capture.
How do I choose an oversampling factor?+
A factor of 2.0 is the bare mathematical minimum and requires an ideal filter. A factor of 2.2 to 2.5 is common for good analog anti-aliasing filters. Audio and instrumentation systems often use 4 to 10x oversampling combined with digital decimation filters, which relaxes the analog filter requirement significantly.
What is the sample period and how does it relate to sampling rate?+
The sample period is the time between consecutive samples, equal to 1 divided by the sampling rate. A 44,100 Hz sampling rate gives a sample period of about 22.68 microseconds. Lower sample periods (higher sampling rates) capture faster-changing signals but generate more data to store or process.
Does a higher sampling rate always mean better quality?+
Only up to the point where it exceeds twice the highest frequency actually present in the signal. Sampling well beyond that point captures no additional information about the original signal, just larger files and more processing load, though it can still ease anti-aliasing filter design.
Is the Nyquist rate the same as the sampling rate?+
No. The Nyquist rate is the minimum required sampling rate for a given signal (2 x fmax). The sampling rate is whatever rate a system actually uses, which should be at or above the Nyquist rate. The Nyquist frequency is a third related term: half of whatever sampling rate is actually chosen.

What is the Nyquist sampling rate?

The Nyquist rate is the minimum sampling rate needed to fully reconstruct a signal without aliasing, equal to twice the highest frequency component in the signal (fs >= 2 x fmax). A signal with a 4 kHz maximum frequency needs at least 8,000 samples per second to be captured without information loss.

What is the Nyquist frequency?

The Nyquist frequency is half the sampling rate (fs / 2). It is the highest frequency that a given sampling rate can represent without aliasing. A 44.1 kHz sampling rate has a Nyquist frequency of 22.05 kHz, which is why CD audio can faithfully reproduce sound up to that frequency.

Why is the Nyquist rate exactly 2 times the maximum frequency?

Sampling theory shows that at least two samples per cycle are needed to unambiguously reconstruct a sine wave's frequency. Sampling at fewer than 2 samples per cycle makes the true frequency indistinguishable from a lower alias frequency, so 2x is the mathematical minimum, not a rule of thumb.

Why do real systems oversample beyond the Nyquist minimum?

Sampling exactly at the Nyquist rate requires a perfect brick-wall anti-aliasing filter, which is physically impossible to build. Real analog filters roll off gradually, so engineers oversample by a factor of 2.2 to 10x to leave a transition band where the filter can attenuate frequencies before they alias.

What sampling rate does CD audio use and why?

CD audio samples at 44,100 Hz. Human hearing tops out around 20 kHz, so the Nyquist minimum would be 40,000 Hz; 44.1 kHz adds roughly 10% headroom for a practical anti-aliasing filter. The exact figure was also chosen because it fit the video-tape recording equipment used to master early CDs.

What happens if I sample below the Nyquist rate?

Sampling below the Nyquist rate causes aliasing: frequency components above the Nyquist frequency fold back and appear as false, lower-frequency signals mixed into your data. This corruption is permanent and cannot be filtered out after the fact, so the sampling rate must be set correctly before capture.

How do I choose an oversampling factor?

A factor of 2.0 is the bare mathematical minimum and requires an ideal filter. A factor of 2.2 to 2.5 is common for good analog anti-aliasing filters. Audio and instrumentation systems often use 4 to 10x oversampling combined with digital decimation filters, which relaxes the analog filter requirement significantly.

What is the sample period and how does it relate to sampling rate?

The sample period is the time between consecutive samples, equal to 1 divided by the sampling rate. A 44,100 Hz sampling rate gives a sample period of about 22.68 microseconds. Lower sample periods (higher sampling rates) capture faster-changing signals but generate more data to store or process.

Does a higher sampling rate always mean better quality?

Only up to the point where it exceeds twice the highest frequency actually present in the signal. Sampling well beyond that point captures no additional information about the original signal, just larger files and more processing load, though it can still ease anti-aliasing filter design.

Is the Nyquist rate the same as the sampling rate?

No. The Nyquist rate is the minimum required sampling rate for a given signal (2 x fmax). The sampling rate is whatever rate a system actually uses, which should be at or above the Nyquist rate. The Nyquist frequency is a third related term: half of whatever sampling rate is actually chosen.