The index of refraction is the ratio of the velocity of light in a vacuum to the velocity of light in a transparent material. The index of refraction can be used to calculate the bend angle of a beam of light as it passes from one transparent medium to another. Thus, the index of refraction is used as a quality control check of transparent plastics.