Skip to content

Speed of Sound Calculator

Find the speed of sound in air by temperature, humidity and altitude, in water and in metals, plus the Mach number of any speed and the distance to an echo.

Calculator Details

Speed of sound:343.99 m/sSee results ↓

Air, fresh water or a solid

Your own temperature, humidity and pressure, or the standard atmosphere at an altitude

Air −100 to 200 °C; water 0 to 100 °C

Used in the humid-air formula (0–30 °C)

An aircraft, bullet or car speed; 0 to skip

Seconds from a shout or clap to its echo; the wall is at half the round trip

Your Results

Speed of sound: 343.99 m/s

Speed of sound

343.99 m/s

Other units

1,238.4 km/h

769.48 mph · 1,128.6 ft/s · 668.66 knots

Mach number

Mach 0.8075

1,000 km/h is subsonic here

Echo distance

172 m

564.3 ft for a 1 s echo

Method

Humid air (Cramer 1993)

Dry ideal gas 343.23 m/s at 20 °C

Sound travels through air at 20 °C at 344 m/s (1,238 km/h, 769.5 mph); an echo after 1 s means the wall is 172 m away.

Compare scenarios

Save these inputs as a scenario, change them, and compare the results side by side.

Loading, available in a moment

Speed of sound in dry air by temperature

Speed of sound in dry air by temperature

Detailed Breakdown

Speed of sound in different materials
MaterialSpeed (m/s)
Dry air (you)343.23
Fresh water1,482.3
Aluminium6,320
Steel (1020 mild)5,890
Stainless steel (302)5,660
Copper4,660
Brass (naval)4,430
Titanium6,100
Lead2,160
Acrylic (Perspex)2,730
PVC (rigid)2,395
Polyethylene (HDPE)2,460
Diamond18,000

Air and water at 20 °C (water limited to 0–100 °C). Solids are bulk longitudinal speeds from the Olympus ultrasonic gauge table; alloys and plastics vary.

Dry air by temperature (°C)
TemperatureSpeed (m/s)
−40 °C306.1
−30 °C312.6
−20 °C318.96
−10 °C325.2
0 °C331.32
10 °C337.33
20 °C (near yours)343.23
30 °C349.04
40 °C354.75
50 °C360.37

How This Calculator Works

How It’s Calculated

Ideal gas: c = √(γ × R × T ÷ M), γ = 1.4 · Mach = v ÷ c · echo distance = c × t ÷ 2

Your calculation: at 20 °C, 50% relative humidity and 101.325 kPa, Cramer’s humid-air formula gives 343.987 m/s; dry air at the same temperature would be 343.234 m/s by the ideal-gas formula (the shortcut 331.3√(1 + T/273.15) gives 343.215). 1,000 km/h is Mach 0.8075. An echo after 1 s has travelled there and back, so the reflector is 172 m away.

Frequently Asked Questions

What is the speed of sound in air?

About 344 m/s (1,238 km/h or 769.5 mph) at 20 °C and 50% humidity. It depends mainly on temperature: at −30 °C it drops to about 312.6 m/s.

How does temperature change the speed of sound?

In an ideal gas the speed is √(γRT/M), so it grows with the square root of the absolute temperature: roughly 0.6 m/s faster for every 1 °C warmer near room temperature. Pressure on its own has almost no effect, because density changes in step with it.

Does humidity change the speed of sound?

Slightly. Water vapour is lighter than dry air, so humid air carries sound a little faster: at 20 °C, 343.36 m/s when dry and 344.61 m/s when saturated, about a 0.4% difference.

What is Mach 1 at cruising altitude?

Slower than at sea level, because the air is colder. In the standard atmosphere Mach 1 is 340.3 m/s (1,225 km/h) at sea level but 296.6 m/s (576.6 knots) at 35,000 ft, where it is about −54 °C.

How fast does sound travel in water and steel?

About 1,482 m/s in fresh water at 20 °C (over four times faster than in air) and about 5,890 m/s in mild steel. Liquids and solids are much stiffer than air, which outweighs their higher density.

How do I work out the distance from an echo?

Multiply the speed of sound by the time and halve it, because the sound went to the wall and back. A 1 s echo at 20 °C means a wall about 172 m away; a 3 s echo, about 516 m.

How is the speed of sound used for lightning?

Light arrives almost instantly, so the delay between the flash and the thunder is the sound’s travel time. Sound covers about 1 km every 3 seconds (1 mile in about 5 seconds), which the lightning distance calculator uses.

Air uses Cramer’s 1993 humid-air formula (0–30 °C, 75–102 kPa, 400 ppm CO₂; coefficients transcribed from two independent published implementations and awaiting a check against the paper) and the ideal-gas formula for dry air elsewhere and in the standard atmosphere (US Standard Atmosphere 1976). Water is the NIST WebBook (IAPWS-95) value at 1 atm; seawater, which is faster, isn’t included. Solids are bulk longitudinal speeds from an ultrasonic gauge table; thin rods, shear waves and specific alloys differ. Wind, temperature layers and the frequency dependence of sound absorption are left out.

Speed of Sound Calculator: Air, Altitude, Water and Solids

By FindMySum · Last reviewed

Sound is a pressure wave, and how fast it travels depends on the material carrying it and, in air, mostly on the temperature. This speed of sound calculator gives the speed in air from your temperature, humidity and pressure or from the standard atmosphere at an altitude, in fresh water and in common solids. It also turns any speed into a Mach number and an echo delay into a distance.

Sound in air

For an ideal gas the speed of sound is

c = √(γ × R × T ÷ M)

γ is the ratio of specific heats (1.4 for air), R the gas constant, T the absolute temperature in kelvin and M the molar mass of air. Density and pressure cancel out: squeezing air raises its stiffness and its density together. What matters is temperature. At 20 °C dry air carries sound at about 343.2 m/s, and every degree warmer adds roughly 0.6 m/s.

A common shortcut gives the same result to within a few hundredths: c ≈ 331.3 × √(1 + T ÷ 273.15), with T in °C.

Humid air

Water vapour is lighter than the nitrogen and oxygen it replaces, so humid air carries sound slightly faster. For measured conditions between 0 °C and 30 °C, the calculator uses the formula of Owen Cramer (1993), a fit to precise measurements that includes temperature, pressure, humidity and carbon dioxide. At 20 °C it gives 343.4 m/s for dry air and 344.6 m/s for saturated air, a difference of about 0.4%. Outside that temperature range the calculator falls back to the ideal-gas formula for dry air.

Worked example: the default

At 20 °C, 50% relative humidity and sea-level pressure:

  • Speed: 344.0 m/s, or 1,238 km/h and 769 mph.
  • A clap that echoes back after 1 second has travelled 344 m in all, so the wall is 172 m away.
  • A car or aircraft at 1,000 km/h is going at Mach 0.81.

Altitude and Mach number

Aircraft speeds are often given as a Mach number, the speed divided by the local speed of sound. Because the air gets colder with height, Mach 1 gets slower as you climb. In the standard atmosphere:

AltitudeTemperatureSpeed of sound
Sea level15.0 °C340.3 m/s (1,225 km/h)
3,000 m (9,840 ft)−4.5 °C328.6 m/s
10,000 m (32,800 ft)−49.9 °C299.5 m/s
35,000 ft (10,668 m)−54.2 °C296.6 m/s (577 knots)

An airliner cruising at 480 knots true airspeed at 35,000 ft is flying at about Mach 0.83. Above about 11 km the standard atmosphere stops cooling, so the speed of sound stays near 295 m/s up to 20 km. Choose "Standard atmosphere at an altitude" to see this; for actual flight conditions, enter the outside air temperature instead.

Water and solids

Sound travels much faster in liquids and solids because they resist compression far more strongly than air. Fresh water at 20 °C carries it at about 1,482 m/s, more than four times faster than air, from the NIST tables based on the international IAPWS-95 standard. Seawater is faster still, around 1,500 m/s, depending on salinity.

In solids the calculator uses longitudinal (compression-wave) speeds measured with ultrasonic thickness gauges: about 5,900 m/s in mild steel, 6,300 m/s in aluminium and 2,700 m/s in acrylic. These are what an ultrasonic tester sees through a thick plate. A thin rod or wire carries sound more slowly, and the shear waves used in some inspections are slower again.

Echoes

An echo has made a round trip, so the distance to the reflecting surface is

distance = c × t ÷ 2

At 20 °C, 3 seconds between a shout and its echo means a cliff about 516 m away. The same idea underlies sonar, ultrasound imaging and bat navigation, and its one-way version gives the distance to a lightning strike from the delay before the thunder.

Limits

The air formulas assume still air at one temperature. Wind adds to or subtracts from the speed along its direction, and temperature layers bend sound paths. Cramer's formula is only fitted from 0 °C to 30 °C and 75 kPa to 102 kPa. Solid values vary with the exact alloy, temperature and porosity, so measure your own material when accuracy matters.

For the distance to a storm from the thunder delay, use the lightning distance calculator; to convert a frequency into a wavelength, the wavelength calculator; and for air density at altitude, the density altitude calculator.

More questions

Why does sound carry so far on cold, still nights?

On clear nights the ground cools the air just above it, so the air gets warmer with height. Sound travels faster in the warmer air above, which bends sound waves back down toward the ground instead of letting them escape upward. Distant trains, highways and voices become audible that you can't hear on a sunny afternoon.

What is a sonic boom?

When an aircraft flies faster than the local speed of sound, the pressure waves it makes can't move ahead of it and pile up into a shock wave shaped like a cone. When that cone sweeps over the ground, people hear a sharp double bang. It lasts as long as the aircraft is supersonic, not just at the moment it crosses Mach 1.

Do high and low notes travel at the same speed?

Yes, in ordinary air the speed of sound doesn't depend on frequency, which is why music from a distant band arrives in step. High frequencies are absorbed more by air, though, so far-off sounds lose their treble and seem muffled.

Why do we hear thunder after we see lightning?

Light reaches you in a few microseconds, but thunder travels at the speed of sound, about a kilometre every three seconds. Counting the seconds between the flash and the rumble gives the distance to the strike.

How do bats and submarines use the speed of sound?

Both send out sound pulses and time the echoes. Knowing the speed of sound in air or seawater, half the round-trip time times the speed gives the distance to an insect or the seabed. Sonar operators correct for temperature and salinity because they change the speed of sound in water.

Sources

This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.

Spotted a wrong result or a bug? Report a problem

May we count your visits with Invoker Analytics? It keeps a random visitor number in your browser. Your calculator inputs are never sent. Privacy policy