Thin films The index of refraction (h) for a medium is defined as the speed of light in vacuum (c) divided by the speed of light in the medium(v).