Snell\’s Law Calculator






Snell’s Law Calculator – Calculate Angle of Refraction


Snell’s Law Calculator

Calculate the angle of refraction or incidence using Snell’s Law when light passes between two different media. Enter the refractive indices and one angle to find the other.


E.g., 1.0003 for Air, 1.333 for Water, 1.52 for Crown Glass. Must be ≥ 1.


Angle between the incident ray and the normal (0-90 degrees).


E.g., 1.333 for Water, 1.52 for Crown Glass, 2.417 for Diamond. Must be ≥ 1.



Enter values and click Calculate
Angle of Refraction (θ₂)

Sin(θ₁):

n₁/n₂ Ratio:

Sin(θ₂):

Critical Angle (if n₁>n₂):

Formula: n₁ * sin(θ₁) = n₂ * sin(θ₂)

Angle of Refraction vs. Incidence

Chart showing θ₂ vs θ₁ for current n₁, n₂ (blue), and for n₂=1.5 (green) & n₂=2.0 (red) with n₁=1.0003. Dashed line: θ₁=θ₂.

Common Refractive Indices (at ~589 nm)

Material Refractive Index (n)
Vacuum 1.0000
Air (STP) 1.0003
Ice 1.31
Water (20°C) 1.333
Ethanol 1.36
Glycerol 1.47
Fused Quartz 1.46
Crown Glass 1.50 – 1.54 (typically 1.52)
Flint Glass 1.57 – 1.75
Sapphire 1.77
Diamond 2.417
Approximate refractive indices for common materials at yellow light wavelength (589 nm). Values can vary slightly with wavelength and temperature.

What is Snell’s Law Calculator?

A Snell’s Law Calculator is a tool used to determine the angle of refraction or incidence of a wave, typically light, as it passes from one medium to another with a different refractive index. It applies Snell’s Law of refraction, a fundamental principle in optics. This calculator helps visualize and quantify how light bends when it crosses the boundary between two different transparent materials, such as air and water, or air and glass.

Anyone studying or working with optics, physics, engineering, material science, or even photography can benefit from a Snell’s Law Calculator. Students use it to understand the principles of refraction, while engineers and scientists use it for designing lenses, optical fibers, and other optical instruments. Photographers can use the underlying principles to understand how lenses work and how light behaves underwater.

A common misconception is that light always bends towards the normal (the line perpendicular to the surface between the media). However, light bends towards the normal only when entering a medium with a higher refractive index (slowing down) and bends away from the normal when entering a medium with a lower refractive index (speeding up). Another misconception is that the angle is measured from the surface, but it’s always measured from the normal.

Snell’s Law Formula and Mathematical Explanation

Snell’s Law is mathematically stated as:

n₁ * sin(θ₁) = n₂ * sin(θ₂)

Where:

  • n₁ is the refractive index of the first medium (where the light is coming from).
  • θ₁ (theta 1) is the angle of incidence, which is the angle between the incident ray and the normal to the surface at the point of incidence.
  • n₂ is the refractive index of the second medium (where the light is going to).
  • θ₂ (theta 2) is the angle of refraction, which is the angle between the refracted ray and the normal to the surface within the second medium.

The refractive index (n) of a medium is a dimensionless number that describes how fast light travels through that medium. It’s defined as the ratio of the speed of light in a vacuum (c) to the speed of light in the medium (v): n = c/v. A higher refractive index means light travels slower in that medium.

To find the angle of refraction θ₂, we rearrange the formula:

sin(θ₂) = (n₁ / n₂) * sin(θ₁)

θ₂ = arcsin((n₁ / n₂) * sin(θ₁))

If n₁ > n₂ and the term (n₁ / n₂) * sin(θ₁) becomes greater than 1, there is no real solution for θ₂, meaning the light does not refract into the second medium but instead undergoes Total Internal Reflection (TIR) at the boundary. The smallest angle of incidence θ₁ at which TIR occurs is called the critical angle (θc), given by sin(θc) = n₂ / n₁.

Variables Table

Variable Meaning Unit Typical Range
n₁ Refractive index of the first medium Unitless 1.0000 (vacuum) upwards (e.g., 1.0003 for air, 1.333 for water, 2.417 for diamond)
θ₁ Angle of incidence (from the normal) Degrees or Radians 0° to 90° (0 to π/2 radians)
n₂ Refractive index of the second medium Unitless 1.0000 (vacuum) upwards
θ₂ Angle of refraction (from the normal) Degrees or Radians 0° to 90° (0 to π/2 radians), or undefined (TIR)
Variables used in the Snell’s Law Calculator.

Practical Examples (Real-World Use Cases)

Example 1: Light from Air to Water

Imagine a ray of light traveling from air (n₁ ≈ 1.0003) and hitting the surface of water (n₂ ≈ 1.333) at an angle of incidence (θ₁) of 45 degrees.

  • n₁ = 1.0003
  • θ₁ = 45°
  • n₂ = 1.333

Using the Snell’s Law Calculator (or formula):

sin(θ₂) = (1.0003 / 1.333) * sin(45°) ≈ 0.750 * 0.707 ≈ 0.530

θ₂ = arcsin(0.530) ≈ 32.0 degrees

So, the light ray bends towards the normal as it enters the water, with an angle of refraction of about 32.0 degrees.

Example 2: Light from Glass to Air (Potential Total Internal Reflection)

Consider light traveling within crown glass (n₁ ≈ 1.52) towards an interface with air (n₂ ≈ 1.0003) at an angle of incidence (θ₁) of 50 degrees.

  • n₁ = 1.52
  • θ₁ = 50°
  • n₂ = 1.0003

First, let’s check the critical angle for glass to air: θc = arcsin(n₂/n₁) = arcsin(1.0003 / 1.52) ≈ arcsin(0.658) ≈ 41.15 degrees.

Since our angle of incidence (50°) is greater than the critical angle (41.15°), we expect Total Internal Reflection.

Let’s see what the formula gives for sin(θ₂):

sin(θ₂) = (1.52 / 1.0003) * sin(50°) ≈ 1.5195 * 0.766 ≈ 1.164

Since sin(θ₂) cannot be greater than 1, there is no real angle of refraction. The light is totally reflected back into the glass. Our Snell’s Law Calculator would indicate Total Internal Reflection.

How to Use This Snell’s Law Calculator

  1. Enter n₁: Input the refractive index of the medium the light is initially traveling in. Common values are provided below the input.
  2. Enter θ₁: Input the angle of incidence in degrees, measured from the normal to the surface.
  3. Enter n₂: Input the refractive index of the medium the light is entering.
  4. Calculate: Click the “Calculate” button or simply change input values. The calculator will automatically update.
  5. Read Results: The primary result is the angle of refraction (θ₂). If n₁ > n₂ and θ₁ is large enough, it will indicate “Total Internal Reflection”. Intermediate values like sin(θ₁), sin(θ₂), n₁/n₂, and the critical angle (if applicable) are also displayed.
  6. Interpret Chart: The chart visually represents how the angle of refraction changes with the angle of incidence for the given n₁ and n₂, and for other n₂ values for comparison.
  7. Reset: Click “Reset” to return to default values.
  8. Copy: Click “Copy Results” to copy the main output and conditions to your clipboard.

Understanding the results helps in predicting the path of light, crucial for designing optical systems or analyzing light behavior.

Key Factors That Affect Snell’s Law Results

  1. Refractive Index of Medium 1 (n₁): The medium from which light originates. A higher n₁ means light travels slower in it.
  2. Refractive Index of Medium 2 (n₂): The medium into which light enters. The ratio n₁/n₂ determines whether light bends towards or away from the normal, and if TIR is possible.
  3. Angle of Incidence (θ₁): The angle at which light strikes the interface. It directly influences θ₂ and determines if TIR occurs (when n₁ > n₂).
  4. Wavelength of Light (Dispersion): The refractive index of most materials varies slightly with the wavelength (or color) of light. This phenomenon is called dispersion, and it’s why prisms split white light into a rainbow. Our Snell’s Law Calculator uses a single value for n, usually for yellow light, but be aware of this effect.
  5. Temperature: The refractive index of materials can change with temperature, although this effect is usually small for solids and liquids but more significant for gases.
  6. Pressure (for gases): The refractive index of gases is proportional to their density, which is affected by pressure.

Using an accurate Snell’s Law Calculator requires inputting the correct refractive indices for the specific materials and conditions.

Frequently Asked Questions (FAQ)

What happens if the angle of incidence (θ₁) is 0 degrees?
If θ₁ = 0°, then sin(θ₁) = 0, so sin(θ₂) = 0, meaning θ₂ = 0°. The light passes straight through without bending, regardless of n₁ and n₂.
What is Total Internal Reflection (TIR)?
TIR occurs when light travels from a denser medium (higher n₁) to a rarer medium (lower n₂) at an angle of incidence greater than the critical angle. Instead of refracting, all the light is reflected back into the denser medium. Our Snell’s Law Calculator detects this.
How is the critical angle calculated?
The critical angle (θc) is defined only when n₁ > n₂ and is given by θc = arcsin(n₂ / n₁). It’s the angle of incidence above which TIR occurs.
Does Snell’s Law apply to other waves besides light?
Yes, Snell’s Law applies to the refraction of other types of waves, such as sound waves and water waves, when they pass from one medium to another where their speed changes.
What are the limitations of Snell’s Law?
Snell’s Law applies to isotropic media (where properties are the same in all directions) and assumes geometric optics (ignoring wave effects like diffraction). It also doesn’t explicitly account for absorption or scattering. For anisotropic media (like some crystals), more complex laws are needed.
Why is the refractive index always greater than or equal to 1?
The refractive index is n = c/v, where c is the speed of light in vacuum and v is the speed in the medium. Since light travels fastest in a vacuum, v is always less than or equal to c, so n is always ≥ 1.
Can I use this Snell’s Law Calculator for any wavelength?
Yes, but you must use the refractive indices (n₁ and n₂) specific to that wavelength for the materials involved. Refractive indices vary with wavelength (dispersion).
Where is Snell’s Law used in real life?
It’s fundamental to the design of lenses (glasses, cameras, telescopes, microscopes), optical fibers for telecommunications, prisms, refractometers (measuring refractive index), and understanding mirages and rainbows.

Related Tools and Internal Resources

Explore other calculators and resources:

© 2023 Your Website. All rights reserved. Use this Snell’s Law Calculator as a guide.



Leave a Reply

Your email address will not be published. Required fields are marked *