Angle of Refraction Calculator (Snell’s Law Explained)

The Angle of Refraction Calculator computes the refraction angle r when light passes between two media. It uses Snell’s law and your input refractive indices and incident angle to produce a direct, accurate result.

What Is the Angle of Refraction?

The angle of refraction is the angle r that a light ray bends to as it enters a new medium. It is measured from the normal (an imaginary line perpendicular to the surface).

When light changes speed in a different material, it bends. The amount of bending depends on how strongly each medium slows light, which is described by its refractive index.

Core Concept: Snell’s Law

Snell’s law relates the incident angle and refraction angle to the refractive indices of two media. It is the foundation behind any Angle of Refraction Calculator.

Use this equation:

n₁ · sin(θ) = n₂ · sin(r)

  • n₁ = refractive index of the first medium
  • n₂ = refractive index of the second medium
  • θ = angle of incidence (incident angle)
  • r = angle of refraction (what you solve for)

Solving for the refraction angle

Rearrange Snell’s law to compute r:

sin(r) = (n₁ / n₂) · sin(θ)

Then take the inverse sine:

r = arcsin( (n₁ / n₂) · sin(θ) )

Units and Angle Conventions

Angle problems can be expressed in degrees or radians. Most classroom and lab work uses degrees, but the math is the same.

  • If you input degrees, the calculator returns degrees by default.
  • If you input radians, it returns radians (or you can switch units).
  • Internally, the calculator converts everything to a consistent unit before applying the trig functions.

What the Calculator Inputs Mean

InputSymbolMeaning
Incident angleθAngle between the incoming ray and the normal
Refractive index (Medium 1)n₁Optical density of the first material
Refractive index (Medium 2)n₂Optical density of the second material

Refractive index is a dimensionless number (no units). Typical values at visible wavelengths include:

  • Air: ~1.0003
  • Water: ~1.33
  • Glass: ~1.50
  • Diamond: ~2.42

How to Interpret the Result

The calculator outputs the refraction angle r in the unit you select. If the computed value is valid, you can use it to predict how the ray bends at the boundary.

Pay attention to these two common interpretations:

  • If n₂ > n₁, the ray bends toward the normal (r is smaller than θ).
  • If n₂ < n₁, the ray bends away from the normal (r is larger than θ).

Common Edge Case: Total Internal Reflection

Sometimes there is no refraction angle because light cannot pass into the second medium. This happens under total internal reflection.

In Snell’s law terms, if the value inside arcsin is outside the range [-1, 1], refraction is not physically possible. The calculator detects this and reports that total internal reflection occurs.

Rule of thumb: total internal reflection is most likely when light goes from a higher refractive index medium to a lower one and the incident angle is large.

Practical Example 1: Air to Glass

Suppose a light ray hits a glass surface from air. Use n₁ = 1.0003 (air), n₂ = 1.50 (glass), and an incident angle θ = 30°.

Snell’s law gives:

sin(r) = (1.0003 / 1.50) · sin(30°)

This yields a refraction angle r that is smaller than 30°, meaning the ray bends toward the normal—exactly what you expect when entering a denser medium.

Practical Example 2: Water to Air

Now imagine light going from water into air. Take n₁ = 1.33 (water), n₂ = 1.0003 (air), and θ = 60°.

Because you are moving from a higher refractive index to a lower one, the ray bends away from the normal. For sufficiently large angles, the calculator will indicate total internal reflection instead of returning a refraction angle.

Frequently Asked Questions

What is the angle of refraction, and how is it measured?

The angle of refraction is the angle between the refracted ray and the normal at the boundary. Like the incident angle, it is measured from the normal line, not from the surface. This convention makes Snell’s law consistent and lets you compare bending across materials.

How do I use Snell’s law to find the refraction angle?

Snell’s law states n₁·sin(θ)=n₂·sin(r). To find the refraction angle, rearrange to sin(r)=(n₁/n₂)·sin(θ), then compute r=arcsin(value). Use the same angle unit throughout, and ensure refractive indices are positive.

Why does the calculator sometimes report total internal reflection?

Total internal reflection occurs when the computed sin(r) value falls outside the valid range from −1 to 1. Physically, the refracted ray cannot propagate into the second medium. The calculator flags this condition so you don’t try to take arcsin of an impossible value.

Do refractive indices have units?

No. Refractive index is dimensionless because it represents a ratio of speeds of light in materials. For example, n = c/v, where c is the speed of light in vacuum and v is the speed in the medium. Use typical tabulated values for your materials.

What happens if I enter angles in radians instead of degrees?

Snell’s law uses sine and arcsine, so it works with either degrees or radians as long as you are consistent. The calculator converts inputs and outputs based on your selected unit. If you mix units, the numeric result will be wrong because trig functions interpret the angle differently.

Summary: Get the Refraction Angle Fast

The Angle of Refraction Calculator applies Snell’s law to compute r directly from your incident angle and refractive indices. It also detects total internal reflection when refraction is physically impossible.

Use it for optics homework, lens and window design checks, and any situation where light bends at a material boundary.

Leave a Comment

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

Scroll to Top