The Patchbay_

Sample Rate & Buffer Size Latency Calculator

Your audio buffer size sets how much latency the system adds: latency = buffer ÷ sample rate. Pick a sample rate to see what each buffer size costs, one way and round-trip. (Real round-trip latency adds a little more for AD/DA conversion and drivers.)

Buffer sizeOne-wayRound-trip (≈)

Buffer sizes are usually chosen in your DAW or audio interface settings. Smaller = lower latency but more CPU load and risk of dropouts.

How it works

Buffer latency is the time it takes to fill one buffer of samples, and it is pure arithmetic.

latency (ms) = buffer size (samples) / sample rate (Hz) × 1000

round trip ≈ input buffer + output buffer + converter latency

A round trip is at least twice the buffer figure, plus whatever your interface's converters add — typically another 1–2 ms that no setting will remove.

Worked example

In practice

Related

Audio file formatsAudio file size calculatorpython-sounddevice