Snell's Law Refraction Calculator

📐 计算公式
斯涅尔折射定律(本页代码口径):s=n₁×sin(θ₁)÷n₂,θ₂=arcsin(s)×180÷π(°,θ₁ 先化弧度 θ₁×π÷180)。校验:n₁、n₂ 须 > 0;入射角为相对法线角度,须 0° ≤ θ₁ < 90°,空值/越界即提示并中止。判据:s>1 时无实折射角,判定「发生全反射(无折射)」,否则输出折射角 θ₂。

Compute the refraction angle from incidence angle and the two refractive indices using n₁sinθ₁ = n₂sinθ₂, and detect total internal reflection. For geometrical optics and fiber transmission.

Standards & References

Item Standard / Source Key Point
Snell's lawSnell (1621); Descartes (1637); Classic optics (Hecht, Optics, 5th ed.)n1*sinθ1 = n2*sinθ2
📌 计算说明
  • n₁sinθ₁ = n₂sinθ₂。
  • 光从空气入玻璃会向法线偏折。