The speed of sound varies significantly depending on the medium through which it travels. In general, sound travels faster through denser materials, such as solids and liquids, than through gases.
For example, in dry air at room temperature, sound travels at approximately 343 meters per second (or 1,125 feet per second). In comparison, sound travels through water at around 1,482 meters per second (4,830 feet per second), and through iron at around 5,120 meters per second (16,800 feet per second).
The speed of sound can also be affected by other factors, such as temperature, pressure, and humidity. In general, as the temperature of a medium increases, the speed of sound also increases, while increasing pressure tends to increase the speed of sound as well.