 As a consequence, the first waves of a distant earthquake arrive at an observatory via the Earth's mantle.On average, the kilometer distance to the earthquake is the number of seconds between the P- and S-wave times 8.Slight deviations are caused by inhomogeneities of subsurface structure.