📘 CodingMarble Learn

Refraction of Light: Laws, Refractive Index and the Glass Slab

Light changes speed when it goes from one transparent medium to another, and so it bends at the boundary (unless it hits along the normal). Going into an optically denser medium it slows down and bends toward the normal; coming out it speeds up and bends away. For a pair of media, sin i / sin r stays constant (Snell's law); this constant is the refractive index, which also equals the ratio of the speeds of light, n = c/v. In a rectangular glass slab the emergent ray is parallel to the incident ray but shifted sideways (lateral displacement).

🎬 Step-by-step story

  1. A ray of light falls on a block of glass. Look at the boundary: the ray does not go straight on. It bends. This bending is refraction.
  2. Draw the normal (green dashes). Going from air into glass, the ray bends toward the normal, so the angle of refraction r is smaller than the angle of incidence i.
  3. Now the angle i grows from 10° to 70°. The angle r grows too, but watch the readout: sin i ÷ sin r stays the same number, 1.5 for glass. That is Snell's law.
  4. Change the material: water, then glass, then diamond. The bigger the refractive index n, the more the ray bends and the slower light travels inside (v = c/n).
  5. Let the ray come out of the bottom of the slab. It bends away from the normal and leaves at e = i, parallel to where it was going, but shifted sideways by a distance d.
  6. Your turn. Change i (try 0°), the thickness and the material. See how r, the speed and the sideways shift d change.

Tip: drag the 3D scene to turn it. Use two fingers to zoom.

🤔 Common doubts, cleared

Why does light bend at all?

Its speed changes at the boundary. One side of a slanting beam enters first and slows first, so the beam turns, just like a car wheel hitting sand. Step 1 shows the bend at the surface.

How do I know whether it bends toward or away from the normal?

Into a slower (denser) medium: toward. Into a faster (rarer) medium: away. Step 2 shows r < i going into glass; step 5 shows it bending away when leaving.

If i changes, doesn't the refractive index change?

No. i and r both change but sin i / sin r stays the same for that pair of media. Watch the ratio in the readout during step 3.

Does a bigger refractive index mean more bending?

Yes. Larger n means slower light and a smaller r for the same i. Step 4 switches water → glass → diamond.

If the emergent ray is parallel, is there any effect of the slab?

Yes: the ray is shifted sideways (lateral displacement). Step 5 draws the no-slab path dotted and the shift d in red.

What happens at i = 0°?

The ray goes straight through with no bending and no shift. Set i to 0 in free play.

What is refraction and why does light bend?

Refraction is the change in the direction of light when it passes at an angle from one transparent medium to another, such as from air into water or glass. It happens because light travels at different speeds in different media: about 3 × 10⁸ m/s in air, about 2.25 × 10⁸ m/s in water, about 2 × 10⁸ m/s in glass.

A medium in which light is slower is called optically denser; one in which it is faster is optically rarer. Optical density is not the same as mass density: kerosene is lighter than water yet optically denser.

Laws of refraction (Snell's law)

  1. First law: the incident ray, the refracted ray and the normal at the point of incidence all lie in the same plane.
  2. Second law (Snell's law): for light of a given colour and a given pair of media, the ratio of the sine of the angle of incidence to the sine of the angle of refraction is constant.

sin i / sin r = constant = n₂₁

The constant is the refractive index of the second medium with respect to the first. In story step 3 you can see i and r both change while the ratio stays fixed.

Refractive index

The refractive index tells how much a medium slows light, and so how much it bends light.

Relative refractive index

For light going from medium 1 into medium 2:

n₂₁ = speed of light in medium 1 / speed of light in medium 2 = v₁/v₂

Absolute refractive index

When medium 1 is vacuum (or air, practically the same):

n = c / v

Since light is fastest in vacuum, n is always greater than 1 for any material. It has no unit. Also n₂₁ = n₂/n₁ and n₁₂ = 1/n₂₁.

Mediumn (approx.)
Air1.0003
Water1.33
Kerosene1.44
Crown glass1.52
Diamond2.42

Diamond has one of the highest values, which is part of why it sparkles so much.

Refraction through a rectangular glass slab

A ray hitting a glass slab bends twice: toward the normal at the first face (air → glass) and away from the normal at the second face (glass → air).

This is the classic lab activity: trace a slab, fix pins along a ray, and measure i, r and e with a protractor.

Refraction in daily life and board-exam pointers

What is asked: the two laws, the definition of refractive index and n = c/v numericals (1–3 marks), which medium is optically denser from a table, and the glass slab ray diagram with e = i and lateral displacement (2–3 marks).

Key formulas and definitions

Worked examples

1. The refractive index of glass is 1.5. Find the speed of light in glass.

v = c/n = (3 × 10⁸)/1.5 = 2 × 10⁸ m/s.

2. Light travels at 2.25 × 10⁸ m/s in a liquid. Find the liquid's refractive index.

n = c/v = (3 × 10⁸)/(2.25 × 10⁸) = 1.33 (this is water).

3. n of water = 1.33 and n of glass = 1.5. Find the refractive index of glass with respect to water.

n(glass w.r.t. water) = n_glass / n_water = 1.5/1.33 ≈ 1.13.

4. A ray enters a medium of refractive index √2 (≈ 1.414) from air at 45°. Find the angle of refraction.

sin r = sin i / n = sin 45° / √2 = (1/√2)/√2 = 1/2, so r = 30°.

5. A ray falls at 60° on a glass slab of refractive index √3. Find the angle of refraction inside and the angle of emergence.

sin r = sin 60°/√3 = (√3/2)/√3 = 1/2, so r = 30°. The faces are parallel, so the ray leaves at e = i = 60°, parallel to the incident ray.

6. In which is light faster, glass (n = 1.5) or diamond (n = 2.42)? Find the speed in diamond.

Speed is c/n, so the smaller n (glass) is faster. In diamond v = 3 × 10⁸/2.42 ≈ 1.24 × 10⁸ m/s, while in glass it is 2 × 10⁸ m/s.

7. Light goes from water (n = 1.33) into glass (n = 1.5) at an angle of incidence of 30°. Find the angle of refraction.

Snell's law for two media: n₁ sin i = n₂ sin r. sin r = 1.33 × 0.5 / 1.5 ≈ 0.443, so r ≈ 26.3°. It bends toward the normal because glass is optically denser than water.

Common mistakes

Practice quiz

1. When light goes from air into glass, it:
2. Snell's law states that, for two given media, the following is constant:
3. The refractive index of a medium is 2. The speed of light in it is:
4. In a rectangular glass slab, the emergent ray is:
5. Which medium is optically densest?

Practice: answer these yourself

Type or choose your answer, then press Check. Use a hint if you are stuck; the full solution appears after you answer.

Frequently asked questions

What are the laws of refraction?

1) The incident ray, refracted ray and normal lie in one plane. 2) For a given pair of media and colour of light, sin i / sin r is constant (Snell's law).

What is the refractive index of glass?

About 1.5 (crown glass about 1.52). It means light travels 1.5 times slower in glass than in vacuum.

What is lateral displacement?

The perpendicular distance between the incident ray (extended) and the emergent ray when light passes through a parallel-sided glass slab.

Where this is taught

ItalySecondaria di secondo grado – classe 1ªFoundations, optics, heat and mechanics
ItalySecondaria di secondo grado – classe 2ªFoundations, optics, heat and mechanics
RomaniaClasa a VIII-aOptical phenomena
Ukraine9 класLight phenomena
CBSE (India)Class 10Natural Phenomena
Japan高校2年Waves
Germany (Bavaria)Jahrgangsstufe 8Optics
FranceQuatrièmeSignals
FranceSecondeWaves and signals
FranceTerminaleLab sciences: Waves
Russia9 классLight phenomena
Russia9 классLight phenomena
China八年级(初二)Ch.4 Light
China高二Selective 1 Ch.4 Light

Learn first

Learn next

Related lessons

All Physics lessons