Err

Luxeri Optics Lab

Free optics calculators and simulators

Ten interactive tools, free and without registration.

AVAILABLE · FREE

Snell’s law simulator

Explore refraction, total internal reflection and the critical angle. Adjust the refractive indices and incidence angle to see the ray paths.

Open the simulator

Understand the model

n₁ sin θ₁ = n₂ sin θ₂. The reflected angle equals the incident angle. For air (1) to glass (1.5) at 45°, the refracted angle is about 28.13°.

Angles are measured from the normal. If n₁ > n₂, θc = arcsin(n₂/n₁); above θc there is total internal reflection. At θc the refracted ray is tangent to the interface.

AVAILABLE · FREE

Numerical aperture and acceptance angle

Calculate the numerical aperture and acceptance cone from core, cladding and external refractive indices. Adjust a ray to explore guidance in the fiber.

Open the calculator

Understand the model

NA = √(n꜀˛ − nɢ˛), and θmax = arcsin(NA/n₀), capped at 90°. The full acceptance cone angle is 2θmax.

The core index must exceed the cladding index. At the wall, ic = arcsin(nɢ/n꜀) and incidence is i = 90° − β. Total internal reflection requires i > ic. At equality, guidance is at its threshold. A higher external index narrows the acceptance cone.

AVAILABLE · FREE

Thin lens simulator

Explore image formation by converging and diverging thin lenses. Adjust focal length, object distance and object height; the rays and results update immediately.

Open the simulator

Understand the model

1/f = 1/d + 1/q; q = fd/(d − f); magnification γ = −q/d; image height h′ = γh. Optical power C = 1/f with f in meters.

The real object is on the left; light travels left to right. Object distance d is positive. f is positive for a converging lens and negative for a diverging lens. Positive q means a real image on the right; negative q means a virtual image on the left. Negative image height means inversion.

AVAILABLE · FREE

Lumens, lux and candelas converter

Convert luminous flux, illuminance and luminous intensity using the geometry and emission model appropriate to your lighting application. All modes support inverse conversion.

Open the converter

Understand the model

Lumens (lm) measure luminous flux, lux (lx) measure flux per unit area, and candelas (cd) measure flux per unit solid angle. 1 lx = 1 lm/m˛ and 1 cd = 1 lm/sr. There is no universal direct conversion without a physical model.

Received flux and area: Eavg = Φreceived/A. Point-source intensity and distance: E = I cos α/r˛. Beam and screen: disk diameter = 2d tan(θ/2), with Eavg = Φ/[πd˛tan˛(θ/2)]. All entered cone flux must reach the screen. Uniform cone: Ω = 2π[1 − cos(θ/2)] and I = Φ/Ω. The full cone angle θ is twice the half-angle.

AVAILABLE · FREE

Field of view and image size

Relate actual lens focal length, sensor dimensions and object distance to field of view. Calculate the required focal length or distance and the physical image size.

Open the calculator

Understand the model

Horizontal field L ≈ dSh/f; vertical field H ≈ dSv/f; horizontal angle α = 2 arctan[Sh/(2f)]. Use the same units for focal length and sensor dimensions.

Required focal length f ≈ dSh/L; required distance d ≈ Lf/Sh; image width i ≈ object width × f/d. A 36 × 24 mm sensor with a 50 mm lens at 5 m gives a field of about 3.6 × 2.4 m. The diagram shows sensor, lens, object distance and observed field; distances are not to scale.

AVAILABLE · FREE

Fresnel reflection and transmission

Calculate reflected and transmitted power at a transparent interface. Compare s polarization, p polarization and unpolarized light, including Brewster’s angle and total internal reflection.

Open the simulator

Understand the model

Snell’s law gives the transmitted angle. For real refractive indices, Rs = [(n₁cosθ₁ − n₂cosθ₂)/(n₁cosθ₁ + n₂cosθ₂)]˛ and Rp = [(n₂cosθ₁ − n₁cosθ₂)/(n₂cosθ₁ + n₁cosθ₂)]˛.

Without absorption, Ts = 1 − Rs and Tp = 1 − Rp. Unpolarized reflectance is (Rs + Rp)/2. At normal incidence, R = [(n₁ − n₂)/(n₁ + n₂)]˛: air to glass (1 to 1.5) reflects 4% and transmits 96%. θB = arctan(n₂/n₁); if n₁ > n₂, θc = arcsin(n₂/n₁).

AVAILABLE · FREE

Diffraction and optical resolution

Calculate the Airy disk and theoretical Rayleigh resolution of an ideal circular aperture. Compare the diffraction profiles of two equally bright, incoherent points.

Open the calculator

Understand the model

In air, N = f/D, Airy radius rA ≈ 1.22λ₀N, diameter dA = 2rA, and small-angle resolution θR ≈ 1.22λ₀/D. With numerical aperture NA = n sinα, object-plane Rayleigh separation is δR ≈ 0.61λ₀/NA. Enter vacuum wavelength in both modes.

The scalar profile is I(r)/I₀ = [2J₁(u)/u]˛. At the center its limiting value is 1. At Rayleigh separation, one point’s peak coincides with the other’s first minimum. Two mutually incoherent points add in intensity; coincident points reach 2I₀. Rayleigh is a convention, not a universal visibility threshold.

AVAILABLE · FREE

Polarization and Malus’s law

Rotate a polarizer and analyzer to calculate the transmitted intensity. Compare parallel, 45° and crossed axes for initially unpolarized light.

Open the simulator

Understand the model

Malus’s law is I₂ = I₁cos˛θ, where θ is the angle between the two transmission axes. For unpolarized incident light, an ideal first polarizer transmits I₁ = I₀/2, so I₂/I₀ = 0.5cos˛θ.

Parallel axes transmit 50% of the original light, 45° axes transmit 25%, and crossed axes transmit 0% in the ideal model. Axes are shown head-on, perpendicular to propagation. A transmission axis repeats every 180°.

AVAILABLE · FREE

Optical fiber loss and transmission

Estimate total fiber-link attenuation, output optical power and transmitted percentage. Adjust fiber length, attenuation per unit length, connections, splices and additional losses.

Open the calculator

Understand the model

Atotal = αL + Nc ac + Ne ae + Aother. Use consistent length units: dB/m with meters or dB/km with kilometers. A connection means one mated connector pair, not two separately counted connectors.

Transmission T = Pout/Pin = 10^(−Atotal/10). Output power is Pin × T. P(dBm) = 10log₁₀[P(mW)/1 mW], so Pout(dBm) = Pin(dBm) − Atotal. For 20 m at 0.15 dB/m and two 0.5 dB connections, total loss is 4 dB; 39.81% remains, or about 0.3981 mW for a 1 mW input.

AVAILABLE · FREE

Source–fiber coupling

Estimate geometrical coupling into a multimode optical fiber in air. Compare illuminated spot overlap with the core and the angular fraction accepted by the numerical aperture.

Open the simulator

Understand the model

ηgeometrical = ηspatial × ηangular. Spatial efficiency is the intersection area of the circular spot and core divided by the total spot area, including lateral offset.

In air, θa = arcsin(NA). For uniform radiance within a light cone of half-angle β, ηangular = min[1, sin˛θa/sin˛β]. The sin˛ factor comes from dP = Lcosφ dS dΩ and dΩ = 2πsinφ dφ: integration over a cone gives P(θ) = πLSsin˛θ.

Learn, explore and calculate

For students, teachers, researchers, engineers and optics enthusiasts. Change the parameters to connect equations with physical behavior.

Documented scientific models

Each tool explains its formulas, assumptions and limitations. Interpret every result within the model’s domain of validity.