Speed of sound calculator

Choose air or another medium and, for gases, enter the temperature. The calculator gives the speed of sound in m/s, km/h, mph and ft/s, and either the time sound takes to cover a distance or the distance from a delay, such as between lightning and thunder.

Temperature unit
Also calculate
Distance unit
Speed of sound343.21 m/s
In km/h
1,235.6 km/h
In mph
767.7 mph
In ft/s
1,126 ft/s
Travel time
2.9136 s

Runs in your browser: nothing you enter is sent anywhere.

How to use it

  1. Choose the medium. For air, helium, hydrogen and oxygen, enter the temperature.
  2. Choose whether to find the travel time over a distance or the distance from a delay.
  3. Enter the distance or the delay in seconds.
  4. Read the speed in four units and the time or distance.

Formula and values

For gases the speed is taken at 0 °C and scaled with temperature like an ideal gas:

v = v₀ × √(1 + T ÷ 273.15), with v₀ = 331.3 m/s for dry air, 972 m/s for helium, 1286 m/s for hydrogen and 317 m/s for oxygen.

Liquids are taken at about 25 °C and solids as longitudinal waves in bulk material, with typical textbook values: water 1493 m/s, sea water 1533 m/s, mercury 1450 m/s, glycerol 1904 m/s, rubber 1600 m/s, lead 1960 m/s, gold 3240 m/s, copper 5010 m/s, Pyrex glass 5640 m/s, iron 5950 m/s and aluminium 6420 m/s. Real samples vary with composition and temperature.

Worked example

Air at 20 °C: v = 331.3 × √(1 + 20 ÷ 273.15) = 331.3 × 1.03596 = 343.21 m/s, or 1,235.6 km/h. Sound takes 1000 ÷ 343.21 = 2.9136 s to travel 1 km.

Thunder heard 3 s after the flash: 343.21 × 3 = 1,029.6 m, so the lightning struck about 1.03 km away.

Tips

  • Cold air is slower. At −20 °C sound travels at about 319 m/s.
  • Mach 1 is not a fixed speed. It is the local speed of sound, which is lower at the cold altitudes where jets fly.
  • In helium your voice sounds higher because sound travels about three times faster, which shifts the resonances of your vocal tract.

Frequently asked questions

How fast is sound in air?

About 343 m/s (1235 km/h, 767 mph) in dry air at 20 °C, and 331.3 m/s at 0 °C. It depends on temperature, not on air pressure.

What formula is used for air?

v = 331.3 × √(1 + T ÷ 273.15) m/s, with T in °C. It follows from the ideal gas law, so the speed grows with the square root of the absolute temperature. Humidity raises it slightly, typically by well under 1%.

How do I tell how far away lightning is?

Count the seconds between the flash and the thunder and choose Distance from a delay. At 20 °C each second is about 343 m, so 3 seconds is roughly 1 km.

Why is sound faster in water and steel?

Liquids and solids are much stiffer than air, which outweighs their higher density. Sound travels about 4.4 times faster in water and over 17 times faster in iron than in air.

More in Math

All tools in this category: Math ·Updated November 4, 2026

Privacy choices

Google Analytics shows us which tools are used and whether they work. It may set cookies. Your choice is kept in this browser.