dash–calculator

04 Numbers and Counting

Speed of Sound Calculator: Formula & Examples

Readout 04-0680 · Updated · Standard formula, shown below

Speed of sound 343.21 m/s
Speed of sound
1,126.03 ft/s
Result, rounded to 2 decimal places
Speed of sound
767.75 mph
Result, rounded to 2 decimal places
Air temperature
20 °C
Input
You enter
Air temperature (°C)
You get
Speed of sound (m/s), Speed of sound (ft/s), Speed of sound (mph)
Rounding
2 dp

This speed of sound calculator works out the speed of sound in air (or any gas) from the temperature you enter, returning the result in meters per second, feet per second, and miles per hour. You input the air temperature in °C or °F, and the calculator applies the standard formula for sound speed in an ideal gas. The result is the speed at which a sound wave travels through that gas, which changes with temperature, not with loudness or frequency.

Formula

The speed of sound in a gas is given by the Newton-Laplace equation:

v = √(γ · R · T / M)

where:

  • v = speed of sound (m/s)
  • γ (gamma) = adiabatic index (ratio of specific heats), about 1.4 for air
  • R = universal gas constant, 8.314 J/(mol·K)
  • T = absolute temperature in kelvin (K)
  • M = molar mass of the gas (kg/mol), about 0.02896 kg/mol for dry air

Plugging in the constants for dry air gives the simpler linear approximation used in this calculator:

v ≈ 331.3 × √(1 + Tc/273.15) m/s

where Tc is the temperature in degrees Celsius. At 0°C, the speed is 331.3 m/s; at 20°C, it is about 343 m/s. The square-root form is more accurate than the common linear approximation (331.3 + 0.606·Tc) at extreme temperatures, though both agree closely near room temperature.

Worked Example

Using the default value of 20°C:

  1. Convert to kelvin: 20 + 273.15 = 293.15 K
  2. Compute the ratio: 293.15 / 273.15 = 1.0732
  3. Take the square root: √1.0732 = 1.0359
  4. Multiply by 331.3: 331.3 × 1.0359 = 343.2 m/s

The calculator shows 343.21 m/s (rounded to two decimals), which equals about 1125.9 ft/s or 767.6 mph. That matches the familiar “speed of sound at room temperature” often quoted as 343 m/s.

How Temperature Affects Sound Speed

Sound travels faster in warmer air because the molecules move faster and collide more often, passing the vibration along more quickly. The relationship is not linear—it scales with the square root of absolute temperature. For example:

  • At -20°C: about 319 m/s
  • At 0°C: 331.3 m/s
  • At 20°C: 343.2 m/s
  • At 40°C: 354.7 m/s

This is why sound carries differently on a hot day than on a cold one. The speed change is about 0.6 m/s per degree Celsius near room temperature, but the square-root formula is more accurate over a wide range.

Speed of Sound in Different Media

The calculator above is for air (or other gases with similar properties). Sound travels much faster in liquids and solids because the molecules are closer together and stiffness is higher. Typical values:

  • Air (20°C): 343 m/s
  • Water (20°C): about 1,480 m/s
  • Steel: about 5,960 m/s
  • Concrete: about 3,100 m/s

For liquids and solids, the speed depends on the bulk modulus (or Young’s modulus) and density, not on temperature alone. This calculator is specifically for gases, so do not use it for water or metal.

How to Use the Calculator

Enter the air temperature in Celsius (or convert from Fahrenheit first). The calculator accepts any temperature above absolute zero (-273.15°C), though air at such extremes is not a gas in practice. The output gives the speed in three common units:

  • m/s – the SI unit, used in physics and engineering
  • ft/s – common in aviation and some engineering fields
  • mph – useful for comparing to vehicle speeds or for general curiosity

For example, at 15°C (standard atmosphere sea-level temperature), the speed is about 340 m/s. At 25°C, it is about 346 m/s. The calculator’s default of 20°C gives 343 m/s, a good “room temperature” reference.

Common Mistakes and Misconceptions

One common error is using the linear approximation v = 331.3 + 0.606·T at very high or low temperatures; it works fine between -20°C and 50°C, but the square-root formula is more physically correct. Another mistake is confusing temperature in Celsius with kelvin—always add 273.15. Also, the speed of sound does not depend on air pressure or density alone; at constant temperature, changing pressure changes density and stiffness proportionally, so the speed stays the same. Humidity increases speed slightly (by about 1–2 m/s at high humidity), which this calculator ignores for simplicity—it assumes dry air.

Another misconception: the speed of sound is not the speed of the air molecules themselves. It is the speed of the pressure wave, which is much faster than the average molecular speed (about 500 m/s for air molecules at room temperature). Also, the speed of sound is independent of loudness and frequency—a loud sound and a soft sound travel at the same speed.

Why It Matters

The speed of sound is used in many practical contexts:

  • Aviation: Mach number is the ratio of aircraft speed to the local speed of sound. At sea level on a standard day (15°C), Mach 1 is about 340 m/s (761 mph).
  • Meteorology: The time delay between lightning and thunder tells distance—sound travels about 1 km in 3 seconds at 20°C.
  • Music and acoustics: Room acoustics and instrument design depend on sound speed to calculate resonance frequencies.
  • Sonar and ultrasound: In water, sound speed is used to measure depth or image tissue.

Knowing the speed of sound in air is also essential for calibrating microphones, designing concert halls, and even for timing sports events (e.g., the starter’s pistol sound reaches the finish line slightly later than the flash).

Limitations of the Formula

The formula assumes dry air and ideal gas behavior. Real air contains water vapor, which lowers the molar mass slightly and increases the speed by up to a few m/s. At very high altitudes or extreme temperatures, the ideal gas assumption may deviate. For most everyday purposes—from weather to sound delay calculations—the error is negligible. If you need precise values for a specific gas mixture, use the full Newton-Laplace equation with the correct γ and M.

Frequently Asked Questions

How does altitude affect the speed of sound?

Altitude itself does not directly change the speed of sound; it changes temperature. In the troposphere, temperature decreases with altitude, so the speed of sound decreases. At 11 km altitude, where temperature is about -56.5°C, the speed is about 295 m/s. That is why Mach 1 at high altitude is lower than at sea level.

Does humidity change the speed of sound?

Yes, but only slightly. Water vapor has a lower molar mass than air, so moist air is less dense and sound travels a bit faster. At 20°C, the difference between dry air and 100% humid air is about 2 m/s. This calculator assumes dry air, so the result is accurate to within 1% for most conditions.

What is Mach 1 in mph?

Mach 1 is the speed of sound, which varies with temperature. At 20°C (68°F), it is about 767 mph. At 15°C (59°F), it is about 761 mph. The calculator gives the exact value for the temperature you enter.

Why does sound travel faster in warm air?

In warmer air, the molecules move faster and collide more frequently, so the pressure wave propagates more quickly. The speed is proportional to the square root of the absolute temperature, so the increase is not linear.

Can I use this calculator for water or metal?

No, this calculator is for gases only. The formula uses the gas-specific constants (γ, R, M). For liquids and solids, the speed depends on elastic moduli and density, not on temperature in the same way. Use a different formula or source for those media.

Related

Formula used
in t_c | Air temperature | °C | 20 | -273.15 | 1000
out v_ms | Speed of sound | m/s | 331.3 * sqrt(1 + t_c / 273.15) | 2
out v_fts | Speed of sound | ft/s | 331.3 * sqrt(1 + t_c / 273.15) * 3.28084 | 2
out v_mph | Speed of sound | mph | 331.3 * sqrt(1 + t_c / 273.15) * 2.23694 | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More on this panel

The whole Numbers and Counting panel →