Physics Zen
Physics concepts

Snell's Law Explained: Refraction with Worked Examples

October 8, 20269 min read
Snell's Law Explained: Refraction with Worked Examples

A straw standing in a glass of water can look displaced at the waterline. The straw has not bent. Light from its underwater part changes direction as it travels from water to air, so the eye traces those rays back along a direction they did not follow below the surface. That change of direction is refraction.

A ray can also bounce off the surface: that is reflection. In a refraction problem, follow the ray that crosses the boundary. Snell's law tells you its direction once you know the incoming angle and the two materials. The calculation is short; keeping the drawing and angle labels honest is the real work.

Draw the boundary and its normal first

The normal is an imaginary line perpendicular to the surface at the point where the ray meets it. Both the incident angle and the refracted angle are measured between their rays and this normal, never between a ray and the surface. Here is a schematic for an air-to-water ray; its horizontal spacing is illustrative, and the numerical angles are established below.

                  air, n1 = 1.00
 incoming ray  ↘  |  normal
                 \| θ1
------------------+---------------- surface
                   |\ θ2
                   | ↘ transmitted ray
                 water, n2 = 1.33

At the plus sign, draw a short dashed normal if you are working on paper. Label the incoming side 11 and the transmitted side 22. Then write θ1\theta_1 beside the incoming ray and θ2\theta_2 beside the transmitted ray. A good diagram prevents a frequent mistake: using an angle given from the surface directly in Snell's law. If that surface angle is 30∘30^\circ, the angle from the normal is 90∘−30∘=60∘90^\circ-30^\circ=60^\circ.

OpenStax's law of refraction section uses this same normal-line convention. Its drawings also distinguish the reflected ray, which stays on the incident side, from the refracted ray, which enters the second material.

What refractive index means

The refractive index nn compares the speed of light in vacuum, cc, with its speed in a material, vv:

n=cv.n=\frac{c}{v}.

A larger index means a lower speed in this model. We will use nair=1.00n_{\mathrm{air}}=1.00 and nwater=1.33n_{\mathrm{water}}=1.33, rounded values from OpenStax's refraction treatment. The values of a material's index can vary with wavelength. For the calculations below, follow one fixed-frequency ray and treat these indices as constant. The frequency remains unchanged at the boundary, while speed and wavelength change, as explained in OpenStax Physics on refraction.

The relation between the two directions is Snell's law:

n1sin⁡θ1=n2sin⁡θ2.n_1\sin\theta_1=n_2\sin\theta_2.

Its angle variables are from the normal. The indices have no units, so the sine values must also be unitless. Keep a calculator in degrees for the degree angles in this article; switching it to radians will give the wrong numerical answers.

Before calculating, predict the direction. When the second index is larger, sin⁡θ2\sin\theta_2 must be smaller, so the transmitted angle is smaller and the ray bends toward the normal. When the second index is smaller, the transmitted ray bends away, if it exists. At normal incidence, θ1=0∘\theta_1=0^\circ, the transmitted ray continues along the normal without a directional bend even though its speed changes.

Worked example: air into water

Suppose a ray in air meets a flat water surface at 40∘40^\circ from the normal. We want its angle inside water. First record the sides: n1=1.00n_1=1.00, n2=1.33n_2=1.33, and θ1=40∘\theta_1=40^\circ. Since the index rises, expect θ2<40∘\theta_2<40^\circ.

Solve Snell's law for the unknown sine before inserting numbers:

sin⁡θ2=n1n2sin⁡θ1=1.001.33sin⁡40∘=0.6427881.33≈0.483299.\sin\theta_2=\frac{n_1}{n_2}\sin\theta_1 =\frac{1.00}{1.33}\sin40^\circ =\frac{0.642788}{1.33} \approx0.483299.

Take the inverse sine, still in degree mode:

θ2=sin⁡−1(0.483299)≈28.9∘.\theta_2=\sin^{-1}(0.483299)\approx28.9^\circ.

That is smaller than 40∘40^\circ, so the direction check passes. Substitute back to catch a mistyped calculator entry: 1.00sin⁡40∘≈0.64281.00\sin40^\circ\approx0.6428 and 1.33sin⁡28.9∘≈0.6431.33\sin28.9^\circ\approx0.643. The small difference is rounding. If your result were 51∘51^\circ, it would contradict the prediction for entry into the larger-index material.

There is no length unit to attach to 28.9∘28.9^\circ. This problem asks for a direction, and degrees are the output unit. If an exam also asks for speed, calculate it separately from v=c/nv=c/n rather than treating the angle as a speed.

Worked example: water into air

Now send a ray upward through water toward the water-air boundary at 30∘30^\circ from the normal. The side labels reverse: n1=1.33n_1=1.33 for water, n2=1.00n_2=1.00 for air. Because the index falls, predict an angle greater than 30∘30^\circ in air.

sin⁡θ2=1.331.00sin⁡30∘=1.33(0.5)=0.665.\sin\theta_2=\frac{1.33}{1.00}\sin30^\circ =1.33(0.5)=0.665.

Thus:

θ2=sin⁡−1(0.665)≈41.7∘.\theta_2=\sin^{-1}(0.665)\approx41.7^\circ.

The transmitted ray bends away from the normal, as predicted. Back-substitution gives 1.33sin⁡30∘=0.6651.33\sin30^\circ=0.665 and 1.00sin⁡41.7∘≈0.6651.00\sin41.7^\circ\approx0.665. The values match to the shown precision.

Notice what changed between examples: the direction of travel, the order of the indices, and the specified incident angle. Do not exchange n1n_1 and n2n_2 while keeping the old θ1\theta_1. Medium 1 always means the medium the ray starts in for that calculation.

Check impossible answers and the critical angle

The sine of a real angle cannot exceed one. If rearranging Snell's law gives sin⁡θ2>1\sin\theta_2>1, that is not a request to force a calculator answer or round it back down. For light traveling from a higher index to a lower one, it marks the total internal reflection region of this ideal ray model. There is then no transmitted refracted ray at that incident angle.

At the limiting incident angle, the transmitted ray would run along the boundary, with θ2=90∘\theta_2=90^\circ. Set sin⁡90∘=1\sin90^\circ=1 in Snell's law and solve for the critical angle:

sin⁡θc=n2n1,θc=sin⁡−1 ⁣(n2n1),n1>n2.\sin\theta_c=\frac{n_2}{n_1},\qquad \theta_c=\sin^{-1}\!\left(\frac{n_2}{n_1}\right),\quad n_1>n_2.

For our rounded water-to-air indices, θc=sin⁡−1(1.00/1.33)≈48.8∘\theta_c=\sin^{-1}(1.00/1.33)\approx48.8^\circ. That is an independently rounded calculation using the values chosen here; OpenStax's total internal reflection section gives the rule and illustrates the boundary. Our 30∘30^\circ example lies below the critical angle, so it produces a transmitted ray. At 60∘60^\circ from the normal, the same calculation asks for sin⁡θ2=1.33sin⁡60∘≈1.152\sin\theta_2=1.33\sin60^\circ\approx1.152, which is impossible. The ray is totally internally reflected in this model.

The equality case matters. At the critical angle the refracted direction is 90∘90^\circ, along the surface. For incidence greater than that angle, total internal reflection occurs. It cannot occur when a ray travels from air into water, because that trip starts with the smaller index. Also keep ordinary partial reflection separate from this limiting case: a boundary can reflect some light even when a transmitted ray exists.

Three practice questions, with answers

1. An angle is given from the surface. A ray arrives from air at 25∘25^\circ to a flat water surface. What incident angle belongs in Snell's law, and what is the refracted angle? The normal is perpendicular to the surface, so θ1=90∘−25∘=65∘\theta_1=90^\circ-25^\circ=65^\circ. Then:

sin⁡θ2=1.001.33sin⁡65∘≈0.9063081.33≈0.681434,θ2≈43.0∘.\sin\theta_2=\frac{1.00}{1.33}\sin65^\circ \approx\frac{0.906308}{1.33}\approx0.681434, \qquad \theta_2\approx43.0^\circ.

The answer is measured from the normal and is smaller than 65∘65^\circ, as entry into water requires.

2. The ray is normal to the surface. A ray goes from water to air at 0∘0^\circ from the normal. Snell's law gives 1.33sin⁡0∘=1.00sin⁡θ2=01.33\sin0^\circ=1.00\sin\theta_2=0, so θ2=0∘\theta_2=0^\circ. The transmitted direction stays straight. It does not mean the two materials have equal refractive indices.

3. Can a transmitted ray exist? A water-to-air ray has θ1=50∘\theta_1=50^\circ from the normal. The calculation gives sin⁡θ2=1.33sin⁡50∘≈1.019\sin\theta_2=1.33\sin50^\circ\approx1.019. Because this exceeds one, no transmitted-ray angle exists in this model. Equivalently, 50∘50^\circ exceeds the approximately 48.8∘48.8^\circ critical angle. Do not report sin⁡−1(1.019)\sin^{-1}(1.019) as a real angle.

Once you can label the normal and predict the bend before calculating, try the Physics Zen optics topic, which includes reflection, refraction and critical-angle practice. The same habit helps with diagram-heavy exam questions: A-level physics preparation, Abitur physics preparation, and bac physique preparation cover broader revision plans. In each new refraction problem, name the incident medium first, measure both angles from the normal, and check the sine before pressing inverse sine.

Frequently asked questions

Why does Snell's law use sine?

The sine captures how much of a ray's direction runs along the boundary. The wave geometry at a flat interface links that component on the two sides, producing n1sin⁡θ1=n2sin⁡θ2n_1\sin\theta_1=n_2\sin\theta_2. For solving a ray problem, the practical point is to use angles from the normal and keep each index with the angle in its own medium.

Does the frequency change when light refracts?

No. In this boundary model, frequency remains the same. Speed and wavelength change with the medium. A material's refractive index can also vary with wavelength, so a broad mixture of colors may separate; our numerical examples follow one ray using one chosen pair of indices.

Is a larger refractive index always a larger bending angle?

No. Compare the two indices and the incident angle. For a fixed incident angle in medium 1, a larger n2n_2 produces a smaller angle from the normal in medium 2. At 0∘0^\circ incidence, the direction does not bend at all. Always state which angle you mean before comparing numbers.