Audited ·Last updated 27 Jul 2026·5 citations·Tier 2·0 uses

Speed of Sound Calculator

Calculate the speed of sound in air or helium from temperature using the exact physical formula c = √(γRT/M). Includes m/s, km/h, mph, and the 331.3+0.6T check.

Speed of Sound Calculator

Ambient temperature. Must be at or above absolute zero (-273.15°C).
Medium
Speed of sound
343.2305
c = √(γRT/M), the exact physical-formula result for the selected medium and temperature.
Speed of sound (km/h)
1,235.6297
Speed of sound (mph)
767.7847
Linear approximation (air, m/s)
343.4447

Background.

This calculator computes the speed of sound from first principles using the exact physical relationship c = √(γRT/M), where γ is the ratio of specific heats, R is the universal gas constant, T is absolute temperature, and M is the gas's molar mass — rather than relying solely on the popular but medium-specific shortcut formula c ≈ 331.3 + 0.606·T(°C) that most online calculators use without explanation. NASA's Glenn Research Center states the physical formula directly (with temperature required on an absolute scale) as part of its aeronautics curriculum, precisely because it is the version that actually generalizes: it works for any ideal gas, at any reasonable temperature, once you know that gas's γ and M, whereas the linear shortcut only works for air, and only near room temperature.

This page derives the familiar 331.3 and 0.606 constants directly from the physical formula rather than treating them as a separately memorized rule. Evaluating c = √(γRT/M) for dry air at exactly 0°C (273.15 K) using NIST's and NASA's reference values for R, γ, and M produces 331.315 m/s — matching the textbook constant to four significant figures — and taking the first-order Taylor expansion of the same formula around 0°C produces a slope of 0.6065 K⁻¹, matching the textbook 0.606 coefficient just as closely. In other words, both magic numbers in the popular shortcut are simply the exact physical formula, evaluated and linearized at a single reference temperature — not an independent empirical fit requiring its own citation.

Because the physical formula is fully general, this calculator also supports helium as a second medium, letting you see directly why inhaling helium famously (if inadvisably) raises the pitch of a person's voice: helium's much lower molar mass (about 4.0 g/mol, versus roughly 29.0 g/mol for air) makes sound travel through it nearly three times faster than through air at the same temperature, which shifts the resonant frequencies of the vocal tract upward. The calculator reports results in meters per second, kilometers per hour, and miles per hour, and — for air specifically — also reports the classic linear-approximation value alongside the exact physical result, so you can see directly how closely (or not) the shortcut tracks the true value at temperatures away from the 0°C reference point the shortcut is built around.

Speed of sound calculations show up constantly in aviation (Mach number is defined as an aircraft's speed divided by the local speed of sound, which itself changes with altitude because temperature changes with altitude), acoustics and audio engineering, meteorology, and basic physics education. Because the speed of sound in an ideal gas depends on the square root of absolute temperature and does not depend on pressure at fixed composition, the same air at sea level and at 10,000 meters altitude has a meaningfully different speed of sound purely because of the temperature difference between those altitudes — a fact that matters directly for high-altitude aircraft performance calculations.

What is speed of sound calculator?

Sound is a longitudinal pressure wave — a traveling pattern of compressions and rarefactions — that propagates through a medium because molecules collide with and push on their neighbors. The speed at which that disturbance propagates depends on how quickly the medium can transmit those molecular collisions, which for an ideal gas turns out to depend on the gas's temperature, its molar mass, and its ratio of specific heats (γ = c_p/c_v), but not on the pressure at fixed temperature and composition, since higher pressure increases both the restoring force and the inertia of the compressed gas in exactly offsetting proportions.

Lighter molecules move faster on average at a given temperature (kinetic theory ties average molecular speed to temperature and inversely to the square root of molecular mass), and it is that faster molecular motion that lets a pressure disturbance propagate more quickly — which is precisely why the c = √(γRT/M) formula has M in the denominator: lower molar mass produces a higher speed of sound, all else equal. Temperature enters because higher temperature means faster molecular motion (again from kinetic theory), and γ enters because it captures how efficiently compressional energy converts into the pressure-restoring force that drives the wave forward, which differs between monatomic gases like helium (γ = 5/3) and diatomic gases like the nitrogen and oxygen that make up most of air (γ = 7/5 = 1.4).

How to use this calculator.

  1. Enter the ambient temperature in °C.
  2. Choose the medium — air or helium.
  3. Read the exact speed of sound in m/s, km/h, and mph.
  4. For air, compare against the classic linear-approximation figure to see how well the shortcut tracks the exact physical result at your chosen temperature.

The formula.

c = √(γ·R·T ⁄ M)

For an ideal gas, the exact speed of sound is c = √(γRT/M), where absolute temperature T must be in Kelvin (T = °C + 273.15), R is the universal gas constant (8.314462618 J/(mol·K), an exact CODATA value), γ is the ratio of specific heats (1.4 for the diatomic gases that dominate air; 5/3 ≈ 1.6667 for monatomic helium), and M is the gas's molar mass in kg/mol (about 0.02896546 kg/mol for dry air; 0.004002602 kg/mol for helium). Plugging in higher temperature increases c (through the square-root-of-T dependence, since warmer molecules move faster and transmit pressure disturbances more quickly); plugging in a lower molar mass also increases c, which is the physical reason sound travels faster through helium than through air at the same temperature.

The familiar linear approximation, c(T) ≈ 331.3 + 0.606·T(°C), is not treated on this page as an independently sourced empirical rule — it is derived as the first-order Taylor expansion of the physical formula around a 0°C reference point. Writing T(K) = 273.15 + T(°C) and factoring, c(T) = c₀·√(1 + T(°C)/273.15), where c₀ = c(0°C). For small T(°C)/273.15, the square root is well approximated by its linear term, giving c(T) ≈ c₀·(1 + T(°C)/(2×273.15)) = c₀ + [c₀/(2×273.15)]·T(°C). Evaluating c₀ from the exact air formula gives 331.315 m/s, and the resulting slope works out to 0.6065 — both matching the textbook shortcut's constants to four significant figures, confirming the shortcut is simply this calculator's exact formula, linearized. Because the linearization was built specifically around air's γ and M, it should not be applied to helium or any other gas.

A worked example.

Example

At a comfortable room temperature of 20°C (293.15 K), the exact formula gives c = √(1.4 × 8.314462618 × 293.15 / 0.02896546) ≈ 343.23 m/s for air — the number most physics textbooks quote as 'the speed of sound at room temperature.' Converted to more familiar travel units, that's about 1235.63 km/h, or about 767.78 mph — for context, commercial jetliners cruise at roughly 80–85% of this speed (Mach 0.8–0.85). The classic linear-approximation shortcut, 331.3 + 0.606×20 ≈ 343.44 m/s, comes out within about 0.06% of the exact physical result at this temperature — close enough for most everyday estimates, though the two values diverge more noticeably at temperature extremes far from the 0°C reference point the approximation is built around.

temperature C20
mediumair

Frequently asked questions.

Why doesn't the speed of sound depend on air pressure?
For an ideal gas, both the 'stiffness' that restores a compressed gas parcel to equilibrium and the inertia (mass density) that resists acceleration scale together with pressure, so their ratio — which is what actually determines wave speed — cancels the pressure dependence out entirely, leaving only temperature, molar mass, and γ in the formula. This is why the speed of sound in air is essentially the same at sea level and at moderate altitude for the same air temperature, even though air pressure and density both drop substantially with altitude; what actually changes the speed of sound with altitude is the accompanying change in temperature, not the change in pressure itself.
Why does sound travel faster in helium than in air?
Helium's molar mass (about 4.0 g/mol) is roughly seven times smaller than air's average molar mass (about 29.0 g/mol), and since the speed of sound formula has molar mass in the denominator under a square root, a much lighter gas produces a substantially higher speed of sound — roughly the square root of the mass ratio, about 2.7×, which the calculator's numbers confirm (helium's γ of 5/3 versus air's 1.4 contributes a smaller additional boost). This is the physical reason inhaling helium temporarily raises the pitch of a person's voice: the resonant frequencies of the vocal tract scale with the local speed of sound, so the same vocal-tract geometry produces higher-frequency resonances in helium.
How accurate is the '331.3 + 0.6×T' shortcut compared to the exact formula?
Very close near the 0°C reference point it is built around — within a fraction of a percent at typical room and outdoor temperatures — but the shortcut is a linear approximation to a genuinely square-root relationship, so it drifts further from the exact value the further the temperature strays from 0°C, particularly at high temperatures. This calculator computes and displays both figures for air specifically so you can see the gap directly at whatever temperature you enter, rather than assuming the shortcut is exact everywhere.
Why must temperature be an absolute (Kelvin) value inside the formula?
The formula c = √(γRT/M) is derived from the ideal gas law and kinetic theory, both of which are stated in terms of absolute temperature — a temperature scale where zero genuinely means zero average molecular kinetic energy. Using Celsius directly (without adding 273.15) inside the square root would apply the wrong physical relationship and, for cold temperatures, could even attempt to take the square root of a negative number. This calculator accepts Celsius as the input for convenience (since that's how most people think about ambient temperature) but converts to Kelvin internally before evaluating the formula.
What is Mach 1, and how does it relate to this calculator?
Mach number is defined as an object's speed divided by the local speed of sound, so Mach 1 is, by definition, exactly the speed of sound at the ambient conditions the object is moving through — not a fixed number in km/h or mph, but a value that changes with temperature (and therefore with altitude, since temperature varies with altitude). This is why aircraft performance charts specify a true airspeed for Mach 1 at a given altitude rather than a single universal number: the same aircraft moving at, say, 1000 km/h could be below, at, or above Mach 1 depending entirely on the local temperature — precisely the temperature-dependent quantity this calculator computes.

In this category

Embed

Quanta Pro

Paid features are coming later.

  • All 313 calculators remain free
  • No billing is enabled
Coming soon