Question: what is the formula to calculate the refractive index of a medium?
Answer: Refractive index is also equal to the velocity of light c of a given wavelength in empty space divided by its velocity v in a substance, or n = c/v.