Sampling Rate Calculator
Enter a sampling rate or signal frequency to get the Nyquist rate, sampling period, and aliasing thresholds for DSP design.
Use the Sampling Rate Calculator
Sampling Parameters
Quick Presets
Enter at least one value and press Calculate
Sampling Period (T)
—
T = 1 / fs
Max Representable Freq.
—
fNyquist = fs / 2
Min. Sampling Rate
—
fs,min = 2 × fmax
Max. Sampling Period
—
Tmax = 1 / fs,min
Aliasing Analysis
Formula Reference
Summary
The Sampling Rate Calculator helps engineers and students determine the correct sampling parameters for digital signal processing (DSP) systems. Enter either a known sampling rate to find the sampling period and maximum representable frequency, or enter a signal frequency to compute the minimum required sampling rate (Nyquist rate). An optional aliasing check compares your actual sampling rate against the Nyquist criterion and reports the oversampling margin.
How it works
- Choose your input mode: enter a sampling rate or a signal frequency.
- Type the frequency value and select the unit (Hz, kHz, MHz, or GHz).
- The calculator applies the Nyquist-Shannon theorem: f_s,min = 2 × f_max.
- Sampling period T is computed as T = 1 / f_s.
- Maximum representable frequency is f_max = f_s / 2 (the Nyquist frequency).
- Optionally enter both values to check whether aliasing will occur.
Use cases
- Selecting an ADC sampling clock for audio, RF, or sensor applications.
- Verifying that a data-acquisition system captures all relevant signal content.
- Computing the sampling period for microcontroller timer configuration.
- Checking whether a proposed sampling rate satisfies the Nyquist criterion.
- DSP coursework: exploring the relationship between sample rate and bandwidth.
- Oscilloscope setup: confirming sample rate is sufficient for the measured signal.
- Medical devices: sizing ECG or EEG digitizer clocks for clinical bandwidth.
- Communications: calculating IF sampling requirements for software-defined radio.