Speed of sound in air by temperature
Temperature is the main thing that changes the speed of sound in air. Warm air molecules move faster, so they pass a sound wave along more quickly. The table uses dry air and the formula c = 331.3 × √(1 + T ÷ 273.15), with T in degrees Celsius.
| Temperature | m/s | km/h | mph | ft/s |
|---|---|---|---|---|
| −20 °C (−4 °F) | 318.9 | 1,148.2 | 713.4 | 1,046.4 |
| −10 °C (14 °F) | 325.2 | 1,170.6 | 727.4 | 1,066.9 |
| 0 °C (32 °F) | 331.3 | 1,192.7 | 741.1 | 1,086.9 |
| 10 °C (50 °F) | 337.3 | 1,214.3 | 754.5 | 1,106.7 |
| 20 °C (68 °F) | 343.2 | 1,235.6 | 767.7 | 1,126.0 |
| 30 °C (86 °F) | 349.0 | 1,256.5 | 780.7 | 1,145.1 |
| 40 °C (104 °F) | 354.7 | 1,277.0 | 793.5 | 1,163.8 |
A handy rule of thumb: the speed rises by about 0.6 m/s for every degree Celsius, so c ≈ 331.3 + 0.6 × T. The rule is within half a meter per second of the full formula between 0 and 30 °C, and the calculator shows how far off it is for your temperature. Many textbooks quote 343 m/s, which is the 20 °C value, or 340 m/s, which is closer to the value at 15 °C.
Does humidity change the speed of sound?
Yes, slightly. Water vapor molecules are lighter than the nitrogen and oxygen they replace, so humid air is a little less dense and carries sound a little faster. At 20 °C the speed is 343.2 m/s in dry air, 343.8 m/s at 50% relative humidity and 344.5 m/s at 100%. Warm air can hold much more water, so the effect grows with temperature: at 30 °C, going from dry to fully humid air adds about 2.3 m/s.
For everyday work you can usually ignore humidity, because a few degrees of temperature error matters more. It is worth including for precise acoustic measurements, for tuning in a humid hall, or when you compare your own measurement with a reference value.
Altitude, pressure and Mach 1
Pressure on its own makes no difference to the speed of sound in air: lower pressure makes the air less dense, but also less stiff, and the two cancel out. What changes with height is the temperature. In the standard atmosphere it is 15 °C at sea level, where sound travels at 340.3 m/s (761 mph), and −56.5 °C at an airliner's cruising height of about 11 km, where it travels at only 295.1 m/s (660 mph).
That is why Mach 1 is not one fixed speed. A Mach number is the aircraft's speed divided by the local speed of sound, so a plane at the same ground speed is at a higher Mach number in the cold air up high than near the ground.
Speed of sound in water and seawater
Sound travels about 1,482 m/s in fresh water at 20 °C, more than four times faster than in air. In water the speed also rises with temperature, but only up to a point: it peaks near 74 °C at about 1,555 m/s and then falls slightly. Seawater is faster still, because dissolved salt makes it stiffer. At 20 °C and a typical salinity of 35 parts per thousand, sound moves at about 1,521 m/s at the surface. Pressure adds speed with depth: at 1,000 m, the same 20 °C water would carry sound at about 1,538 m/s.
In the real ocean, temperature drops with depth while pressure rises, which bends sound into channels that can carry it across whole ocean basins. Sonar systems, depth sounders and fish finders all need the local speed to turn an echo's travel time into a distance.
Speed of sound in solids
Solids carry sound fastest of all. The speed depends on how stiff a material is compared with how dense it is, c = √(stiffness ÷ density), so a stiff, light material like aluminum is very fast, while a soft, heavy one like lead is slow.
| Material | Speed (m/s) |
|---|---|
| Aluminum | 6,420 |
| Steel | 5,960 |
| Stainless steel | 5,790 |
| Glass (Pyrex) | 5,640 |
| Copper | 4,760 |
| Brass | 4,700 |
| Concrete | about 3,400 (varies by about ±10%) |
| Lead | 2,160 |
These are bulk longitudinal speeds for large pieces at room temperature. A thin rod or rail is slower, about 5,100 m/s for steel, because it can bulge sideways as the wave passes. Even so, steel carries sound about 17 times faster than air, which is why you can hear a train coming through the rail before you hear it through the air.
How far away is the thunder?
Lightning and thunder happen at the same moment, but the light reaches you almost instantly while the sound takes about 2.9 seconds to cover each kilometer, or 4.7 seconds per mile. Count the seconds from the flash to the thunder, then divide by 3 for kilometers or by 5 for miles.
Worked example: a 6-second gap in 20 °C air means 343.2 × 6 = 2,059 m, about 2.1 km or 1.3 miles. Tap the thunder preset in the travel panel and type your own count. The count tells you distance, not safety: if you can hear thunder at all, the storm is close enough to strike, so get indoors.
From speed to wavelength, rooms and motion
Once you know the speed, you can turn the speed into a wavelength for any frequency, since λ = c ÷ f. For the idea behind that formula, read how speed links frequency and wavelength. The same speed sets the standing waves in a room, where bass notes whose half-wavelengths fit between the walls boom while others fade. And it sets how much a moving source shifts the pitch you hear, the Doppler effect, which depends on the source's speed compared with the speed of sound.
The formulas used
- Dry air: c = 331.3 × √(1 + T ÷ 273.15) m/s, with T in °C. This is the speed of sound at 0 °C scaled by the square root of the absolute temperature.
- Humid air: the dry-air result times a correction from an ideal-gas mixture of dry air and water vapor. The water-vapor share comes from the Buck equation for saturation vapor pressure, p_sat = 611.21 × exp((18.678 − T ÷ 234.5) × (T ÷ (257.14 + T))) Pa, times the relative humidity, divided by the air pressure. The mixture's molar mass and heat capacities then give its speed, c = √(γRT ÷ M).
- Helium and carbon dioxide: c = √(γRT ÷ M) with γ = 1.667 and M = 0.0040026 kg/mol for helium (about 1,007 m/s at 20 °C), and γ = 1.289 and M = 0.04401 kg/mol for CO2 (about 267 m/s).
- Fresh water: the Marczak (1997) fit, a fifth-order polynomial in temperature that is valid from 0 to 95 °C.
- Seawater: the Mackenzie (1981) equation in temperature, salinity and depth, tested from 2 to 30 °C, 25 to 40 ppt and 0 to 8,000 m.
- Travel: distance d = c × t and time t = d ÷ c.
Worked examples
- Dry air at 20 °C. c = 331.3 × √(1 + 20 ÷ 273.15) = 343.215 m/s, which is 1,235.57 km/h, 767.749 mph, 1,126.03 ft/s or 667.156 knots.
- Air at 20 °C and 50% humidity. The humidity correction is 1.00183, so c = 343.215 × 1.00183 = 343.844 m/s.
- Fresh water at 20 °C. The Marczak formula gives 1,482.38 m/s.
- Seawater at 20 °C, 35 ppt, at the surface. The Mackenzie formula gives 1,521.46 m/s.
- Thunder after 6 seconds in 20 °C dry air. d = 343.215 × 6 = 2,059.29 m, which is 2.05929 km or 1.27958 miles.
How this tool works
The calculator picks the formula for the medium you choose, converts °F and K to °C first, and checks the temperature against that formula's range. The speed is then shown in m/s, km/h (× 3.6), mph (÷ 0.44704), ft/s (÷ 0.3048) and knots (÷ 0.514444). The travel panel multiplies or divides by that speed, from whichever box you typed in last. For air it uses the same dry-air function as every other calculator on this site, so 20 °C always gives 343.2 m/s. Everything runs in your browser.
Limits. The air model (dry-air formula plus an ideal-gas humidity correction) is within a few tenths of a percent of published reference values between −20 and 40 °C at normal pressure; it ignores carbon dioxide and the tiny change with frequency. Speeds in solids are typical values: alloys and grades vary, and thin rods carry sound more slowly (steel rod about 5,100 m/s). Real water contains dissolved gas and salts that change the value slightly. Altitude matters only because the air is colder up there.
Speed of sound: FAQ
What is the speed of sound at 20 °C?
In dry air at 20 °C (68 °F), sound travels at about 343.2 m/s, which is 1,235.6 km/h, 767.7 mph or 1,126 ft/s. At 50% relative humidity it is slightly faster, about 343.8 m/s. Many textbooks round this to 343 m/s or 340 m/s; the second figure is closer to the value at 15 °C.
Why does sound travel faster in water than in air?
The speed of sound depends on how stiff a material is compared with how dense it is: c = √(stiffness ÷ density). Water is about 830 times denser than air but roughly 15,000 times harder to compress, so stiffness wins. That gives about 1,480 m/s in water against 343 m/s in air, more than four times faster.
How much does temperature change the speed of sound in air?
About 0.6 m/s for every degree Celsius, or about 0.34 m/s per degree Fahrenheit. Between a cold 0 °C day and a hot 35 °C day, the speed rises from 331.3 m/s to 351.9 m/s, about 6%. That is enough to make wind instruments play noticeably sharper as they warm up.
How do I work out how far away lightning is?
Count the seconds between the flash and the thunder. Light arrives almost instantly, while sound covers about 1 km every 2.9 seconds, or 1 mile every 4.7 seconds. So divide the seconds by 3 for kilometers, or by 5 for miles: a 6-second gap means the strike was about 2 km, or 1.2 miles, away.
Is Mach 1 always the same speed?
No. Mach 1 is the local speed of sound, which depends mainly on air temperature. In the standard atmosphere it is 340.3 m/s (761 mph) at sea level, where the air is 15 °C, but only 295.1 m/s (660 mph) at airliner cruising height, where it is −56.5 °C. A plane can fly at the same ground speed and be at different Mach numbers.
How fast does sound travel in steel?
About 5,960 m/s in a large block of steel, roughly 17 times faster than in air. In a thin rod or rail, the speed is lower, about 5,100 m/s, because the rod can bulge sideways. That is why, standing near a long rail, you can hear an approaching train through the rail before you hear it through the air.