Snell's law refraction angle calculator
Find the angle at which light refracts by entering two refractive indices and the angle of incidence.
anındahesapla Editör Ekibi · Updated:
Light crossing from air (n₁ = 1) into glass (n₂ = 1.5) at 30° bends to 19.47°. This tool solves n₁ sin θ₁ = n₂ sin θ₂ for the unknown angle. Three inputs go in, one angle comes out, in degrees.
Speed changes whenever a ray passes from one transparent material into another, and that shift in speed is what turns the beam onto a new path through the second substance. By hand, solving for the bent angle means taking a sine, dividing by the second index and then applying an inverse sine, a sequence where small slips with a calculator button easily creep in. Here those operations run instantly and the answer appears rounded to two decimal places. Homework checks, lab measurements and rough lens or prism sketches all benefit. Students use it often.
Result
19.47°
Refraction angle: 19.47°
Result in all units
Step-by-step solution
n₁ sin θ₁ = n₂ sin θ₂
What is Snell's law?
Snell's law describes how much a ray of light bends at the boundary between two transparent media. It states that the index of the first medium multiplied by the sine of the incidence angle equals the index of the second medium multiplied by the sine of the refraction angle. Written as an equation: n₁ sin θ₁ = n₂ sin θ₂. A ray entering a higher index material bends toward the normal. Going into a lower index material, it bends away.
One output comes from three inputs. Medium 1 refractive index (n₁) describes where the light starts and carries no units. Angles of incidence (θ₁) are measured in degrees between the incoming ray and the normal, an imaginary line drawn perpendicular to the surface at the point of contact. Medium 2 refractive index (n₂) describes the material the light enters. Its result, the refraction angle (θ₂), is also measured from the normal. Measuring from the surface instead throws the answer off badly. That slip is common.
Refraction sits behind many optical tools and everyday sights. Eyeglass and camera lenses, microscopes, telescopes, prisms that split white light into colours and fibre optic cables that guide light along a path all depend on it. In a glass of water, a standing pencil looks broken at the surface. Pool floors appear shallower than they are for the same reason. Mirages over hot roads come from gradual bending through layers of air whose index shifts with temperature. Rainbows form when droplets bend each colour by a slightly different amount. Physics courses start nearly every refraction problem from this relation.
How to calculate the refraction angle
To find θ₂, rearrange the law so the unknown sine stands alone. First compute sin θ₂ as n₁ × sin(θ₁) / n₂, then take the inverse sine of that value to get the angle itself. Using the calculator takes a few steps:
- Type the refractive index of the starting medium into the medium 1 refractive index (n₁) field.
- Enter the angle between the incoming ray and the normal, in degrees, as the angle of incidence (θ₁).
- Fill in the refractive index of the second medium in the medium 2 refractive index (n₂) field.
- Read the refraction angle (θ₂), measured from the normal as well.
| Quantity | Value |
|---|---|
| Medium 1 refractive index (n₁) | 1 |
| Angle of incidence (θ₁) | 30° |
| Medium 2 refractive index (n₂) | 1.5 |
| Refraction angle (θ₂) | 19.47° |
Rays starting inside a denser material behave differently. Should the computed sine rise above unity, no refracted ray exists and all light reflects back inside, an effect called total internal reflection that fibre optic cables depend on. Watch for radian mode too. Typing degree values into a handheld device set to radians produces nonsense when checking by hand.