Speed of Sound Calculator

The speed of sound is the distance a sound wave travels through a medium per unit time. In air, it depends on temperature: the formula is c = 331.3 × √(1 + T/273.15) m/s, where T is air temperature in °C. At 20°C (68°F), the speed in air is approximately 343.2 m/s (1,235 km/h or 767 mph). In other media, the speed is determined by the medium's elastic modulus and density. Water transmits sound at approximately 1,480 m/s, more than four times faster than air. Steel transmits sound at approximately 5,960 m/s because of its high stiffness and relatively modest density. Concrete and glass fall between water and steel. This calculator lets you select air (with temperature input) or another medium, then returns the speed in metres per second, kilometres per hour, miles per hour, and knots. These conversions are useful for acoustics engineering, non-destructive testing, underwater acoustics, meteorology, aviation (Mach number calculations), and physics education. Values for non-air media are approximate standard figures from engineering references.

Speed of sound: -- m/s (-- mph)

Medium: air at 20°C. Source: NASA Glenn, NOAA, as at 14 June 2026.

Select the medium
Used only when medium is air
Speed of sound-- m/s
km/h--
mph--
knots--

Speed of sound formulas

In air (temperature-dependent):
c = 331.3 × √(1 + T / 273.15) m/s (T in °C)

Unit conversions:
km/h = m/s × 3.6
mph = m/s × 2.23694
knots = m/s × 1.94384

Worked example (air)

At T = 20°C:

  1. c = 331.3 × √(1 + 20/273.15) = 331.3 × √(1.0732) = 331.3 × 1.0360 = 343.2 m/s
  2. km/h = 343.2 × 3.6 = 1,235.5 km/h
  3. mph = 343.2 × 2.23694 = 767.3 mph
  4. knots = 343.2 × 1.94384 = 667.2 kn

Speed of sound in various media

MediumSpeed (m/s)Speed (km/h)Notes
Air at 0°C331.31,192.7Standard formula, T = 0°C
Air at 20°C343.21,235.5Typical room temperature
Air at -56.5°C295.11,062.4Tropopause (11 km altitude)
Water (20°C)1,4805,328Approximate; varies with salinity
Steel5,96021,456Longitudinal wave in steel
Concrete3,20011,520Varies with mix and density
Glass (soda-lime)5,64020,304Longitudinal wave

Source: NOAA, NASA. Non-air values are engineering reference figures and vary with material grade and temperature.

Speed of sound calculator: frequently asked questions

What factors affect the speed of sound in air?

The speed of sound in air depends primarily on temperature. Warmer air has more energetic molecules that transmit pressure waves faster. The standard formula is c = 331.3 × sqrt(1 + T/273.15) m/s, where T is in °C. Humidity has a very small effect (moist air is very slightly faster than dry air at the same temperature) and is often ignored in basic calculations. Pressure alone does not significantly change the speed of sound in an ideal gas because, while higher pressure increases the restoring force on displaced molecules, it also increases density proportionally.

Why is sound faster in solids than in liquids and gases?

Sound travels as a compression wave through the elastic properties of a medium. In solids, atoms are tightly bound to each other with strong intermolecular forces, so pressure disturbances propagate very quickly. In liquids, molecules are close but less rigidly bonded, so sound travels slower than in solids but faster than in gases. In gases, molecules are widely spaced and interact only during brief collisions, making propagation slowest. Steel conducts sound at about 5,960 m/s, water at about 1,480 m/s, and air at sea level at around 343 m/s at 20°C.

How does the speed of sound change with altitude?

At higher altitudes, air temperature generally decreases (in the troposphere), so the speed of sound also decreases. At sea level and 15°C (standard atmosphere), the speed of sound is approximately 340 m/s. At 11 km altitude (tropopause), the temperature is about -56.5°C and the speed of sound is approximately 295 m/s. This is why aircraft are described in terms of Mach number (speed relative to local sound speed) rather than absolute airspeed, because the same Mach number represents a different airspeed at different altitudes.

How does the speed of sound compare to the speed of light?

The speed of light in a vacuum is approximately 299,792,458 m/s, roughly 874,000 times faster than the speed of sound in air at 20°C (343 m/s). This enormous difference is why you see a lightning flash before you hear the thunder: the light arrives almost instantly, while sound takes about 3 seconds per kilometre. In water the ratio is smaller (light is about 200,000 times faster than sound in water), and in dense solids like steel, sound is still about 50,000 times slower than light.

What causes a sonic boom and at what speed does it occur?

A sonic boom is caused when an object travels at or above the speed of sound (Mach 1). As the object moves, it creates pressure waves that propagate outward spherically. When the object reaches or exceeds the speed of sound, it outruns these waves, which pile up into a conical shockwave called a Mach cone. Observers on the ground hear a sharp double boom as the shockwave passes. At Mach 1 (the sound barrier), the cone is perpendicular to the direction of travel; at higher Mach numbers the cone becomes more acute. Sonic booms are continuous during supersonic flight, not just at the moment of breaking the sound barrier.

Official sources

Reviewed by the CalculatorHub team, edited by James Graham, 14 June 2026. See our methodology. General information only.