Snell\’s Law Calculator






Snell’s Law Calculator – Calculate Angle of Refraction


Snell’s Law Calculator

Calculate the angle of refraction or check for total internal reflection when light travels between two different media using our Snell’s Law Calculator.

Calculator



E.g., 1.00 for Air, 1.33 for Water, 1.52 for Glass. Must be ≥ 1.


E.g., 1.33 for Water, 1.52 for Glass, 2.42 for Diamond. Must be ≥ 1.


Angle between 0° and 90° (relative to the normal).

Enter values to see results

Angle of Incidence (θ1) in radians: –

sin(θ1): –

sin(θ2) (n1/n2 * sin(θ1)): –

Critical Angle: –

Formula: n1 * sin(θ1) = n2 * sin(θ2)
θ2 = asin((n1/n2) * sin(θ1))

Graph of Angle of Refraction (θ2) vs. Angle of Incidence (θ1) for the given refractive indices.

Material Approx. Refractive Index (at 589 nm)
Vacuum 1.0000
Air (STP) 1.0003
Water 1.333
Ethanol 1.36
Crown Glass 1.52
Flint Glass 1.62
Diamond 2.417

Table of common refractive indices.

What is the Snell’s Law Calculator?

A Snell’s Law Calculator is a tool used to determine the angle of refraction (or bending) of light as it passes from one medium to another, or to find the critical angle for total internal reflection. It’s based on Snell’s Law, a fundamental principle in optics. The calculator takes the refractive indices of the two media and the angle of incidence as inputs to calculate the angle of refraction.

This calculator is useful for students of physics, engineers working with optical systems, and anyone interested in how light behaves when it crosses a boundary between different materials (like air to water, or glass to air). It helps visualize and quantify the change in direction of a light ray.

Common Misconceptions

  • Snell’s Law applies to all waves: While Snell’s law is primarily discussed for light, the principle applies to other types of waves (like sound waves or water waves) when they move from one medium to another with different wave speeds.
  • The angle is measured from the surface: The angles of incidence and refraction are always measured with respect to the “normal,” which is a line perpendicular to the surface at the point where the light ray strikes.
  • Refractive index is always greater than 1: For most materials, yes. The refractive index of a vacuum is exactly 1, and for air, it’s very close to 1. Some exotic materials or metamaterials can exhibit a refractive index less than 1 for certain frequencies.

Snell’s Law Calculator Formula and Mathematical Explanation

Snell’s Law describes the relationship between the angles of incidence and refraction and the refractive indices of the two media involved. The formula is:

n1 sin(θ1) = n2 sin(θ2)

To find the angle of refraction (θ2), we rearrange the formula:

sin(θ2) = (n1 / n2) * sin(θ1)

θ2 = asin((n1 / n2) * sin(θ1))

Where:

Variable Meaning Unit Typical Range
n1 Refractive index of the first medium (where light originates) Dimensionless ≥ 1 (e.g., Air ≈ 1.00, Water ≈ 1.33)
n2 Refractive index of the second medium (where light enters) Dimensionless ≥ 1 (e.g., Glass ≈ 1.52, Diamond ≈ 2.42)
θ1 Angle of incidence (angle between the incident ray and the normal) Degrees (or radians) 0° to 90°
θ2 Angle of refraction (angle between the refracted ray and the normal) Degrees (or radians) 0° to 90° (or total internal reflection)

If n1 > n2 and the value of (n1 / n2) * sin(θ1) becomes greater than 1, sin(θ2) would be greater than 1, which is impossible. This indicates that refraction does not occur, and instead, Total Internal Reflection (TIR) happens. The critical angle (θc) at which TIR begins is when sin(θ2) = 1 (so θ2 = 90°):

sin(θc) = n2 / n1 (only if n1 > n2)

Our Snell’s Law Calculator checks for this condition.

Practical Examples (Real-World Use Cases)

Example 1: Light from Air to Water

Imagine a light ray from air (n1 ≈ 1.00) entering water (n2 ≈ 1.33) at an angle of incidence (θ1) of 45°.

  • n1 = 1.00
  • n2 = 1.33
  • θ1 = 45°

sin(θ2) = (1.00 / 1.33) * sin(45°) ≈ 0.7519 * 0.7071 ≈ 0.5317

θ2 = asin(0.5317) ≈ 32.1°

The light bends towards the normal as it enters the denser medium (water).

Example 2: Light from Glass to Air (Checking for TIR)

Consider light traveling within glass (n1 ≈ 1.52) towards air (n2 ≈ 1.00) at an angle of incidence (θ1) of 50°.

  • n1 = 1.52
  • n2 = 1.00
  • θ1 = 50°

First, let’s find the critical angle: sin(θc) = n2 / n1 = 1.00 / 1.52 ≈ 0.6579, so θc ≈ asin(0.6579) ≈ 41.1°.

Since our angle of incidence (50°) is greater than the critical angle (41.1°), we expect total internal reflection.

Let’s check with Snell’s Law: sin(θ2) = (1.52 / 1.00) * sin(50°) ≈ 1.52 * 0.7660 ≈ 1.164. Since 1.164 > 1, there is no real angle θ2 for refraction, and total internal reflection occurs. Our Snell’s Law Calculator will indicate this.

How to Use This Snell’s Law Calculator

  1. Enter n1: Input the refractive index of the first medium (where the light is coming from).
  2. Enter n2: Input the refractive index of the second medium (where the light is going to).
  3. Enter Theta1: Input the angle of incidence in degrees, measured from the normal to the surface.
  4. Read the Results: The calculator will instantly display the angle of refraction (θ2) in degrees, or indicate if total internal reflection occurs. It also shows intermediate values and the critical angle if n1 > n2.
  5. Interpret the Chart: The chart visually represents how the angle of refraction changes with the angle of incidence for the given refractive indices. If n1>n2, it also marks the critical angle.

If the result shows “Total Internal Reflection,” it means light does not pass into the second medium but reflects entirely back into the first medium. This happens when light goes from a denser (higher n) to a rarer (lower n) medium at an angle greater than the critical angle.

Key Factors That Affect Snell’s Law Calculator Results

  • Refractive Index of Medium 1 (n1): The optical density of the medium light is leaving. Higher n1 generally leads to more bending when entering a medium with lower n2.
  • Refractive Index of Medium 2 (n2): The optical density of the medium light is entering. The greater the difference between n1 and n2, the more the light bends.
  • Angle of Incidence (θ1): The angle at which light strikes the interface. As θ1 increases, θ2 also increases (up to the point of TIR if n1>n2).
  • Wavelength of Light (Color): Refractive indices are slightly dependent on the wavelength of light (dispersion). Our Snell’s Law Calculator uses a single value for n, typically for yellow light (around 589 nm), but be aware that different colors bend slightly differently.
  • Temperature and Pressure: For gases, the refractive index can change with temperature and pressure. For liquids and solids, temperature effects are usually smaller but present.
  • Transition from Denser to Rarer Medium (n1 > n2): In this scenario, there’s a possibility of Total Internal Reflection if the angle of incidence exceeds the critical angle, which depends on n1 and n2.

Frequently Asked Questions (FAQ)

What happens if n1 = n2?

If the refractive indices are the same, n1/n2 = 1, so sin(θ1) = sin(θ2), meaning θ1 = θ2. The light ray passes straight through without bending, as if there’s no boundary.

Can the angle of refraction be greater than 90 degrees?

No, the angle of refraction is physically meaningful between 0 and 90 degrees. If the calculation suggests sin(θ2) > 1, it means the angle of incidence has exceeded the critical angle (if n1>n2), and total internal reflection occurs instead of refraction.

What is the ‘normal’?

The normal is an imaginary line perpendicular to the surface or interface between the two media at the point where the light ray hits.

Does Snell’s Law apply to curved surfaces?

Yes, but it’s applied at the point of incidence, considering the tangent to the curve at that point as the surface, and the normal perpendicular to that tangent.

What is the refractive index?

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

Why does light bend when it enters a different medium?

Light bends because its speed changes as it moves from one medium to another. If it hits the boundary at an angle, one side of the wavefront changes speed before the other, causing the wavefront to change direction. Check out our optics basics guide for more.

Can I use this Snell’s Law Calculator for any type of wave?

The principle of Snell’s Law (relating angles and speeds/indices) applies to other waves like sound waves, but the refractive indices (or wave speeds) will be specific to those waves and media.

Where can I find refractive index values?

Our calculator provides a table, and you can find more extensive data in physics handbooks or our refractive index database.



Leave a Reply

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