Chris Collins

Tools · physics

Lasers and fibre optics

Gaussian beams (waist, Rayleigh range, divergence, w(z), R(z), Gouy phase, M²), focusing to a spot and beam expanders, ABCD q-parameter propagation through a train of lenses with an animated full-screen envelope plot, two-mirror cavity stability on the g₁g₂ diagram, fibre NA, V number, modes, cutoff and Marcuse mode field diameter, a dB link budget, modal and chromatic dispersion, approximate laser-safety MPE and NOHD, and photon arithmetic.

Added

How to use it

Nine tabs, from a laser’s beam to light in a fibre.

How to use it

Gaussian beam. Enter the wavelength (or pick a laser line), the 1/e² waist radius w0, the beam quality M² and a distance z from the waist. You get the Rayleigh range zR = πw0²/(M²λ) — the distance over which the beam’s area doubles — the far-field divergence θ = M²λ/(πw0), the beam parameter product, the radius w(z) = w0√(1 + (z/zR)²), the wavefront radius of curvature R(z) = z(1 + (zR/z)²), the Gouy phase arctan(z/zR) and the peak irradiance. The plot shows the envelope with its wavefronts moving through the focus: flat at the waist, most curved at ±zR. Hover (or drag a finger across it) for w and R at any point. ❚❚ pauses the animation.

Focus & expand. A beam of radius w at a lens of focal length f focuses to a waist of about M²λf/(πw); the tab uses the exact Gaussian result (Self 1983), so a beam whose waist is some way before the lens, or a weak lens, is handled too. Depth of focus is twice the new Rayleigh range. Below, a two-lens beam expander: magnification |f2/f1|, separation f1 + f2 (Galilean if one lens is negative), and the divergence divided by the magnification.

ABCD train. Build an optical train of free-space gaps and thin lenses (or start from a preset: focusing lens, Galilean and Keplerian expanders, coupling into single-mode fibre, a multimode diode, a 4f relay). The complex beam parameter q goes through each element as q′ = (Aq + B)/(Cq + D) and the envelope is drawn along the whole train, with the waist after each lens marked and listed. ⛶ Full screen (or F) gives the plot the whole screen; ◫ Panels hides the element list.

Cavity. Two mirrors of radius R1 and R2 (positive when concave towards each other, inf for flat) a distance L apart. The cavity is stable when 0 < g1g2 < 1 with g = 1 − L/R. Tap the stability diagram to choose a point; the planar, confocal, concentric and hemispherical cavities sit on its edge. For a stable cavity: the TEM00 mode’s waist and its size on each mirror, the free spectral range c/2L and the transverse mode spacing.

Fibre. Wavelength, core radius, the core index and either the NA or the cladding index, and step or (parabolic) graded index. You get the NA and acceptance angle, Δ, the V number, the number of guided modes (≈ V²/2 step, V²/4 graded), the single-mode cutoff wavelength and, near single mode, the mode field diameter from Marcuse’s fit. The animation shows rays (step index: steep rays lag) or curving paths that arrive together (graded index).

Link budget. Transmitter power and receiver sensitivity in dBm, fibre attenuation and length, connectors, splices and other losses, and a margin: the received power, what is left over, and the longest fibre the budget allows, with a chart of power along the link.

Dispersion. Modal spread for step and graded multimode fibre, chromatic spread |D| L σλ (D entered or from the zero-dispersion wavelength and slope of standard single-mode fibre), the total, the maximum bit rate ≈ 0.2/σ and the bandwidth–distance product, with D(λ) plotted.

Safety. A rough class from the power, the maximum permissible exposure for a CW beam (400–1150 nm, 0.25–10 s), the nominal ocular hazard distance and irradiance against distance, plus a summary of the IEC 60825-1 classes. These are approximate estimates for learning — not a safety assessment.

Photons. Photon energy, photons per second, momentum and radiation force for a power, average and Gaussian peak irradiance, and pulse arithmetic (peak power, photons per pulse).

Long distances (fibre lengths, the hazard distance) can be shown in miles and feet with the switch at the top; wavelengths are in nm and beam sizes in mm and µm throughout.

Sources and checks

The tests check: zR = πw0²/λ (0.794 m for a 0.4 mm HeNe waist), w(zR) = √2 w0, R(zR) = 2zR and a Gouy phase of π/4 there; ABCD propagation of q against the closed form, and the focused waist and its position against Self’s formula (S. A. Self, "Focusing of spherical Gaussian beams", Applied Optics 22, 658, 1983); cavity edge cases (planar, confocal, concentric, hemispherical, unstable on both sides) and the symmetric-cavity waist (Siegman, Lasers, ch. 19); fibre NA, V and mode counts; Marcuse’s mode field diameter (D. Marcuse, Bell Syst. Tech. J. 56, 703, 1977) against Corning SMF-28 (9.2 ± 0.4 µm at 1310 nm, 10.4 ± 0.5 µm at 1550 nm, with a step-equivalent NA of 0.12); Senior’s worked example (Optical Fiber Communications, 3rd ed.: 6 km of step-index fibre with n1 = 1.5 and Δ = 1% gives 300 ns, an rms spread of 86.7 ns, about 2.3 Mbit/s and 13.8 Mbit/s·km; graded index 14.4 ps/km); D(1550 nm) = 17.5 ps/(nm·km) for λ0 = 1310 nm, S0 = 0.092 (Corning SMF-28 data sheet, ITU-T G.652); the MPE of 2.55 mW/cm² at 0.25 s and about 1 mW/cm² at 10 s for visible light, and a 14.8 m NOHD for a 5 mW, 1 mm, 1 mrad beam (ANSI Z136.1-2014; IEC 60825-1:2014 Table A.1); and 3.19 × 10¹⁵ photons/s in 1 mW at 632.8 nm. Typical losses are from ANSI/TIA-568.3-D and fibre data sheets.

Limits

  • Thin lenses and paraxial Gaussian beams: no aberrations, apertures or clipping (use the lens design bench for real lenses), one transverse axis (an astigmatic diode beam needs each axis separately), and M² treated as an embedded Gaussian.

  • Cavities are empty two-mirror resonators; a gain medium, thermal lensing or extra optics change the mode.

  • Marcuse’s formula is for step-index fibre near single mode (0.8 < V < 2.5); mode counts for many modes are approximate; the 0.2/σ bit-rate rule ignores the code, receiver and equalisation.

  • Laser safety: simplified CW estimates (400–1150 nm, 0.25–10 s, small source, uniform beam) and a summary of the classes. They are not a classification or a hazard analysis; pulsed lasers, UV, the far infrared, extended sources, skin and fire hazards are not covered. Follow the laser’s label and IEC 60825-1 / ANSI Z136.1, and ask a laser safety officer.

Linking to an example

Share link copies a link with all the tabs' settings (the ABCD train is packed into ?s=). Links can be written by hand; add the tab after #: beam, focus, train, cavity, fiber, budget, dispersion, safety or photons.

Parameter Meaning Example

lam, w0, m2, z, P

Beam: wavelength (nm), waist radius (mm), M², distance (mm), power (mW)

lam=532&w0=0.5

ff, fs, fw, ef1, ef2

Focusing: focal length, waist-to-lens distance, input radius (mm); expander focal lengths (mm)

ff=50&fw=2

r1, r2, cl, clam

Cavity: mirror radii (mm, inf for flat), length (mm), wavelength (nm)

r1=500&r2=inf&cl=250

flam, fa, n1, na, n2, fp, fmode

Fibre: wavelength (nm), core radius (µm), core index, NA or cladding index, step or graded, na or n2

fa=25&na=0.2&fp=graded

tx, rx, att, km, nc, cdb, ns, sdb, oth, mar

Budget: dBm, dBm, dB/km, km, connectors and dB each, splices and dB each, other dB, margin dB

tx=0&rx=-28&km=40

dp, dn1, dd, dkm, dD, dsl, dauto, dlam, dl0, ds0

Dispersion: single/step/graded, n1, Δ (%), km, D, source width (nm), D from λ0 (true), λ, λ0, S0

dp=graded&dkm=2

slam, sP, sa, sphi, st

Safety: nm, mW, beam diameter (mm), divergence (mrad), exposure (s)

slam=532&sP=50

plam, pP, pd, pE, prep, ptau

Photons: nm, mW, beam diameter (mm), pulse energy (mJ), rate (Hz), width (ns)

plam=1064&pP=1000

units

metric or imperial (long distances in miles and feet)

units=imperial

example

A preset below

example=hene

example= Opens

hene

A 1 mW HeNe with a 0.4 mm waist: zR ≈ 0.8 m (open)

diode-m2

A blue diode module with M² = 8 (open)

focus-100

A 2 mm HeNe beam focused by f = 100 mm: a 40 µm spot (open)

train-focus

A focusing lens in the ABCD train (open)

train-galilean

A 3× Galilean beam expander (open)

train-keplerian

A 4× Keplerian expander, internal focus for a spatial filter (open)

train-fiber-couple

Coupling a collimated 1550 nm beam into single-mode fibre (open)

train-diode

A multimode diode (M² = 10) focused by f = 50 mm (open)

train-relay

A 4f relay of two f = 75 mm lenses (open)

cavity-hene

A HeNe-style cavity: flat and R = 600 mm, 300 mm apart (open)

cavity-confocal

Symmetric confocal, g1 = g2 = 0 (open)

cavity-near-concentric

Near-concentric: a tiny waist (open)

cavity-planar

Plane–plane, marginally stable (open)

cavity-unstable

An unstable resonator (open)

smf28-1550

SMF-28-like fibre at 1550 nm: single mode, MFD ≈ 10.4 µm (open)

om3-850

OM3 50 µm graded-index fibre at 850 nm (open)

link-10km

A 10 km single-mode link at 1310 nm (open)

step-6km

Senior’s 6 km step-index example: 300 ns of modal spread (open)

pointer-5mw

A 5 mW red pointer: NOHD ≈ 15 m (estimate) (open)

hene-photons

1 mW at 632.8 nm: 3.2 × 10¹⁵ photons per second (open)

Runs entirely in your browser; nothing you type leaves this page.