Speed of Sound Calculator

Calculate speed of sound in ideal gases from temperature and properties. Mach number, travel time, and comparison across 10 gases and 15 solids/liquids.

°C
m/s
m
Speed of Sound
343.20 m/s
1,235.5 km/h | 767.7 mph
Mach Number
Enter object speed
Travel Time
2.914 s
Sound over 1,000 m at 20 °C
Gas Properties
γ = 1.4
M = 28.97 g/mol | T = 293.15 K
Wavelength at 440 Hz (A4)
0.780 m
Concert pitch reference frequency
Air Formula Check
343.21 m/s
v = 331.3 × √(T/273.15) — simplified for dry air
Speed of Sound vs. Temperature (Air (dry))
°CKSpeed (m/s)Speed (km/h)
-40233.1306.11,102
-20253.1318.91,148
0273.2331.31,193
10283.2337.31,214
15288.2340.31,225
20293.2343.21,236
25298.2346.11,246
30303.2349.01,256
40313.2354.71,277
50323.2360.31,297
100373.2387.21,394
Speed of Sound in Gases at 20 °C
GasγM (g/mol)v (m/s)
Air (dry)1.428.97343.2
Helium1.6674.001,007.5
Hydrogen1.412.021,305.6
Nitrogen1.428.01349.0
Oxygen1.432.00326.6
Carbon Dioxide1.28944.01267.2
Argon1.66739.95318.9
Methane1.3216.04447.9
Steam (100 °C)1.3318.02424.1
Neon1.66720.18448.7
Material (Solid/Liquid)Speed (m/s)× gas speed
Diamond12,00035.0×
Aluminum6,42018.7×
Steel5,96017.4×
Granite5,95017.3×
Glass (Pyrex)5,64016.4×
Copper4,60013.4×
Bone4,08011.9×
Wood (oak, along grain)3,85011.2×
Concrete3,4009.9×
Ice3,2809.6×
Seawater (25 °C)1,5314.5×
Water (20 °C)1,4824.3×
Mercury1,4504.2×
Ethanol1,1623.4×
Rubber540.2×
Planning notes, formulas, and examples

About the Speed of Sound Calculator

The **Speed of Sound Calculator** computes the speed of sound in ideal gases using v = √(γRT/M), where γ is the heat capacity ratio, R is the universal gas constant, T is absolute temperature, and M is molar mass. It includes 10 common gases, a Mach number analyzer with regime classification, travel time computation, and reference tables of sound speed in 15 solids and liquids.

Sound travels as a longitudinal pressure wave — molecules push against neighboring molecules, transmitting energy through the medium. In air at 20 °C, sound moves at about 343 m/s (1235 km/h). The speed increases with temperature (proportional to √T) and in lighter molecules — helium carries sound nearly three times faster than air, which is why inhaling helium makes your voice sound high-pitched.

The Mach number (object speed / sound speed) determines the flow regime: subsonic (M < 0.8), transonic (0.8–1.2), supersonic (1.2–5), or hypersonic (M > 5). At Mach 1 and above, shock waves form — the "sonic boom" phenomenon. This calculator covers all regimes and shows the Mach angle for supersonic speeds. Sound also travels much faster in solids (steel: 5960 m/s) and liquids (water: 1482 m/s) than in gases.

When This Page Helps

Understanding sound speed is essential in acoustics, aerodynamics, and atmospheric science. Aircraft designers need precise Mach numbers to predict when shock waves form and how they affect control surfaces. The transonic regime (Mach 0.8–1.2) is particularly challenging because shock waves form on parts of the aircraft while other areas remain subsonic.

Temperature strongly affects sound speed and therefore Mach number. At cruising altitude (−56 °C), the speed of sound drops to about 295 m/s — so a jet at 250 m/s is closer to Mach 1 than it would be at sea level. Pilots must account for this when flying near the sound barrier. Meteorologists use sound speed variations to understand atmospheric stability and acoustic propagation.

How to Use the Inputs

  1. Select a gas from the dropdown or enter custom heat capacity ratio and molar mass.
  2. Enter the temperature in degrees Celsius.
  3. Optionally enter an object speed to compute the Mach number and flow regime.
  4. Enter a distance to compute sound travel time.
  5. Use the temperature table to see how speed varies from −40 °C to 100 °C.
  6. Compare sound speed across gases, solids, and liquids in the reference tables.
Formula used
Speed of sound in ideal gas: v = √(γRT/M) Simplified for dry air: v ≈ 331.3 × √(T/273.15) m/s Mach number: Ma = v_object / v_sound Mach angle (supersonic): μ = arcsin(1/Ma) Wavelength: λ = v/f Variables: γ = heat capacity ratio (adiabatic index), R = 8.314 J/(mol·K), T = absolute temperature (K), M = molar mass (kg/mol), f = frequency (Hz)

Example Calculation

Result: 343.2 m/s speed of sound, Mach 1.98

Air at 20 °C = 293.15 K: v = √(1.4 × 8.314 × 293.15 / 0.02897) = √(118,413) = 343.2 m/s. For an object at 680 m/s: Mach = 680/343.2 = 1.98 (supersonic). Mach angle = arcsin(1/1.98) = 30.3°. Sound travels 1000 m in 2.91 s.

Tips & Best Practices

  • In dry air at 20 °C, sound travels at about 343 m/s (767 mph).
  • Sound speed increases by about 0.6 m/s per °C in air.
  • Helium makes voices high-pitched because sound travels 2.9× faster (shorter vocal tract wavelengths).
  • Lightning distance: count seconds after flash, divide by 3 = distance in km (or by 5 = miles).
  • Sound travels faster in denser media: steel (5960 m/s) >> water (1482 m/s) >> air (343 m/s).
  • At high altitude, lower temperature reduces sound speed, so the same airspeed gives a higher Mach number.

Temperature Dependence in the Atmosphere

The atmosphere has distinct temperature layers that affect sound propagation. In the troposphere (0–11 km), temperature decreases with altitude, so sound speed drops from ~340 m/s at sea level to ~295 m/s at the tropopause. In the stratosphere (11–50 km), temperature increases due to ozone absorption, causing sound to refract back downward — which is why explosions can sometimes be heard at great distances.

Sound channels form at altitudes where speed is minimum (the "SOFAR" channel in the ocean, or the tropopause in the atmosphere). Sound waves are naturally guided along these channels by refraction, allowing propagation over enormous distances with minimal loss. The ocean SOFAR channel was used during WWII to locate downed pilots by listening for explosive charges.

Supersonic and Hypersonic Aerodynamics

Breaking the sound barrier creates a sudden increase in aerodynamic drag (the "drag divergence"). Engineers design aircraft with swept wings, area ruling, and thin airfoils to reduce transonic drag. The Concorde cruised at Mach 2.04, while modern fighter jets reach Mach 2.5+. The X-15 research aircraft reached Mach 6.7.

Hypersonic flight (Mach 5+) introduces extreme heating from air compression. At Mach 5, stagnation temperature exceeds 1,500 °C — hot enough to melt aluminum. Thermal protection is the primary challenge for hypersonic vehicles. Scramjet engines, which use supersonic internal airflow, are being developed for propulsion above Mach 5.

Acoustic Applications

Ultrasonic testing uses high-frequency sound waves (1–50 MHz) to inspect materials for internal defects. Medical ultrasound (1–20 MHz) images soft tissues using the reflection of sound at tissue boundaries. Sonar (10 Hz – 1 MHz) maps the ocean floor and detects submarines by measuring sound travel times in water. In all these applications, knowing the precise speed of sound in the medium is essential for accurate distance and position calculations.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • Temperature is a measure of molecular kinetic energy. Higher temperature means faster molecular motion, which transmits pressure disturbances more quickly. The speed of sound is proportional to √T (absolute temperature), so doubling the Kelvin temperature increases sound speed by √2 ≈ 41%.