Refraction Calculator (Snell's Law)

Calculate angles of refraction when light passes between different media using Snell's Law. Determine how light bends at material boundaries.

degrees

Quick Reference

Air
n = 1.0003
At standard conditions
Water
n = 1.33
At 20 degrees C
Glass
n = 1.50
Crown glass typical
Diamond
n = 2.42
Highest natural n

Key Takeaways

  • Snell's Law relates the angles and refractive indices when light crosses media boundaries
  • Light bends toward the normal when entering a denser medium (higher n)
  • Light bends away from the normal when entering a less dense medium (lower n)
  • Total internal reflection occurs when the angle exceeds the critical angle
  • The refractive index of vacuum is exactly 1.0; air is approximately 1.0003
  • Applications include fiber optics, lenses, prisms, and vision correction

What Is Refraction? Understanding How Light Bends

Refraction is the bending of light as it passes from one transparent medium to another. This phenomenon occurs because light travels at different speeds in different materials. When a light wave crosses the boundary between two media at an angle, the change in speed causes the wave to change direction - much like how a car turns slightly when one wheel hits sand before the other.

The refractive index (n) of a material describes how much slower light travels in that medium compared to a vacuum. A higher refractive index means light travels more slowly. For example, light travels about 25% slower in water (n = 1.33) than in air (n = 1.0003), and almost 60% slower in diamond (n = 2.42).

Snell's Law Formula Explained

n1 sin(theta1) = n2 sin(theta2)
n1 = Refractive index of medium 1
theta1 = Angle of incidence
n2 = Refractive index of medium 2
theta2 = Angle of refraction

This elegant relationship, discovered by Dutch mathematician Willebrord Snellius in 1621, allows us to predict exactly how much light will bend at any interface. The angles are always measured from the normal - an imaginary line perpendicular to the surface at the point where light strikes.

How to Calculate Angle of Refraction (Step-by-Step)

1

Identify the Refractive Indices

Determine n1 (the medium light is traveling FROM) and n2 (the medium light is traveling INTO). For example, light going from air to water: n1 = 1.0003, n2 = 1.33.

2

Measure the Angle of Incidence

Measure the angle (theta1) between the incoming light ray and the normal line. Remember, the normal is perpendicular to the surface, not parallel to it.

3

Apply Snell's Law

Calculate sin(theta2) = (n1/n2) x sin(theta1). For our example with 45 degree incidence: sin(theta2) = (1.0003/1.33) x sin(45) = 0.532

4

Find the Angle of Refraction

Take the inverse sine (arcsin) of your result: theta2 = arcsin(0.532) = 32.1 degrees. The light bends toward the normal because water is denser than air.

Practical Example: Light Entering Water

Medium 1 (Air) n = 1.0003
Incidence Angle 45 degrees
Medium 2 (Water) n = 1.33

Result: Angle of Refraction = 32.1 degrees (light bends toward normal)

Common Refractive Indices Reference Table

Use this table to find refractive indices for common materials when using our calculator:

Material Refractive Index (n) Notes
Vacuum 1.0000 (exact) Reference standard
Air 1.0003 At sea level, 20 degrees C
Water 1.33 Pure water at 20 degrees C
Ice 1.31 At 0 degrees C
Ethanol 1.36 Pure alcohol
Olive Oil 1.47 Cooking oil
Crown Glass 1.52 Common optical glass
Flint Glass 1.62 Higher dispersion glass
Sapphire 1.77 Watch crystals
Cubic Zirconia 2.15 Diamond simulant
Diamond 2.42 Highest natural n

Total Internal Reflection and Critical Angle

When light travels from a denser medium (higher n) to a less dense medium (lower n), something special can happen. If the angle of incidence exceeds a certain value called the critical angle, no light passes through - instead, all of it reflects back into the denser medium. This is total internal reflection.

Critical Angle = arcsin(n2 / n1)
Only applies when n1 > n2 (light going from denser to less dense medium)

For water to air, the critical angle is about 48.6 degrees. This is why you can see a mirror-like reflection when looking up from underwater at steep angles - the surface becomes a perfect mirror!

Pro Tip: Fiber Optics and Total Internal Reflection

Fiber optic cables exploit total internal reflection to transmit light over long distances with minimal loss. The glass core has a higher refractive index than the surrounding cladding, keeping light bouncing along the fiber even around curves. This technology enables high-speed internet and telecommunications worldwide.

Applications of Total Internal Reflection

  • Fiber Optic Communications: Transmit data at the speed of light across continents
  • Diamond Cutting: Strategic cuts maximize internal reflections for brilliance
  • Prisms: Used in binoculars and periscopes to redirect light
  • Medical Endoscopes: Allow doctors to see inside the body
  • Fingerprint Scanners: Detect ridges by their optical contact with glass

Common Mistakes When Calculating Refraction

Avoid These Common Errors

  • Measuring from the surface: Angles must be measured from the NORMAL (perpendicular line), not from the surface itself
  • Swapping n1 and n2: n1 is always the medium light is coming FROM; n2 is where it's going TO
  • Forgetting to convert degrees to radians: Many calculators require radian input for trig functions
  • Ignoring total internal reflection: If sin(theta2) would exceed 1, the calculation is invalid - TIR occurs instead
  • Using wavelength-dependent n values: Refractive index varies with light color; use appropriate values for accurate results
  • Assuming light always bends: At 0 degrees incidence (perpendicular), light passes straight through without bending

Real-World Applications of Refraction

Vision Correction

Eyeglasses and contact lenses work by refracting light before it enters the eye. Nearsighted people need diverging (concave) lenses that spread light rays, while farsighted people need converging (convex) lenses. LASIK surgery actually reshapes the cornea to change how it refracts light, eliminating the need for external lenses.

Photography and Cameras

Camera lenses use multiple glass elements with different refractive indices to focus light precisely onto the sensor. Wide-angle lenses, telephoto lenses, and zoom lenses all achieve their effects through carefully calculated refraction. High-quality lenses use special glass types to minimize chromatic aberration - the color fringing that occurs because different wavelengths refract differently.

Atmospheric Refraction

The atmosphere's density gradient causes continuous refraction. This explains why:

  • The sun appears oval at sunset (more refraction at the bottom)
  • Stars twinkle (turbulent air causes varying refraction)
  • Mirages appear on hot roads (air density gradients bend light)
  • We can see the sun after it has geometrically set below the horizon

Pro Tip: Underwater Photography

Objects underwater appear about 25% closer and larger than they actually are due to refraction at the water-air interface. Professional underwater photographers must account for this optical illusion when composing shots and estimating distances.

Frequently Asked Questions

Snell's Law describes the relationship between angles of incidence and refraction when light passes between two media with different refractive indices. The formula is n1 sin(theta1) = n2 sin(theta2), where n1 and n2 are the refractive indices and theta1 and theta2 are the angles measured from the normal. This law allows us to predict exactly how much light will bend at any interface between transparent materials.

The refractive index (n) is a dimensionless number that describes how fast light travels through a medium compared to vacuum. Vacuum has n=1, air is approximately 1.0003, water is 1.33, and diamond is 2.42. Higher refractive indices mean light travels slower in that medium. The refractive index determines how much light bends when entering that material.

Total internal reflection occurs when light traveling from a denser medium to a less dense medium hits the boundary at an angle greater than the critical angle. Instead of refracting, all light reflects back into the denser medium. This principle is used in fiber optics, diamond cutting, and prisms for binoculars and periscopes.

The critical angle can be calculated using the formula: critical angle = arcsin(n2/n1), where n1 is the refractive index of the denser medium and n2 is the refractive index of the less dense medium. For example, the critical angle for water-to-air is arcsin(1.0003/1.33) = 48.6 degrees. This angle only exists when light travels from a denser to a less dense medium.

Light bends because it travels at different speeds in different media. When light enters a denser medium at an angle, the part of the wavefront that enters first slows down while the rest continues at the original speed, causing the wave to change direction. This is similar to how a car turns when one wheel enters sand before the other, or how marching soldiers turn when one side hits mud first.

Refraction has numerous practical applications: eyeglasses and contact lenses correct vision by bending light before it enters the eye; camera lenses focus images; microscopes and telescopes magnify distant or tiny objects; fiber optic cables transmit data using total internal reflection; prisms split white light into rainbow colors; and diamond cutting maximizes brilliance through strategic internal reflections.

When light enters a denser medium (one with a higher refractive index), it bends toward the normal line - the perpendicular to the surface. The angle of refraction will be smaller than the angle of incidence. For example, light entering water from air bends toward the normal, making objects underwater appear closer to the surface than they actually are.

No, the angle of refraction cannot exceed 90 degrees. When the calculated angle would exceed 90 degrees (which happens when light travels from a denser to less dense medium at angles beyond the critical angle), total internal reflection occurs instead, and no refraction takes place. All the light reflects back into the original medium rather than passing through the boundary.