Calculate speaker delay in milliseconds from distance in feet or meters, time-align two speakers, or convert a delay time back to distance and samples.

Typical room temperature 68 °F (20 °C) is filled in; change it for outdoor or hot/cold venues.

Optional settings

Calculator Functions

FunctionWhat it doesWhat it requires
Delay from distanceFinds the time in milliseconds sound takes to travel a distanceRequires the sound-travel distance in feet or meters
Align two speakersFinds the delay that lines up two speakers at one listening position, and which speaker gets itRequires the distance from the main speaker and from the fill speaker to the same listener
Distance from delayConverts a delay time into the distance sound travels in that timeRequires the delay time in milliseconds and a result unit of feet or meters

Every function uses the air temperature, filled in as 68 °F (20 °C) and changeable in either unit, and a sample rate of 48, 44.1, 96 or 192 kHz. Results show the delay in milliseconds and seconds, the whole-sample delay at the chosen rate, the sound speed used and the temperature in °C.

Speaker Delay Formula

D = X ÷ c × 1000 [3]
c = 331.3 + 0.606 × T [1]
DDelay (milliseconds)
XDistance the sound travels (meters)
cSpeed of sound in dry air (m/s)
TAir temperature (°C)

The speed of sound in a gas depends on the gas and its temperature [2], and the linear formula is a rough value for dry air [1]. At 20 °C it gives 343.42 m/s, which is 1,126.71 ft/s. Feet are converted at 0.3048 m, and °F at (°F − 32) × 5 ÷ 9.

Delay from distance

The main formula applies directly. At 68 °F sound takes about 0.89 ms to travel one foot and 2.91 ms to travel one meter, so 100 ft is 88.75 ms and 500 ft is 443.77 ms.

FeetDelay (ms)MetersDelay (ms)
10.8912.91
54.4425.82
108.88514.56
2017.751029.12
2522.191543.68
5044.382058.24
6053.253087.36
10088.7550145.59
200177.51100291.19

The table is for 68 °F (20 °C). Warmer air carries sound faster, so the same distance needs slightly less delay.

Align two speakers

X = |Xmain − Xfill|

Both distances are measured to the same listening position, and the difference between them goes into the main formula. The nearer speaker gets the delay, so its sound arrives together with the sound from the farther one. A main speaker 80 ft from the listener and a fill speaker 30 ft away differ by 50 ft, so the fill speaker is delayed by 44.38 ms at 68 °F. Equal distances need no delay.

Distance from delay

X = D × c ÷ 1000

A delay of 50 ms at 68 °F equals 17.17 m of sound travel, or 56.34 ft.

Delay in samples

N = D × f ÷ 1000

N is the delay in samples and f is the sample rate in Hz. The calculator rounds N to the nearest whole sample for processors that set delay in samples. A delay of 88.75 ms at 48 kHz is 4,260 samples.

Limits of This Estimate

  • The sound speed is a rough dry-air value [1]. Humidity, wind and temperature differences between the speaker and the listener are not modeled, and the formula is less accurate at very hot or cold temperatures. The calculator accepts −80 °C to 80 °C.
  • The result is the geometric delay only. Latency inside a speaker or processor adds to it and has to be measured or taken from the equipment.
  • An alignment is correct at the one listening position that was measured. Other seats have different path differences.
  • Fill speakers are often delayed a few milliseconds more than the geometric figure so the sound still seems to come from the main speakers [3]. The calculator does not add that offset.

Sources

  1. North Carolina State University and Advanced Instructional Systems, Speed of Sound lab manual, Equation 1: speed of sound in dry air as 331.3 + 0.606 × T in m/s, with T in °C
  2. NASA Glenn Research Center, Speed of Sound Interactive: sound speed depends on the type of gas and its temperature
  3. QSC, Sound Advice: Loudspeaker placement part 7, Using delayed loudspeakers: delay as distance divided by the speed of sound times 1000, and the extra few milliseconds for fill speakers