GestureSynth.me

Music calculator

Sound Delay Distance Calculator

Convert a measured sound delay to one-way distance or to one leg of a round-trip echo.

sound travel distance from time calculator

Sound Delay Distance Calculator guide

Estimate propagation distance from a time difference after isolating the delay caused by travel through air.

Play the instrument ↑
Default result
A 10 ms delay at 343 m/s corresponds to 3.43 m of total travel.

Formula and units

Multiply duration in seconds by sound speed. For a symmetric return path, divide total travel distance by two to estimate one leg. The calculator accepts delay in milliseconds and converts metres to feet.

Worked examples

A 10 ms delay at 343 m/s corresponds to 3.43 m of total travel. The one-way setting returns 3.43 m, while the round-trip setting returns 1.715 m.

A 40 ms delay from a surface reflection corresponds to 13.72 m of acoustic travel in the round-trip model. If the source and receiver are colocated and the reflection retraces the path, the surface is about 6.86 m away.

Establish which arrivals you measured

With two microphones recording the same event, the timing difference describes a difference in path lengths. If one microphone hears a source 4 ms later than the other, the path difference at 343 m/s is 1.372 m. This alone does not locate the source or give either microphone's absolute distance.

A room impulse response can show several strong peaks after the direct arrival. Those peaks may be reflections from different surfaces. Compare their delays relative to the direct arrival. When the source and receiver are separate, a delayed peak represents an excess path length, not automatically twice the distance to the wall.

Account for non-propagation delay

A capture can include buffer, interface, converter and wireless latency as well as sound propagation. If an output trigger precedes a measured acoustic arrival, a loopback measurement can help identify fixed delays from the device chain. Use acoustic timing after subtracting a separately measured fixed term where appropriate.

Sound speed depends on the medium and conditions. At 343 m/s the approximate conversion is 0.343 m per millisecond. Using 330 m/s shifts a 100 ms one-way estimate from 34.3 m to 33 m. Set an appropriate speed for the actual environment for comparisons at longer distances.

Verify your path model before applying the result

For two microphone recordings, take the timestamp of the same clear transient at both positions. A 2 ms difference corresponds to about 0.686 m of travel at 343 m/s. The later arrival is the longer path if both audio channels have the same electronic latency. Swapping the channels or repeating with a close microphone pair can help reveal a device offset that is unrelated to the separation.

For an illustrative wall reflection with source and microphone close together, isolate the first delayed arrival after the direct pulse. A 12 ms gap gives about 4.116 m of extra path, or about 2.058 m in the symmetric approximation. A later reflection from a different surface may fit a different geometry. Confirm wall distances before assigning an arrival to a surface.

The calculator accepts adjustable speed so the estimate can match a known condition. At 340 m/s a one-way 100 ms interval gives 34 m. At 346 m/s it gives 34.6 m. For a fixed 100 ms selection, this difference gives a sense of how strongly the assumed speed matters. If uncertainty in the measured delay is larger than the speed effect, refine time marking before interpreting the smaller distance difference.

Assumptions and limits

The one-way result describes travel distance or a path-length difference. The round-trip estimate assumes equal outgoing and returning paths. Complex geometry needs separate geometry or measurements.

Answers before you play

Common questions

Is the echo path always twice the distance to a surface?

That is a useful model when the source and receiver are close together and the reflection returns along the outgoing route. A source and microphone at separate positions can produce a slanted path with two different lengths.

Can I use this to align two speakers?

Use the result to interpret a measured delay difference in distance units. To calculate a delay setting from two known speaker-to-listener distances, use the linked speaker delay calculator and keep the chosen listening point explicit.

How should I convert sample delay first?

Divide the sample-frame offset by sample rate to get seconds, then multiply by one thousand for milliseconds. For example, 480 frames at 48 kHz are 10 ms per channel.

Does the conversion work in water or another medium?

The expression works for any known propagation speed when the path model is suitable. Enter a speed appropriate to material and conditions. A delay through several media usually needs each segment treated separately.