Sonic Velocity Calculator

Sound moves at different speeds depending on what it's traveling through and how warm that medium is. Sonic velocity, the speed of sound, isn't a fixed number. It shifts with temperature and gas type. This calculator handles the math for ideal gases (air by default, but also helium, hydrogen, oxygen, carbon dioxide and a few others) so you can find the speed of sound at any temperature you care about.

What is sonic velocity?

Sonic velocity is how fast a pressure wave moves through a gas. When you speak or clap, you're shoving air molecules around, and those molecules push their neighbors, which push theirs. The wave that travels outward is what we hear as sound. Its speed depends on two properties of the gas: how stiff it is and how dense it is.

Temperature does most of the work in a gas. Hotter molecules move faster and collide more often, so sound waves travel through them more quickly. That's why sound moves noticeably faster on a 30°C summer day than on a -10°C winter morning. Gas type also matters: sound moves about four times faster in helium than in carbon dioxide because helium atoms are so much lighter.

How to use this calculator

Pick a gas from the dropdown (air is the default) and type in the temperature. Kelvin, Celsius, Fahrenheit and Rankine all work; the conversion happens behind the scenes. The result comes out in meters per second, with options for feet per second, kilometers per hour, miles per hour or knots.

You can also reverse the calculation. Enter the sonic velocity and read the gas temperature from the temperature field. Meteorologists and acoustics researchers do this when they need to infer temperature from sound speed measurements.

Understanding the formula

For ideal gases, the speed of sound is given by the formula c=γRTc = \sqrt{\gamma \cdot R \cdot T}, where cc is the sonic velocity, γ\gamma (gamma) is the heat capacity ratio (also called the specific heat ratio or adiabatic index), RR is the specific gas constant, and TT is the absolute temperature in Kelvin.

Take a concrete case. Say you want the speed of sound in air at 20°C. First, convert to Kelvin: 20 + 273.15 = 293.15 K. For air, γ is about 1.4 (air is mostly diatomic nitrogen and oxygen) and the specific gas constant R is 287 J/(kg·K). So γ × R = 1.4 × 287 = 401.8. Plug those into the formula:

c=401.8×293.15=117,839343.3 m/sc = \sqrt{401.8 \times 293.15} = \sqrt{117{,}839} \approx 343.3 \text{ m/s}

That works out to roughly 343 m/s, or about 1,235 km/h, or 767 mph. That's the everyday speed of sound at sea level. Bump the temperature up to 30°C (303.15 K) and the speed rises to about 349 m/s. Drop it to 0°C (273.15 K) and it falls to around 331 m/s.

Applications of sonic velocity

Sonic velocity shows up across aerospace, acoustics, meteorology and materials science. Aerospace engineers use it to compute Mach numbers, the ratio of aircraft speed to the local speed of sound, which sets the flight regime: subsonic, transonic, supersonic or hypersonic. Local sonic velocity changes with altitude and temperature, so pilots and flight systems need accurate values to predict where shock waves will form.

Acoustics engineers rely on it when designing concert halls, recording studios and noise control systems. Meteorologists use sonic velocity measurements to map atmospheric temperature profiles. Materials scientists send ultrasonic waves through metals and composites and read the wave speed to detect cracks and internal flaws.

Tips for accurate calculations

Use absolute temperature scales (Kelvin or Rankine) when you can; the formula depends on absolute temperature, not relative. The ideal gas approximation works well for everyday conditions but starts to slip at very high pressures or very low temperatures where real gases stop behaving ideally. For gas mixtures, the effective γ and R differ from the pure components, so look up the right values in a thermodynamic table.

Frequently asked questions

Why does sound travel faster in helium than air?

Helium has a much higher specific gas constant (R ≈ 2077 J/kg·K) than air (R ≈ 287 J/kg·K) because helium atoms are far lighter. Sonic velocity is proportional to the square root of R, so sound travels about three times faster in helium at the same temperature.

Does humidity affect the speed of sound in air?

A little. Water vapor is lighter than dry air, so humid air has a slightly lower average molecular weight, which nudges the effective gas constant up. The bump is small, usually 0.1% to 0.3% at high humidity.

What is the Mach number and how does it relate to sonic velocity?

The Mach number is the ratio of an object's speed to the local speed of sound: M = v/c. An aircraft at Mach 1 is moving exactly at the local speed of sound; Mach 2 is twice that. Because sonic velocity changes with temperature and altitude, Mach numbers are local. The same airspeed gives different Mach numbers at sea level and at cruising altitude.

Can I use this calculator for liquids or solids?

This one is built for ideal gases (c = √(γRT)). For liquids and solids, the formula is c = √(K/ρ), where K is the bulk modulus and ρ is the density. Sound travels much faster in those media: roughly 1,480 m/s in water, and over 5,000 m/s in steel.

How accurate is the ideal gas formula at extreme temperatures?

For common gases at near-standard conditions, the error is typically under 1%. At very high pressures, where gases are compressed close to liquid density, or at temperatures near liquefaction, real gas effects kick in and the formula's accuracy drops. For normal atmospheric calculations you don't need to worry about it.

Author

hexacalculator design team

Our team blends expertise in mathematics, finance, engineering, physics, and statistics to create advanced, user-friendly calculators. We ensure accuracy, robustness, and simplicity, catering to professionals, students, and enthusiasts. Our diverse skills make complex calculations accessible and reliable for all users.