AfoliOpen Afoli →

Audio buffer latency

Audio interface latency from buffer size and sample rate.

Fill in any fields — the empty ones are calculated, so it works in every direction.

Open the full calculator →

Formula

latency = buffer / sample rate

Fields and units

Buffer (samples)—
Sample ratekHz
One wayms
Round tripms

Worked example

Given: Buffer (samples) = 256; Sample rate = 48 kHz

Result: One way = 5.33 ms; Round trip = 10.67 ms

How it is calculated

1. Enter the values you know. 2. The calculator converts them to base units and applies the formula. 3. The result is shown in the unit you choose.

Frequently asked questions

How do I calculate it?

Audio interface latency from buffer size and sample rate. Formula: latency = buffer / sample rate. Given: Buffer (samples) = 256; Sample rate = 48 kHz. Result: One way = 5.33 ms; Round trip = 10.67 ms.

Is the calculator free and private?

Yes. It is free, needs no sign-up and runs in your browser — the numbers you type stay on your device.

Related calculators

All calculators

Updated November 20, 2026