A speed of sound calculator finds how fast sound travels in air at a given temperature, gives a reference value for fresh water, and works out the wave speeds in a solid from its stiffness and density. It also covers the shear wave velocity and the speed of sound in solids, so one page handles all three jobs.
How to use the speed of sound calculator
- Choose the medium: air, water or a solid.
- For air enter the temperature. For a solid enter E, density and Poisson's ratio.
- Press Calculate.
Sound in air
For air the calculator uses the formula c = 331.3 × √(1 + T ÷ 273.15), where T is in degrees Celsius and c is in metres per second [1]. The speed depends mainly on the temperature, and humidity has only a small effect, about 0.1% to 0.6% [1]. At 20 °C the formula gives 343.21 metres per second, which agrees with the 343.21 in the air table [1].
Temperature units
In US mode, the temperature is in degrees Fahrenheit and the calculator converts it to Celsius before applying the formula: 68 °F is 20 °C. The answer is shown in metres per second, kilometres per hour, feet per second and miles per hour, so you do not have to convert. The same speed at 20 °C is about 1,235.6 kilometres per hour or 767.7 miles per hour.
Sound in water
There is no simple formula for water here. Wikipedia gives about 1,481 metres per second in fresh water at 20 °C [1]. The calculator therefore shows this single reference value and says so. It does not give a temperature curve for water, and salinity raises the speed in seawater.
Sound in solids
For a solid, the calculator gives three speeds [1]. A thin rod, a one-dimensional case, has c = √(E ÷ ρ), where E is Young's modulus and ρ the density. A longitudinal wave in a bulk solid has c = √[E(1 − ν) ÷ (ρ(1 + ν)(1 − 2ν))], with Poisson's ratio ν. A shear wave has c = √(G ÷ ρ), where G is the shear modulus [1]. A stiffer or lighter material carries sound faster.
The shear modulus
The shear modulus is not an input. The calculator finds it from G = E ÷ (2(1 + ν)), the standard relation for an isotropic material. The relation G = E ÷ (2(1 + ν)) for an isotropic material is given in the Wikipedia article on the shear modulus [2]. This also gives the shear wave velocity.
A worked solid example
A worked example is copper with ρ = 8,940 kilograms per cubic metre, E = 117 gigapascals and ν = 0.3. The thin-rod speed is 3,617.6 metres per second, the longitudinal speed 4,197.3 and the shear speed 2,243.6, with G = 45 gigapascals. Enter 117, 8,940 and 0.3 in solid mode to reproduce the three results. Published tables of measured longitudinal and shear speeds for solids let you compare a calculated result.
Poisson's ratio range
The longitudinal formula divides by 1 − 2ν, so ν must be less than 0.5, and an isotropic solid with a positive stiffness needs ν above −1. The calculator rejects values outside that range, a guard that is our own working. Typical metals sit near 0.3, and rubber is close to 0.5, where the longitudinal speed becomes very large.
Units
Young's modulus is entered in gigapascals and the density in kilograms per cubic metre, because that is how material tables usually give them. The result is in metres per second with kilometres per hour, feet per second and miles per hour beside it. Only the air temperature changes with the US or metric choice, since the solid formulas are written in SI.
Using it with Mach numbers
The speed of sound is the number that converts an aircraft speed to a Mach number. Divide the speed by the result for the same air temperature. This site also has Mach converters for miles per hour, kilometres per hour and feet per second, which use a fixed air value, and this page lets you see how much the speed changes with the weather.
Temperature and the speed of sound in air
The formula shows that the speed rises with the square root of the absolute temperature. At 0 °C it is 331.3 metres per second, at 20 °C it is 343.2 and at 30 °C it is about 349.2. The change is about 0.6 metres per second for each degree near room temperature, a rule of thumb that we derived from the formula. Cold air slows sound down, which is why a winter echo arrives slightly later than a summer one.
Finding a distance from a delay
You can use the speed in air to estimate how far away a flash of lightning or a firework is. Multiply the delay in seconds between the light and the sound by the speed, which is about 343 metres per second at 20 °C. A delay of 3 seconds means roughly 1,030 metres. The calculation ignores the travel time of light, which is far too short to matter at these distances.
Two quick checks of the air formula
You can test the formula c = 331.3 × √(1 + T ÷ 273.15) by hand [1]. At 0 °C the square root is 1, so c = 331.3 metres per second. At 30 °C the term inside the root is 1 + 30 ÷ 273.15 = 1.1098, its root is 1.0535, and c is about 349.0 metres per second. At −10 °C the term is 0.9634, its root is 0.9815, and c is about 325.2 metres per second.
These are our own sums. They show that each degree changes the speed by roughly 0.6 metres per second near room temperature. On a cold day, a sound echo therefore returns a little later than on a warm one. Use the calculator for the exact value, and use this check to spot a mistake such as entering Fahrenheit in metric mode.
Common mistakes
- Using Fahrenheit in metric mode. Check the units option.
- Entering Young's modulus in pascals. The box asks for gigapascals.
- Using Poisson's ratio of 0.5. The longitudinal formula breaks down there.
- Expecting water to change with temperature. Only a 20 °C value is given.
What next
Use this often? Add Speed of Sou to your Home screen.
Frequently asked questions
What is a speed of sound calculator?
A tool that finds how fast sound travels in air, water or a solid from the medium's properties.
What is the speed of sound in air at 20 °C?
About 343.2 metres per second, or 767.7 miles per hour.
How do I find the shear wave velocity?
Use the square root of the shear modulus divided by the density. Enter E, density and Poisson's ratio in solid mode.
What is the speed of sound in water?
About 1,481 metres per second in fresh water at 20 °C.
Does humidity change the speed of sound?
Only slightly in the formula used here, which depends on temperature.
Was this tool helpful?
What went wrong?
We only receive the reason you pick, never what you typed into the tool.
Thanks for your feedback.