  Refraction is what happens when light passes from one translucent medium to another. As light enters a new medium, its speed changes, and its direction of travel changes. It is this change in direction, or 'bending' of light, that is commonly referred to as refraction. You are familiar with this phenomenon. It is what causes a spoon in a glass of water to appear bent. It makes things in the distance on a hot day appear to 'waver' as hot air rises from the ground and light passing through it changes its direction. It makes above-water spear fishing difficult because the fish below the surface aren't where they appear to be. And it makes sunset last a few seconds longer as light from the already set sun refracts around the earth through the atmosphere. Let's look more closely at what happens when a ray of light passes from one medium into another. For example, suppose a light beam goes from vacuum into a piece of glass.
Notice the perpendicular line that marks the spot where the light enters the glass; this is called the normal line.
The top part of the diagram (the vacuum), where the light originates, is called the incident side; the bottom (glass), the new medium that the light enters, is called the refracted side.
The angles that the beam of light makes with the normal line on each side are marked and labelled on the diagram. Notice that they are not the same.
In fact, light behaves in a very predictable way when it enters a new medium. In general, when entering a denser medium, light will refract (bend) towards the normal. Similarly, when light leaves a dense medium and enters a less dense one, it bends away from the normal.
The amount of bending, or angle of refraction, can be calculated using a simple formula.

Every translucent substance has a number associated with it that is a measure of how much light will bend in that substance. This number is called the index of refraction, and has the symbol n.
The larger the value of 'n', the more that light will bend in that substance, if coming from a vacuum.
Here are some indecies of refraction for various substances. You will notice that denser substances tend to have higher values of 'n':

 vacuumHydrogen (gas)aircarbon dioxidechlorine (gas)icealcohol 11.0001401.00029261.0004491.0007681.3091.329 chlorine (liquid)turpentineplexiglasglassquartzemeralddiamond 1.3851.4721.501.5171.5441.5762.417

 Here is the rule, called Snell's Law, that relates the angles and indicies of refraction. You can use it to calculate any one of the four quantities, if you know the other three. In our example below, we'll be using it to calculate the amount of bending (the angle of refraction) when light passes from a vacuum into glass. Here's the example. A beam of light in a vacuum (index of refraction n=1) hits a piece of glass at an angle of 30 degrees. When it passes through into the glass (index of refraction n=1.517), it changes direction.We want to calculate the new direction, or the angle of refraction.  The math involved isn't very difficult, although you have to know about trigonometric functions like sine.

Mr. Willis' Page