Convert samples per second (S/s, kS/s, MS/s) to hertz, or a time period in s, ms or µs to Hz, with the Nyquist frequency and sample interval.

Sampling frequency describes the sampling events, not the signal frequency.

Optional settings

Calculator Functions

FunctionWhat it doesWhat it requires
Sampling frequencyConverts a sampling rate in samples per second, kS/s, MS/s or GS/s to a sampling frequency in hertzRequires the sampling rate
Signal frequency from samples per cycleFinds the frequency of a signal from the sampling rate and the number of samples taken in each cycle of the signalRequires the sampling rate and the samples per signal cycle
Sample rate from signal frequencyFinds the sampling rate that takes a chosen number of samples in each cycle of a signalRequires the signal frequency and the samples per signal cycle
Frequency from a time period (s to Hz)Converts the time between samples or cycles to a frequency in hertzRequires the time period

Sampling rate can be entered in samples/s, kS/s, MS/s or GS/s, signal frequency in Hz, kHz, MHz or GHz, and time period in s, ms, µs or ns. The first three functions also show the time between samples and the Nyquist frequency of the sampler, which is half the sampling rate.

Samples Per Second to Hertz Formulas

fs = S [1]
fsSampling frequency (Hz)
SSampling rate (samples per second)

One hertz is one event per second [1], so a sampling rate in samples per second is already a frequency in hertz: 44,100 samples per second is 44,100 Hz, and 1 Hz is 1 sample per second. This is the frequency of the sampling itself. It is not the frequency of the signal being sampled, which the sampling rate alone cannot give.

Sampling frequency

The number carries over unchanged, and only the prefix needs converting. kS/s to Hz multiplies by 1,000, MS/s by 1,000,000 and GS/s by 1,000,000,000, so 250 kS/s is 250,000 Hz, or 250 kHz, and 1 MS/s is 1 MHz. Going from Hz to samples per second is the same step in reverse: a 48,000 Hz sampling frequency is 48,000 samples per second, or 48 kS/s.

Signal frequency from samples per cycle

f = fs ÷ N

N is the number of samples taken during one cycle of the signal. At 48,000 samples per second, a signal sampled 10 times per cycle has a frequency of 48,000 ÷ 10 = 4,800 Hz.

Sample rate from signal frequency

fs = f × N

Sampling a 1,000 Hz signal 2.5 times per cycle needs 1,000 × 2.5 = 2,500 samples per second. N has to be above 2: a signal with no frequencies above W is fully described only by samples spaced 1/(2W) seconds apart or closer [2], which is a rate of at least twice its highest frequency. The calculator flags a value of exactly 2 as the boundary and anything below 2 as too slow.

Frequency from a time period (s to Hz)

f = 1 ÷ T [1]

T is the time for one sample or one cycle, in seconds. A period of 200 µs is 0.0002 s, so f = 1 ÷ 0.0002 = 5,000 Hz. 1 s is 1 Hz, 100 ms is 10 Hz, 1 ms is 1 kHz and 1 µs is 1 MHz.

Sample interval and Nyquist frequency

Ts = 1 ÷ fs, fN = fs ÷ 2

Ts is the time between samples and fN is the Nyquist frequency, the highest signal frequency the sampler can represent [2]. At 44,100 samples per second the interval is 22.68 µs and the Nyquist frequency is 22,050 Hz.

Limits of This Estimate

  • Samples per second equals hertz only for evenly spaced samples on one channel. When several channels share one converter, the total rate has to be divided by the number of channels first.
  • A rate above twice the signal frequency is a minimum, not a design. Real systems sample faster and use an anti-alias filter, because real signals are never perfectly limited to a band.
  • Signals above the Nyquist frequency are not lost cleanly. They fold back and appear as false lower frequencies in the sampled data.

Sources