Speed of Sound Calculator

The speed of sound in air follows the formula v = 331.3 * sqrt(1 + T/273.15), where T is the air temperature in degrees Celsius. At 20 degrees C, sound travels at approximately 343.2 m/s (1,235.5 km/h or 767.3 mph). At 0 degrees C, the speed drops to 331.3 m/s. Enter a temperature to calculate the exact speed in multiple units, or use the Mach number section to classify an object's flight regime.

Quick Answer

At 20 degrees Celsius, the speed of sound in air is approximately 343.2 m/s (1,235.5 km/h). At 0 degrees C, it is approximately 331.3 m/s.

Speed of sound in air

Mach number

Enter an object's speed to calculate its Mach number at the temperature above.

Speed of sound in common media

Common Examples

Input Result
Temperature = 0 C 331.30 m/s (1,192.68 km/h)
Temperature = 20 C 343.21 m/s (1,235.56 km/h)
Temperature = -40 C 306.18 m/s (1,102.24 km/h)
Object at 400 m/s, air at 20 C Mach 1.17 (transonic)
Speed of sound in steel 5,960 m/s (21,456 km/h)

How It Works

This calculator uses the standard approximation for the speed of sound in an ideal gas:

\[v = 331.3 \times \sqrt{1 + \frac{T}{273.15}}\]

Where:

  • v = speed of sound in meters per second (m/s)
  • T = air temperature in degrees Celsius
  • 331.3 m/s = speed of sound at 0 degrees C
  • 273.15 = offset to convert Celsius to Kelvin

This formula is derived from the more general expression v = sqrt(gamma * R * T_K / M), where gamma is the adiabatic index (1.4 for air), R is the universal gas constant, T_K is absolute temperature in Kelvin, and M is the molar mass of air. Because gamma, R, and M are constants for dry air, the formula simplifies to the square root form above.

Unit conversions

  • Feet per second: multiply m/s by 3.281
  • Kilometers per hour: multiply m/s by 3.6
  • Miles per hour: multiply m/s by 2.237
  • Knots: multiply m/s by 1.944

Mach number

The Mach number is the ratio of an object’s speed to the local speed of sound:

\[M = \frac{v_{\text{object}}}{v_{\text{sound}}}\]

Flight regimes based on Mach number:

Regime Mach range
Subsonic Below 0.8
Transonic 0.8 to 1.2
Supersonic 1.2 to 5.0
Hypersonic Above 5.0

Why temperature matters

Sound is a pressure wave that propagates through the vibration of air molecules. At higher temperatures, molecules move faster and transfer energy more quickly, so sound travels faster. Each 1 degree C increase raises the speed of sound by roughly 0.6 m/s near room temperature.

Speed of sound in other media

Sound generally travels faster in denser, stiffer materials. In water at 20 degrees C, the speed is approximately 1,482 m/s, about 4.3 times faster than in air. In steel, it reaches approximately 5,960 m/s. The reference table in the calculator lists values for common gases, liquids, and solids.

Worked example

At 15 degrees C (a typical outdoor temperature), the speed of sound is v = 331.3 * sqrt(1 + 15/273.15) = 331.3 * sqrt(1.0549) = 331.3 * 1.02707 = 340.27 m/s. That is approximately 1,224.97 km/h or 761.0 mph. A commercial jet flying at 250 m/s in these conditions has a Mach number of 250 / 340.27 = 0.735, which falls in the subsonic regime.

Related Calculators

Frequently Asked Questions

Why does temperature affect the speed of sound?
Sound propagates through air by transferring kinetic energy between molecules. At higher temperatures, air molecules have more kinetic energy and vibrate faster, allowing pressure waves to travel more quickly. The relationship follows a square root function: speed is proportional to the square root of absolute temperature. A 10 degree C increase raises the speed by roughly 6 m/s.
Why does sound travel faster in water than in air?
Sound speed depends on a medium's elasticity (stiffness) and density. Water is much denser than air, but it is also far less compressible. The higher bulk modulus (stiffness) of water more than compensates for its greater density, resulting in a speed of approximately 1,482 m/s at 20 degrees C compared to 343 m/s in air.
What is a Mach number?
The Mach number is the ratio of an object's speed to the local speed of sound. Mach 1 means the object is traveling at exactly the speed of sound. Below Mach 0.8 is subsonic, 0.8 to 1.2 is transonic, 1.2 to 5.0 is supersonic, and above 5.0 is hypersonic. Because the speed of sound changes with temperature and altitude, the same ground speed can represent different Mach numbers under different conditions.
Does altitude affect the speed of sound?
Altitude itself does not directly change the speed of sound. Temperature is the controlling factor. Because air temperature generally decreases with altitude (about 6.5 degrees C per 1,000 meters in the troposphere), the speed of sound decreases at higher elevations. At typical cruising altitude (10,000 m), the temperature is around -50 degrees C and the speed of sound is approximately 299 m/s.
How can I estimate the distance of a lightning strike using the speed of sound?
Count the seconds between the lightning flash and the thunder. Divide the number of seconds by approximately 3 to get the distance in kilometers, or divide by 5 to get distance in miles. This works because light reaches you nearly instantly, while sound at roughly 343 m/s takes about 3 seconds to travel 1 kilometer.