The ray parameter is the ratio in Snell's law that remains constant along a ray, commonly denoted p. In horizontally layered media, in every layer through which a ray passes, the sine of the angle of incidence (the angle between the ray and the normal to the interface) divided by the velocity of the corresponding wave type in that layer is equal to one and the same number:
Comparing the above formula with the apparent velocity va = v/sinθ, it can be seen that p is the reciprocal of the apparent velocity of the wave in the direction along a horizontal interface, in s/m (see apparent velocity).