Speed of Sound
calculator.
Sound moves faster in warm air, so the temperature sets how far away thunder is.
- Miles per hour
- 767.8
- Thunder after 3 s, the strike is
- 1.03 km
That is 2.94 m/s faster than in the 15 °C air of the standard atmosphere. A 3 s gap between flash and thunder puts the strike about 1.03 km away.
Speed against air temperature
Drag the point to change the temperatureSpeed of sound in dry air from −60 to 60 °C: 292.7 to 365.9 m/s. At 20 °C it is 343.2 m/s.
Working
- 1Add 273.15 to get kelvinT = 20 + 273.15 = 293.15 K
- 2Speed of sound in an ideal gasa = √(γRT) = √(1.4 × 287.05 × 293.15) = 343.2 m/s
- 3Distance is speed times the delayd = a × t = 343.2 × 3 = 1,030 m
- 4Check: the speed gives the temperature backT =343.2²1.4 × 287.05= 293.15 K
Speed of sound at other temperatures
| °C | m/s | mph | s per km |
|---|---|---|---|
| −40 | 306.1 | 684.7 | 3.27 |
| −20 | 319 | 713.5 | 3.14 |
| 0 | 331.3 | 741.1 | 3.02 |
| 10 | 337.3 | 754.6 | 2.96 |
| 15 | 340.3 | 761.2 | 2.94 |
| 20 (yours) | 343.2 | 767.8 | 2.91 |
| 30 | 349 | 780.8 | 2.87 |
| 40 | 354.7 | 793.5 | 2.82 |
Near 20 °C the speed rises by about 0.585 m/s for each °C warmer.
Speed of sound in other materials
| Material | m/s | × air | s per km |
|---|---|---|---|
| Air, 20 °C | 343 | 1 | 2.91 |
| Carbon dioxide, 0 °C | 259 | 0.755 | 3.86 |
| Oxygen, 0 °C | 316 | 0.921 | 3.16 |
| Helium, 0 °C | 965 | 2.81 | 1.04 |
| Hydrogen, 0 °C | 1,290 | 3.76 | 0.775 |
| Ethanol, 20 °C | 1,160 | 3.38 | 0.862 |
Gases at 0 °C and liquids at 20 °C, from OpenStax University Physics. The air row uses your temperature.
How it's worked out
Sound is a pressure wave passed from molecule to molecule. In a gas, how fast it moves depends on the temperature and on the gas, and nothing else. Warm molecules move faster, so they pass the wave on sooner. The tool treats air as dry and uses the ideal gas formula.
Here is the speed of sound in m/s. is the ratio of specific heats, and for air at low speeds it is 1.4. is the gas constant for one kilogram of dry air, 287.05 J/(kg·K) here. must be an absolute temperature in kelvins, so add 273.15 to degrees Celsius first.
At 0 °C that gives 331.3 m/s, and at 20 °C it gives 343.2 m/s. OpenStax quotes 331 and 343 m/s for the same two cases. Near room temperature the speed climbs by about 0.59 m/s for each degree Celsius.
Distance from a delay. Light from a flash reaches you almost at once, so the gap before the thunder is the time sound took. An echo is different: the sound went out to the wall and back, so you halve it.
Running it backwards. Square a measured speed and divide by to get the absolute temperature. Lab students use this to check the air temperature from a resonance tube result.
Worked examples
Counting the gap in a summer storm
On a 25 °C evening, Maya sees a flash and counts 9 seconds to the thunder. Sound in that air moves at 346.1 m/s, so it covered about 3.12 km, or 1.94 miles.
The National Weather Service rule of 5 seconds per mile gives 1.8 miles, close to the full answer. The number matters less than the advice that comes with it: if you can hear thunder, you are likely within striking distance, so Maya should already be inside.
An echo off a cliff on a cold morning
Ravi claps at the foot of a cliff at 41 °F, which is 5 °C, and hears the echo 1.6 seconds later. Sound there moves at 334.3 m/s. The clap went to the rock and back, so the cliff is half the round trip away: about 267 m.
Using the room figure of 343.2 m/s would put the cliff at 275 m instead. That gap is small next to the error in timing a clap by ear, which is why a stopwatch count rarely needs more than three figures.
Finding the room temperature from a lab result
A physics class measures the speed of sound with a resonance tube and gets 347 m/s. Squaring it and dividing by gives 299.62 K, which is about 26.5 °C.
If the thermometer on the wall says 21 °C, the air should carry sound at 343.8 m/s, so the tube result of 347 m/s is high. That points to an error in reading the tube length or the tuning fork frequency, since the air cannot be two temperatures at once.
Reading your result
The standard figure. Air at 15 °C at sea level carries sound at 340.29 m/s, or 761 mph. NASA quotes about 761 mph for sea level. Quote a temperature with any speed you give, because on a −20 °C winter day the speed falls to 319 m/s.
Mach 1 is lower up high. In NASA's model of the atmosphere the air above 11 km sits at −56.46 °C. There sound moves at 295.1 m/s, or 660 mph, so a jet reaches Mach 1 at a lower true speed than it would near the ground. The thinner air is not the cause: pressure and density fall together and cancel, which leaves temperature.
Quick rules. At 20 °C sound takes 2.9 s per kilometer and 4.7 s per mile. That is where the counting rules of 3 seconds per kilometer and 5 seconds per mile come from.
Other materials. Sound moves about 1,480 m/s in fresh water and 5,960 m/s in steel, from the OpenStax table. Water and steel resist squeezing far more than air does, and that outweighs their extra mass.
Common mistakes
- Using degrees Celsius in the square root. The formula needs kelvins. Putting 20 in place of 293.15 gives a speed far below any real one.
- Forgetting to halve an echo. The delay covers the trip out and the trip back, so the wall is half as far as sound traveled.
- Counting one second per mile. Sound needs about 5 seconds to cover a mile, so that rule puts a storm five times too far away.
- Blaming thin air at altitude. Pressure drops out of the formula. Sound is slower at cruising height because the air is colder.
- Expecting the humid-air figure. Moist air carries sound a little faster than dry air. This tool uses dry air, so on a muggy day the true speed is slightly higher.
Questions people ask
Sources
- OpenStax, University Physics Vol. 1, section 17.2, Speed of Sound
- NASA Glenn Research Center: Speed of Sound
- NASA Glenn Research Center: Speed of Sound, interactive
- NASA Glenn Research Center: Specific Heats
- NASA Glenn Research Center: Earth Atmosphere Model, metric units
- National Weather Service: Understanding Lightning, Thunder
- National Weather Service: Lightning Safety Tips and Resources
- National Weather Service El Paso: Speed of Sound calculation handout