Answer
The two main formulas for calculating refractive index are:
- Speed-based formula: n = c/v (ratio of light speed in vacuum to light speed in the medium)
- Snell's Law formula: n₁ sin θ₁ = n₂ sin θ₂, which can be rearranged to find the relative refractive index: n₂₁ = n₂/n₁ = sin θ₁/sin θ₂
For a single medium relative to air/vacuum: n = sin i/sin r (where i is the angle of incidence and r is the angle of refraction)