1. Refractive index: The ratio of speed of light in vacuum (c) to the speed of light in any medium (v) is called refractive index of the medium.
2. Relative refractive index: The relative refractive index of a medium with respect to other medium is the ratio of the speed of light in the first medium with respect to the second medium.
Here, n21 = Relative refractive index of medium 2 with respect to medium 1 is
Here, n12 = Relative refractive index of medium 1 with respect to medium 2.