SCIENCE • OPTICS & ELECTRICITY

Snell's Law Calculator

Calculate refraction angles using Snell's law.

Formula

n₁ sinθ₁ = n₂ sinθ₂

Worked example

Use the inputs above to reproduce a classroom calculation and compare the displayed result with the formula.

Assumptions and limits

This is an introductory model. Keep units consistent and follow the sign, geometry and physical assumptions required by the formula.

Snell's Law Calculator Guide — Refraction & Angles

Use this tool to calculate refraction angles when light passes between media with different refractive indices.

Search intent: Snell's law calculator, refraction calculator, refractive index calculator, angle of refraction, angle of incidence calculator, optics refraction solver, n1 sin theta calculator.

Angles are measured from the normal to the surface. Check whether the chosen media and angle convention match the diagram in the question.

Related calculators

Science Hub · Force · Kinematics · Wave Speed

Practical interpretation

Use the calculator with consistent units and a clearly defined physical model. The numerical result is only as reliable as the measurements, assumptions and sign conventions supplied as inputs.

Check before using the result

Confirm the relevant medium or material, reference direction, unit system and whether the idealized equation matches the situation being modeled. Real systems can require additional terms or corrections.

Calculator FAQ

Why can a textbook result differ from a real measurement?

Textbook equations often use ideal assumptions such as negligible losses, constant properties or simplified geometry. Real measurements can include uncertainty and effects that the basic model does not represent.

Snell's Law Calculator: Refraction and Critical Conditions

Snell's law describes how a light ray changes direction when it crosses a boundary between two transparent media. The refracted angle depends on both refractive indices and the angle of incidence. Angles in this calculator are measured from the normal to the boundary, not from the surface itself.

Formula

n₁ sin(θ₁) = n₂ sin(θ₂), where n₁ and n₂ are the refractive indices of the first and second media. To solve for the refracted angle, calculate sin(θ₂) = n₁ sin(θ₁) ÷ n₂, then take the inverse sine. The calculator converts degrees to radians internally for the trigonometric calculation.

Worked example

For light travelling from air (approximately n₁ = 1.00) into a material with n₂ = 1.50 at an incident angle of 30°, sin(θ₂) = 1.00 × sin(30°) ÷ 1.50 = 0.3333. The refracted angle is approximately 19.47°. The ray bends toward the normal as it enters the higher-index medium.

How to use the calculator

  1. Enter the refractive index of the incident medium.
  2. Enter the incident angle from the normal, between 0° and 90° for this interface.
  3. Enter the refractive index of the second medium.
  4. Calculate and compare the result with a ray diagram.

Total internal reflection

When light travels from a higher-index medium toward a lower-index medium, the expression for sin(θ₂) can exceed 1 at sufficiently large incident angles. No real refracted angle then exists; the physical condition is total internal reflection. The critical angle satisfies sin(θc) = n₂ ÷ n₁ when n₁ is greater than n₂. Real materials may have wavelength-dependent refractive indices, and the simple model assumes a clean boundary and ideal ray optics.

Frequently asked questions

Are angles measured from the surface?

No. Snell's law uses angles measured from the normal, perpendicular to the boundary.

Why might there be no refracted angle?

Total internal reflection can occur when light travels from a higher to a lower refractive index.

Is refractive index measured in units?

No. It is a dimensionless ratio of light speeds in vacuum and the medium.