Delay (ms) to Distance (m) Converter
Convert delay time (ms) and distance travelled (m) using temperature. Sample count shown too.
What you enter and what your microphone hears are processed only in this browser. They are not sent to a server or stored. Sound only starts when you press a button. Start at a low volume. Results are for reference only.
Values are calculated only inside this browser and are never sent or stored.
How to use it
- Choose the direction (ms to m, or m to ms).
- Enter a value and, if needed, change the temperature (default 20 °C) and sample rate (default 48000 Hz).
- You get distance (m and ft), delay time and the matching number of samples.
Formulas
distance = speed × time, time = distance ÷ speed. Speed is c = 331.3·√(1 + T/273.15) (T in °C); samples = time × sample rate. The feet conversion uses 1 ft = 0.3048 m (a defined value).
FAQ
How many ms is 1 m?
About 2.914 ms at 20 °C (using this site's speed model). At lower temperatures sound is slower, so the delay is slightly longer.
Can I use it directly for speaker alignment?
It is a reference calculation. Real alignment must be checked by measurement and listening on site; humidity, wind and equipment latency are not included.
Sources and check date
- NIST Special Publication 811, Guide for the Use of the International System of Units, Section 8.7 Logarithmic quantities and units (level, neper, bel)
8.7: L_F = 20 lg(F/F0) dB (field quantity), L_P = 10 lg(P/P0) dB (power quantity); reference level must be stated; example L_p (re 20 uPa) · 2026-11-12 - NASA Glenn Research Center, Beginner's Guide to Aeronautics: Speed of Sound
a = sqrt(gamma R T), T on an absolute scale (Kelvin or Rankine); the page gives no numeric gamma/R · 2026-11-12
Date we opened the official documents ourselves: 2026-11-12. Standards and conventions can differ between references, so read the original again before an important decision.