What is the speed of sound?
The speed of sound is how fast a sound wave travels through a medium. In dry air it depends almost entirely on temperature: warmer air molecules move faster and transmit pressure waves more quickly. This calculator estimates the speed of sound in air from the air temperature you enter and reports the result in meters per second, kilometers per hour, and miles per hour.
How to use the calculator
Enter the air temperature in degrees Celsius and the calculator instantly returns the speed of sound. Temperatures can be negative (for cold conditions) or above room temperature. The conversions to km/h and mph make it easy to compare with vehicle or aircraft speeds.
The formula explained
This tool uses the approximation $$c = 331.3 \cdot \sqrt{1 + \frac{T}{273.15}}$$ where \(c\) is the speed of sound in m/s and \(T\) is the temperature in °C. The constant 331.3 m/s is the speed of sound at 0 °C, and 273.15 converts the Celsius temperature into a ratio relative to absolute zero. A common quick approximation is \(c \approx 331.3 + 0.606 \cdot T\).
Worked example
At 20 °C: \(\text{ratio} = 1 + 20/273.15 = 1.07322\); \(\sqrt{1.07322} = 1.03597\); $$c = 331.3 \times 1.03597 \approx 343.2 \text{ m/s}$$ That equals about 1,235.6 km/h or 767.8 mph — the familiar room-temperature speed of sound.
Constants and Reference Values Used
The calculator uses the following fixed values. They apply to dry air at ordinary atmospheric conditions, treated as an ideal gas. Humidity, altitude-related composition changes and very high or low temperatures shift the real value slightly.
| Quantity | Value | Role in the calculation |
|---|---|---|
| Speed of sound in dry air at 0 °C | 331.3 m/s | Reference speed that scales with temperature |
| Offset between °C and K | 273.15 | Converts the Celsius temperature to an absolute (Kelvin) ratio, \(T_K = T_C + 273.15\) |
| m/s to km/h | 1 m/s = 3.6 km/h | Unit conversion (3600 s per hour ÷ 1000 m per km) |
| m/s to mph | 1 m/s ≈ 2.23694 mph | Unit conversion (international mile = 1609.344 m) |
| Linear approximation coefficient | 0.606 m/s per °C | Used in the shortcut \(c \approx 331.3 + 0.606\,T\), valid near everyday temperatures |
The full formula used by the calculator is:
$$c = 331.3 \times \sqrt{1 + \frac{T}{273.15}}$$
where \(c\) is the speed of sound in m/s and \(T\) is the air temperature in °C. The linear coefficient comes from the first-order expansion of this square root: \(331.3 / (2 \times 273.15) \approx 0.606\). The shortcut works well from roughly −20 °C to 40 °C, but the square-root form is more accurate over wider ranges.
As a quick comparison at 20 °C, the linear shortcut gives \(331.3 + 0.606 \times 20 = 343.42\) m/s, while the full formula gives about 343.2 m/s, a difference of well under 0.1%.
FAQ
Does humidity change the result? Slightly. Humid air is a little less dense, raising the speed by a few m/s, but temperature is by far the dominant factor, so this dry-air formula is accurate for most purposes.
Why does sound travel faster when it is hot? Higher temperature means faster-moving molecules, so pressure disturbances pass between them more rapidly.
What is the speed of sound at 0 °C? Exactly 331.3 m/s by this formula — the freezing-point reference value.