The speed of sound in an ideal gas depends only on its temperature and composition. The speed has a weak dependence on frequency and pressure in ordinary air, deviating slightly from ideal behavior. In colloquial speech, speed of sound refers to the speed of sound waves in air. However, the speed of sound varies from substance to substance: typically, sound travels most slowly in gases, faster in liquids, and fastest in solids. For example, while sound travels at 343 m/s in air, it travels at 1481 m/s in water (almost 4.3 times as fast) and at 5120 m/s in iron (almost 15 times as fast). In an exceptionally stiff material such as diamond, sound travels at 12,000 m/s (39,000 ft/s), – about 35 times its speed in air and about the fastest it can travel under normal conditions. In theory, the speed of sound is actually the speed of vibrations. Sound waves in solids are composed of compression waves (just as in gases and liquids) and a different type of sound wave called a shear wave, which occurs only in solids. Shear waves in solids usually travel at different speeds than compression waves, as exhibited in seismology. The speed of compression waves 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.