Formula and methodology
n₁ sin θ₁ = n₂ sin θ₂, so θ₂ = arcsin(n₁ sin θ₁ ÷ n₂). If the right-hand side exceeds 1, total internal reflection occurs and no refracted ray exists.
Worked example
With Refractive index of first medium 1, Refractive index of second medium 1.5, Angle of incidence 30, the calculator gives: Angle of refraction (degrees) = 19.47; sin θ₂ (capped at 1) = 0.33; Speed of light in second medium relative to first = 0.67.
How to read the result
Light bends toward the normal when entering a denser medium. A result of 90° with sin θ₂ equal to 1 means the ray would be totally internally reflected instead.
Frequently asked questions
What is total internal reflection?
When light travels from a denser to a less dense medium above the critical angle, it reflects back rather than refracting.
Do refractive indices change with colour?
Yes. Dispersion means each wavelength has a slightly different index.
Assumptions and limitations
This tool uses idealised textbook formulas for learning and quick estimates. Real systems include friction, losses, tolerances and measurement error. Do not use it as the only basis for safety-critical or regulated engineering design.
Browse all calculators · Calculation methodology · Developer guide · Free Embed Builder