Snell's Law Calculator

Explore refraction quickly with precise angle conversion tools. Choose an unknown and compute it reliably. Validate media indices and visualize boundary conditions clearly today.

Calculator

Pick the unknown value you want to compute.
Angles are interpreted using this unit.
Typical values: air 1.000, water 1.333.
Glass often ranges from 1.45 to 1.70.
Measured from the surface normal.
Also measured from the surface normal.

Formula Used

Snell's law relates refraction at an interface between two optical media:

Core relationn1 sin(θ1) = n2 sin(θ2)
Refracted angleθ2 = asin((n1/n2) sin(θ1))
Critical angleθc = asin(n2/n1), when n1 > n2

If the computed sine magnitude exceeds 1, total internal reflection occurs.

How to Use This Calculator

  1. Select which quantity you want to solve for.
  2. Choose degrees or radians for the angle unit.
  3. Enter the known refractive indices and angles.
  4. Press Calculate to view results above the form.
  5. Use the CSV and PDF buttons to export the displayed result.

Example Data Table

Sample cases you can try to verify behavior.

Medium 1 n1 Medium 2 n2 Incident θ1 (deg) Expected θ2 (deg) Notes
1.000 1.333 30 22.02 Air to water refraction
1.000 1.500 45 28.13 Air to glass refraction
1.500 1.000 50 May trigger total internal reflection

Snell's Law and Refraction Basics

Snell's law links the bending of light to the refractive indices of two media. When a ray crosses an interface, the component of its wave vector parallel to the boundary stays continuous. This constraint produces the relation n1sin(θ1) = n2sin(θ2). The calculator applies this rule to solve angles or indices consistently.

Inputs Interpreted by the Calculator

Enter refractive indices n1 and n2 as positive, unitless values. Enter angles as degrees or radians, depending on your selected unit. The tool can solve for θ1, θ2, n1, n2, or the critical angle θc. Results also report wave speed estimates using v = c/n, where c = 299,792,458 m/s.

Typical Refractive Index Ranges

Many practical scenarios fall into common index ranges. Air is close to 1.000, water is about 1.333, and typical glasses range from roughly 1.45 to 1.70. Plastics often sit near 1.49. High-index materials can exceed 2.0. Using realistic values helps you detect input mistakes quickly, especially when angles appear nonphysical.

Angle Conventions and Units

Snell's law uses angles measured from the surface normal, not from the surface itself. A 0° incident angle means the ray hits straight on. For small angles, sin(θ) ≈ θ (in radians), so refraction looks almost linear. If you work in degrees, the calculator converts internally to radians for trigonometric functions, then converts back for display.

Total Internal Reflection and Critical Angle

Total internal reflection occurs when light travels from a higher-index medium to a lower-index medium and the incident angle is large. Mathematically, if |(n1/n2)sin(θ1)| > 1, then θ2 is not real, and the tool shows a dash with a note. The critical angle is θc = asin(n2/n1) when n1 > n2.

Speed and Wavelength Considerations

Because v = c/n, higher refractive index implies lower phase velocity in that medium. In real materials, n varies with wavelength (dispersion), so refraction can be slightly different for red versus blue light. For precise optics, use indices measured at a specified wavelength, such as the sodium D-line. The calculator models single-wavelength behavior using your provided indices.

Measurement Tips for Lab Work

To reduce error, ensure your reference normal is drawn accurately and measure angles with a consistent convention. If you record several trials, keep units consistent and export results to CSV for a lab notebook. When estimating indices from angles, avoid θ values too close to 0°, since small sines can make index calculations unstable. Multiple measurements and averaging improve reliability.

Common Use Cases and Checks

Snell's law is used for lens design, fiber optics, prism deviation estimates, and interface refraction in imaging systems. A quick check is that bending is toward the normal when entering a higher-index medium, and away from the normal when entering a lower-index medium. If your computed θ2 violates that trend, recheck which side is medium 1 versus medium 2.

FAQs

1) What does refractive index mean?

Refractive index n describes how much a medium slows light compared with vacuum. It also relates to optical density and refraction strength. Higher n usually means stronger bending at interfaces.

2) Why are angles measured from the normal?

The normal simplifies the boundary geometry and matches the derivation from wavefront continuity. Using the surface would swap sine and cosine terms and break the standard form of Snell's law.

3) Why does the refracted angle sometimes show a dash?

A dash indicates no real refracted angle exists for the given inputs. This happens during total internal reflection when the computed sine value exceeds one in magnitude.

4) Can I enter negative angles?

Yes. Negative angles represent rays on the opposite side of the normal. The law remains valid because sine carries the sign. For most practical work, use positive magnitudes and track direction separately.

5) What is the critical angle used for?

The critical angle marks the onset of total internal reflection when light goes from higher n to lower n. It is essential in fiber optics, waveguides, and reflective interface design.

6) Does Snell's law apply to all materials?

It applies well to isotropic, homogeneous media. In anisotropic crystals, refraction depends on polarization and direction, so more advanced models are needed. Use this tool for standard isotropic cases.

7) What do the CSV and PDF downloads include?

Exports include your chosen unit, solved variable, indices, angles, critical angle, speed estimates, and any notes. Run a calculation first, then click the download buttons to save the latest result.

Related Calculators

Optical waveguide lossOptical fiber attenuationOptical fiber dispersionFiber numerical apertureFiber V numberMode field diameterBending loss fiberCoupling efficiency fiberGraded index profileStep index fiber

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.