Digital audio

Samples to Time Converter

Convert a sample count to milliseconds, seconds, and distance at common sample rates.

By AudioLover Editorial Team  |  Published and reviewed October 4, 2026

Enter values

Result

TimeCalculating...
SecondsCalculating...
Sound travel at 20°CCalculating...

Time in seconds equals samples ÷ sample rate. Distance uses approximately 343 metres per second.

Samples and elapsed time

A sample count is only a duration when paired with a sample rate. At 48 kHz, 48,000 samples represent one second; at 96 kHz the same count represents half a second. This relationship is useful for buffers, latency reports, edits, and impulse responses.

Understanding buffer latency

An interface buffer of 256 samples at 48 kHz takes about 5.33 milliseconds for one pass. A monitored signal may cross input and output buffers and incur converter, driver, plug-in, and operating-system delay, so total round-trip latency is larger.

Phase alignment and distance

Converting time to distance gives a practical sense of microphone spacing and acoustic delay. Temperature changes the speed of sound, and reflections do not travel a single direct path, so the distance result is an approximation.

Working accurately

Use the session's real sample rate, not the delivery rate you expect later. DAWs may report samples per channel, while interleaved file storage counts values across channels differently; duration still uses sample frames at the stated rate.

How the calculation works

Time in seconds equals samples ÷ sample rate. Distance uses approximately 343 metres per second.

Related AudioLover reading

More audio tools

Frequently asked questions

Is 512 samples always the same latency?

No. It is about 11.61 ms at 44.1 kHz and 5.33 ms at 96 kHz for one buffer pass.

Does bit depth affect sample duration?

No. Bit depth affects the data stored per sample, not how long a sample represents.