Speed of Sound Calculator

Calculate sound velocity in air from temperature, pressure, and relative humidity with a clear atmospheric approximation.

Air sound velocity
Enter atmospheric conditions to estimate the speed of a small sound wave.

About the speed of sound calculator

The speed of sound describes how quickly a pressure disturbance moves through a material. In air, molecules do not travel from the source to the listener; instead, neighboring molecules exchange momentum as alternating compressions and rarefactions pass through the gas. Sound velocity therefore depends on the medium's stiffness and density. Warm air supports faster molecular motion and transfers a pressure disturbance more rapidly than cold air. This calculator focuses on ordinary atmospheric air and gives its result in meters per second. Temperature is the dominant everyday influence. Near common outdoor conditions, sound speed rises by about 0.606 meter per second for every degree Celsius. The calculator starts with 331.3 m/s at 0 °C, then adds the temperature correction. Relative humidity adds a smaller correction because moist air is slightly less dense than dry air at the same temperature and pressure. Pressure is included as a practical comparative adjustment through the square-root ratio entered by the user. For precise thermodynamic work, pressure, composition, and temperature should instead be combined through the ideal-gas relation c = √(γRT/M). At 20 °C in dry air at one atmosphere, the result is about 343.42 m/s. That is roughly 1,236 kilometers per hour, although sound is not fixed to one universal speed. It travels around 1,480 m/s in fresh water and often several thousand meters per second in metals because liquids and solids resist compression much more strongly. Those media require bulk or elastic moduli and density rather than the atmospheric approximation used here. The calculated value is useful for estimating echo distance, acoustic delay, microphone spacing, time-of-flight measurements, room modes, and outdoor sound propagation. To estimate a one-way distance, multiply velocity by elapsed time. For an echo or sonar-like round trip, divide that product by two because the pulse covers the path twice. Small differences matter in long paths or synchronized audio systems, so use conditions measured near the actual propagation route. This result remains an engineering estimate rather than a weather-grade acoustic model. Strong temperature gradients bend sound, wind changes ground-relative propagation, and humidity varies with altitude. Carbon dioxide concentration and frequency-dependent absorption can also matter in precision applications. Use the calculator for transparent, repeatable estimates and use calibrated environmental data or a standards-based acoustic model when safety, metrology, or legal noise assessment depends on the answer.

Speed of sound examples

These examples show how common atmospheric conditions change the estimate.

ConditionsSound velocityInterpretation
0 °C, 1 atm, 0% RH331.30 m/sReference dry-air condition used by the approximation.
20 °C, 1 atm, 0% RH343.42 m/sTypical indoor dry-air estimate.
30 °C, 1 atm, 50% RH350.10 m/sWarm, humid air carries the wave slightly faster.
20 °C, 0.9 atm, 0% RH325.80 m/sThe calculator applies the entered pressure ratio.

How to calculate sound velocity

  1. Enter the air temperature in degrees Celsius measured along the sound path.
  2. Enter pressure as a ratio to standard atmosphere, using 1 for ordinary sea-level conditions.
  3. Enter relative humidity from 0 for dry air to 100 for saturated air.
  4. Select Calculate Speed to display the atmospheric estimate in meters per second.

Speed of sound FAQ

What is the speed of sound at room temperature?

At 20 °C in dry air, this approximation gives 343.42 m/s. Humidity and local atmospheric conditions can shift that value slightly.

Why does sound travel faster in warm air?

Warmer gas molecules have greater average kinetic energy and exchange pressure disturbances more quickly. The increase is approximately linear over normal weather temperatures.

Does sound travel faster in water or air?

Sound travels much faster in water, typically near 1,480 m/s. Water is denser than air, but its far greater resistance to compression dominates the wave-speed relationship.

How can I estimate distance from an echo?

Multiply sound speed by the measured round-trip time and divide by two. Dividing is necessary because the pulse travels to the reflector and back.

Is this calculator suitable for precision acoustics?

It is suitable for transparent general estimates under ordinary atmospheric conditions. Precision work should use measured gas composition and a standards-based thermodynamic or acoustic model.