The difference in arrival time between P and S waves on a seismogram can be used to determine the distance of the station from the earthquake source and the amplitude (height) of the S wave recorded at the station can be used to determine earthquake magnitude (see Earthquake measurement ).