The speed of sound is the distance traveled per unit time by a sound wave propagating through an elastic medium. In dry air at 20 °C, the speed of sound is 343.2 meters per second (1,126 ft/s). This is 1,236 kilometer per hour (768 mph; 667 kn), or a kilometer in 2.914 s or a mile in 4.689 s.

In common everyday speech, speed of sound refers to the speed of sound waves in air. However, the speed of sound varies from substance to substance. Sound travels faster in liquids and non-porous solids than it does in air. It travels about 4.3 times as fast in water (1,484 m/s), and nearly 15 times as fast in iron (5,120 m/s), as in air at 20 °C. Sound waves in solids are composed of compression waves (just as in gases and liquids), but there is also a different type of sound wave called a shear wave, which occurs only in solids. These different types of waves in solids usually travel at different speeds, as exhibited in seismology. The speed of a compression sound wave in solids is determined by the medium's compressibility, shear modulus and density. The speed of shear waves is determined only by the solid material's shear modulus and density.

More Info: www.wikipedia.org