speed of sound temperature calculator
Speed of Sound Temperature Calculator guide
A delay alignment made outdoors on a cold morning can change as the air warms. Use the propagation speed here to translate distance into acoustic arrival time, or enter a tone to find its wavelength under the same conditions.
Play the instrument ↑- Default result
- 343.232 m/s in dry air
Calculation and units
For an ideal gas the local speed is √(γRT). This tool uses γ = 1.4, dry-air gas constant R = 287.05 J/(kg·K), and absolute temperature T = °C + 273.15. Dividing speed by tone frequency gives wavelength in metres.
Worked examples
Select a named case in the Worked example control to load these values. You can then edit any input to compare the result.
Room temperature
Dry-air temperature (°C) = 20 · Tone frequency (Hz) = 1000.
343.232 m/s in dry air. One metre takes 2.913481 ms. At 1000 Hz the wavelength is 0.343232 m.
A one-kilohertz tone has a wavelength near one third of a metre in ordinary indoor air.
Freezing point
Dry-air temperature (°C) = 0 · Tone frequency (Hz) = 1000.
331.3168 m/s in dry air. One metre takes 3.01826 ms. At 1000 Hz the wavelength is 0.3313168 m.
Cooling the same gas lowers its propagation speed while the oscillator keeps emitting the same frequency.
Outdoor winter
Dry-air temperature (°C) = -20 · Tone frequency (Hz) = 100.
318.9567 m/s in dry air. One metre takes 3.135222 ms. At 100 Hz the wavelength is 3.1895672 m.
At a lower tone the wavelength grows, even though colder air slightly reduces wave speed.
Warm venue
Dry-air temperature (°C) = 35 · Tone frequency (Hz) = 1000.
351.9037 m/s in dry air. One metre takes 2.841686 ms. At 1000 Hz the wavelength is 0.3519037 m.
A warm room gives a shorter travel time for the same measurement distance.
High register
Dry-air temperature (°C) = 20 · Tone frequency (Hz) = 10000.
343.232 m/s in dry air. One metre takes 2.913481 ms. At 10000 Hz the wavelength is 0.0343232 m.
Raise the tone by a factor of ten to see its wavelength shrink without changing the speed.
Sub-bass outdoors
Dry-air temperature (°C) = 10 · Tone frequency (Hz) = 40.
337.327 m/s in dry air. One metre takes 2.964483 ms. At 40 Hz the wavelength is 8.4331745 m.
Several metres fit into one cycle, which is useful when estimating low-frequency placement distances.
Interpreting the result
For a measured path length, multiply the displayed milliseconds per metre by the number of metres. A single estimated air temperature works best when conditions are fairly uniform along that path.
For a practical distance check, put two synchronized microphones a known distance apart along a clear propagation path. Estimate the lag of a repeatable broadband transient, then compare it with the expected distance times the displayed travel time per metre. A consistent excess delay may include the time offset of the channels or a reflected arrival. Swap the channels and repeat the measurement to help identify a fixed electronic offset.
For an echo returning from a flat wall, the outgoing and returning paths both contribute. A wall five metres away gives a nominal ten-metre round trip when source and receiver are close together. If the receiver moves away from the source, add the actual source-to-wall and wall-to-receiver distances separately. A temperature reading at one end may be unrepresentative near an open exterior door or above a sunlit surface. Use temperatures along the path when comparing small timing differences.
Measurement and model limits
Humidity, gas composition and temperature gradients affect real propagation. Wind adds a directional effect to travel time relative to the ground. Use a more complete atmospheric model for precision surveying.
Music theory tools → · Quarter Wave Resonator Length Calculator → · NASA derivation of sound speed →
Answers before you play
Common questions
Why convert Celsius to kelvin?
The ideal-gas equation requires absolute temperature. A Celsius value of zero still corresponds to considerable thermal motion.
Does frequency change the reported sound speed?
The dry-air model here is independent of tone frequency. Higher frequencies have shorter wavelengths.
Can I enter water temperature?
This model uses the gas constant and heat-capacity ratio of dry air. Liquid water requires a different speed model.
How do I estimate an echo delay?
Multiply the time per metre by the full travel distance. A pulse reflecting straight back to its source travels twice the one-way distance.