Back to Physics calculators

Optics · Refraction · Critical angle

Snell's law & total internal reflection calculator

Interactive Snell's law calculator for refraction and critical angle, including total internal reflection checks and step-by-step explanation.

All calculations run in your browser; nothing is uploaded.

Other languages ja | en | zh-CN | es | pt-BR | id | fr | hi-IN | ar

How to use (3 steps)

  1. Select the mode: refraction (Snell's law) or critical angle / total internal reflection.
  2. Enter the refractive indices and angles. Pick which quantity is unknown—the field turns off automatically.
  3. Tap Compute to see the solved value, the critical-angle check, and the step-by-step log. Copy URL shares the exact setup.

A common air → glass example is preloaded and computed on page load so you can see the results immediately.

Inputs

Angles are measured from the normal (0–90°). Values stay on this device.

The greyed-out field is solved automatically.

Results

Ray diagram

n₁ n₂ Refraction mode

Angles are measured from the normal; illustration not to scale.

How it's calculated

    How to use this calculator effectively

    This guide helps you use Snell's law & total internal reflection calculator in a repeatable way: define a baseline, change one variable at a time, and explain each output using explicit assumptions before sharing results.

    How it works

    The calculator applies deterministic formulas to your input values and only rounds at the final display layer. This makes it useful for comparative analysis: keep one scenario as a baseline, then vary assumptions and measure the delta in both absolute terms and percentage terms. If a change appears too large or too small, verify units, period conventions, and sign direction before interpreting the result.

    When to use

    Use this page when you need a fast planning estimate, a classroom check, or a reproducible scenario that teammates can review. It is most effective at the decision-prep stage, where you need to compare options quickly and decide which assumptions deserve deeper modeling or external validation.

    Common mistakes to avoid

    Interpretation and worked example

    Start with a baseline case and save that output. Next, edit one assumption to reflect your realistic alternative, then compare both the direction and size of change. If the direction matches domain intuition and magnitude is plausible, your setup is likely coherent. If not, check hidden defaults, unit conversions, boundary conditions, and date logic before drawing conclusions.

    See also

    FAQ

    What is Snell's law?

    It states n₁ sin θ₁ = n₂ sin θ₂, linking indices and angles measured from the normal. Enter any three of n₁, n₂, θ₁, θ₂ and the tool solves the last one.

    When does total internal reflection happen?

    When light goes from a higher to a lower refractive index and the incidence angle exceeds the critical angle. The calculator shows the critical angle and whether your chosen incidence angle triggers total internal reflection.

    How accurate are the presets?

    Air, water, and glass presets use typical values and ignore small dispersion or temperature effects. They are intended for quick learning examples rather than optical design.

    What should I enter first?

    Start with the minimum required inputs shown above the calculate button, then keep optional settings at their defaults for a first pass. After getting a baseline, change one parameter at a time so you can explain which assumption moved the output.

    How precise are the results?

    The calculator keeps internal precision and rounds only for display. Small differences can still appear if another tool uses different constants, period conventions, or rounding rules. Align assumptions before comparing final values.

    How to use Snell's law & total internal reflection calculator effectively

    What this calculator does

    This page is for estimating outcomes by changing inputs in one controlled workflow. The model keeps your focus on variables, not output shape. Start with stable assumptions, then test sensitivity by changing one key input at a time to observe directional impact.

    Input meaning and unit policy

    Each input has an expected unit and a typical range. For reliable interpretation, check whether you are using the same unit system, period, and base assumptions across all runs. Unit mismatch is the most common source of unexpected drift in numeric results.

    Use-case sequence

    A practical sequence is: first run with defaults, then create a baseline log, then run one alternative scenario, and finally compare only the changed output metric. This sequence reduces cognitive load and prevents false pattern recognition in early experiments.

    Common mistakes to avoid

    Avoid changing too many variables at once, mixing incompatible data sources, and interpreting a one-time output without checking robustness. A single contradictory input can flip conclusions, so keep each experiment minimal and document assumptions as part of your note.

    Interpretation guidance

    Review both magnitude and direction. Direction tells you whether a strategy moves outcomes in the desired direction, while magnitude helps you judge practicality. If both agree, you can proceed; if not, rebuild the baseline and verify constraints before deciding.

    Operational checkpoint 1

    Record the exact values and intent before you finalize any comparison. Confirm the unit system, date context, and business constraints. Compare outputs side by side and check whether differences are explained by one changed variable or by hidden assumptions. This checkpoint often reveals the single factor that changed everything.

    Comments

    Load Giscus only if you want to leave a comment.