About the Sample Rate Calculator
Nyquist frequency, sample count and buffer latency for a given sample rate.
Also known as: nyquist frequency calculator, audio sample rate, buffer latency calculator, samples per second.
How to use this calculator
- Enter sample rate, buffer size, duration.
- The result updates instantly as you type — press Calculate (or Enter) at any time.
- Review the breakdown shown under the main result.
- Use Copy result or Share to save the answer or send a link with your inputs.
Formula
Nyquist = sample rate ÷ 2 · latency = buffer ÷ sample rate
Worked example
Using the values pre-filled in the calculator above:
- Sample rate: 48 kHz
- Buffer size = 256 samples
- Duration = 3 minutes
the calculator returns:
- Nyquist frequency: 24,000 Hz
- Sample rate: 48,000 Hz
- Buffer latency: 5.333 ms
- Round-trip latency (approx): 10.667 ms