We use cookies.This website uses essential cookies to operate core features. With your consent, we also use analytics cookies to understand traffic and improve the service. For more details, see our .
If this tool helped you, you can buy us a coffee ☕
Quickly calculate the speed of sound propagation in air based on temperature, humidity, and air pressure; supports real-time conversion.
You're standing by a basketball court watching a thunderstorm, and there's a 3-second gap between the lightning and the thunder—want to know how far away the lightning strike is? Use the Speed of Sound Calculator to first determine the speed of sound at the current air temperature, then multiply it by the time interval to estimate the distance. Another scenario: when tuning a recording studio, you need to know the sound delay time at different temperatures to align multitrack audio. Aviation enthusiasts also use it to understand how low-temperature environments at high altitudes affect sound propagation inside the cabin.
The speed of sound in air is primarily affected by temperature, though humidity and atmospheric pressure also play a role. The basic formula is:
v = 331.3 × √(1 + T/273.15)
Where v is the speed of sound (m/s) and T is the temperature in Celsius (℃). This formula is derived from the speed of sound in an ideal gas: as temperature rises, molecular motion accelerates, and sound travels faster. For example, at 0℃, the speed of sound is approximately 331.3 m/s, and at 20℃, it's about 343 m/s. A more precise calculation accounts for humidity (e) and atmospheric pressure (P). We use the Cramer formula:
v = 331.3 × √(1 + T/273.15) × (1 + 0.0015 × H × e / P)
Where H is relative humidity (%), e is the saturation vapor pressure (temperature-dependent), and P is the atmospheric pressure (hPa). This correction term keeps the error margin below 0.5% within the -20℃ to 40℃ range.
Open our Speed of Sound Calculator, and you will see three input fields:
1. Enter the current air temperature in the "Temperature (℃)" field, e.g., 25.
2. Enter the humidity value in the "Relative Humidity (%)" field, e.g., 60 (if left blank, it defaults to 0, representing dry air).
3. Enter the local atmospheric pressure in the "Atmospheric Pressure (hPa)" field. Standard sea level pressure is 1013.25 (this can be ignored; the program will automatically use the standard value).
Click the "Calculate" button, and the speed of sound result will instantly appear on the right in m/s. Common conversions will also be provided below: km/h, mph, and time per kilometer (seconds).
Example: Summer outdoor temperature of 35℃, relative humidity of 80%, and atmospheric pressure of 1013.25 hPa.
Base speed of sound: v₀ = 331.3 × √(1 + 35/273.15) ≈ 331.3 × √1.1281 ≈ 331.3 × 1.062 ≈ 351.9 m/s.
Humidity correction: At 35℃, the saturation vapor pressure e ≈ 56.2 hPa (found in physics tables). Correction factor = 1 + 0.0015 × 80 × 56.2 / 1013.25 ≈ 1 + 0.0015 × 80 × 0.0555 ≈ 1 + 0.00666 ≈ 1.00666.
Final speed of sound ≈ 351.9 × 1.00666 ≈ 354.2 m/s.
Interpretation: In a hot and humid summer, the speed of sound is about 2.3 m/s faster than in dry air at 35℃ (approx. 351.9 m/s). This difference cannot be ignored when measuring distances accurately.
The speed of sound provided by the calculator is typically between 330 and 360 m/s. You can use this for quick estimations:
• 340 m/s: The approximate speed in 15℃ dry air, often used as a baseline for estimation.
• For every 1℃ increase, the speed of sound increases by about 0.6 m/s.
• For every 10% increase in humidity, the speed of sound increases by about 0.1 to 0.2 m/s (more noticeable at high temperatures).
If the result is below 330 m/s (extreme cold or high altitude/low pressure) or above 360 m/s (extreme heat), please verify that your inputs are realistic: temperatures should generally not exceed -50℃ or +50℃, and atmospheric pressure should not be below 500 hPa. Accuracy decreases with extreme input values.
This calculator is based on the standard atmospheric model and the Cramer formula, making it suitable for general outdoor or indoor environments (temperature -20 to 40℃, relative humidity 0 to 100%, atmospheric pressure 900 to 1100 hPa). It is not suitable for:
• Speed of sound in water or solids (which require elastic modulus).
• High altitudes (>3000 meters) where atmospheric pressure deviates significantly from standard values; actual local pressure must be entered.
• Extremely high wind speeds (e.g., hurricanes) where the speed of sound is affected by wind; this tool does not account for wind correction.
Calculation results are for everyday reference only and are not suitable for professional fields requiring high-precision measurements, such as scientific research or aviation navigation. In case of discrepancies with actual measurements, rely on professional instruments.
1. Forgetting to convert Celsius to Kelvin when manually plugging temperatures into formulas (our calculator handles this automatically, but it's a common mistake during manual verification).
2. Ignoring humidity: In high-temperature, high-humidity environments, the error margin for dry air speed of sound can reach 0.5% to 1%, which significantly affects long-distance measurements.
3. Confusing the speed of sound with the speed of light: Seeing lightning and hearing thunder 3 seconds later, calculating 3 seconds × 343 m/s ≈ 1029 meters is accurate; mistakenly using the speed of light (3 × 10⁸ m/s) yields absurd results.
4. Using absolute humidity instead of relative humidity: Our input field requires relative humidity (%). Entering absolute humidity (g/m³) by mistake will result in severe errors.
5. Using default pressure at extremely low temperatures (e.g., -30℃): At this point, water vapor is almost zero, so humidity correction should be set to 0. Entering high humidity will cause errors.
Q: Why is my calculated speed of sound 0.5 m/s different from other results online?
A: Different formulas have slight variations (some use simplified formulas, while others use the more complex international standard ISO 9613). Our calculator uses the Cramer formula, which offers an accuracy better than 0.5 m/s within common temperature and humidity ranges. Minor deviations are perfectly normal.
Q: I want to know how many seconds it takes for sound to travel 1 kilometer?
A: You can check the "Time per Kilometer" field on the right side of the calculator. For example, at a speed of sound of 343 m/s, it takes about 2.92 seconds per kilometer. You can also calculate it manually: 1000 ÷ speed of sound.
Q: Does humidity have a significant impact on the speed of sound?
A: At room temperature (20℃), increasing humidity from 0% to 100% increases the speed of sound by about 0.3 m/s, which is negligible. However, at temperatures above 35℃, the impact can reach 1 to 2 m/s and should not be ignored.
Q: Can I enter sub-zero temperatures?
A: Yes, but the formula's applicability decreases at low temperatures. It is recommended for use above -20℃. Below -20℃, the water vapor in the air is extremely low, so humidity should be set to 0%, and atmospheric pressure might be higher. Results in these conditions are for reference only.
Q: Why doesn't the result change much after entering atmospheric pressure?
A: Because in the Cramer formula, atmospheric pressure only appears in the denominator of the humidity correction term, and the variation in standard atmospheric pressure is very small (usually 950 to 1050 hPa). Therefore, its impact on the result is minimal (<0.2 m/s), unless you enter an unusually low pressure (e.g., in high-altitude plateau regions).
Q: Can these calculation results be used to tune musical instruments?
A: They can be used as a reference, but instrument tuning typically uses the 440 Hz standard pitch, and pitch is affected by temperature (changes in the speed of sound in wind instruments cause frequency shifts). Our calculator does not directly provide frequency adjustment values; we recommend using specialized acoustic tuning tools.

Prime and Composite Number Calculator
Instantly identify prime, composite, or special numbers. Supports batch checking and mathematical property analysis.

Trigonometry Calculator
Calculate six trigonometric functions from radian values with custom decimal precision.

Inverse Trigonometric Function Calculator
Accurately calculate radian values for inverse trig functions like arcsin and arccos. Supports 6 function types and custom decimal precision.

Circle Area Calculator
Quickly calculate the area of a circle by entering the radius, diameter, or circumference. Supports custom units and precision settings.

Prime and Composite Number Calculator
Instantly identify prime, composite, or special numbers. Supports batch checking and mathematical property analysis.

Trigonometry Calculator
Calculate six trigonometric functions from radian values with custom decimal precision.

Inverse Trigonometric Function Calculator
Accurately calculate radian values for inverse trig functions like arcsin and arccos. Supports 6 function types and custom decimal precision.

Circle Area Calculator
Quickly calculate the area of a circle by entering the radius, diameter, or circumference. Supports custom units and precision settings.

SHAKE Hash Generator
Variable-length hash generator for SHAKE-128/256, featuring salt support, multiple iterations, and various input/output formats.