Gaussian Beam Tools

Beam Dashboard · ABCD Matrix Designer · Theory Reference

Introduction — Gaussian Beam Propagation

The Gaussian Beam

A Gaussian beam is the fundamental transverse electromagnetic mode (TEM₀₀) of a laser resonator. Unlike a geometric ray of light, a Gaussian beam has a finite cross-section whose irradiance follows a bell-shaped profile. At any plane along the propagation axis $z$, the irradiance distribution is:

$$I(r,z) = I_0\!\left(\frac{w_0}{w(z)}\right)^{\!2}\exp\!\left(\frac{-2r^2}{w(z)^2}\right)$$

Here $w(z)$ is the 1/e² intensity radius — the distance from the beam axis at which the irradiance drops to $1/e^2 \approx 13.5\%$ of its peak value. The quantity $w_0$ is the beam waist, the minimum radius occurring at the focal plane $z = z_0$.

Beam Waist and Divergence

A Gaussian beam is fully characterized by its waist radius $w_0$ and wavelength $\lambda$. As the beam propagates away from the waist, it expands hyperbolically:

$$w(z) = w_0\,\sqrt{1 + \left(\frac{z - z_0}{z_R}\right)^{\!2}}$$
where $z_R = \pi w_0^2 / \lambda$ is the Rayleigh range

The Rayleigh range defines the boundary between the near and far field. In the far field the beam expands with half-angle divergence $\theta = \lambda/(\pi w_0)$, revealing the invariant product $w_0 \cdot \theta = \lambda/\pi$ — no optical system can reduce both simultaneously.

Wavefront Curvature and Gouy Phase

The wavefront radius of curvature $R(z) = (z-z_0)[1+(z_R/(z-z_0))^2]$ is infinite at the waist (flat wavefront), minimum at $z = z_0 \pm z_R$, and approaches $R \approx z$ in the far field. The Gouy phase $\zeta(z) = \arctan((z-z_0)/z_R)$ accumulates $\pi$ radians through focus, with measurable consequences in interferometry and resonator design.

The M² Beam Quality Factor

The $M^2$ factor quantifies how a real beam deviates from an ideal Gaussian. A real beam of quality $M^2 \geq 1$ has a modified divergence and Rayleigh range:

$$\theta_{\text{real}} = M^2 \cdot \frac{\lambda}{\pi\, w_0} \qquad z_{R,\text{real}} = \frac{\pi\, w_0^2}{M^2\,\lambda}$$
$M^2 = 1$ for a perfect TEM₀₀ beam; typical HeNe lasers achieve $M^2 < 1.1$

Transformation by a Thin Lens

When a Gaussian beam passes through a thin lens of focal length $f$, the complex beam parameter $q(z) = (z - z_0) + iz_R$ transforms as $q_{\text{out}} = q_{\text{in}}/(1 - q_{\text{in}}/f)$. The lens creates a new waist $w_0'$ at a new location $z_0'$. Unlike geometric optics, the Gaussian imaging equation includes a correction term $(z_R/f)^2$ that prevents the beam from focusing to a point. See the Theory tab for the full derivation.

About this simulator: All panels are computed from first principles. Elliptical beams propagate independent $q_x$ and $q_y$ parameters through the same ABCD matrix. Irradiance values are absolute when beam power $P$ is specified. Paraxial approximation ($\theta \ll 1$) assumed throughout.
iRayleigh range: distance from waist where beam area doubles
mm
iFar-field half-angle divergence
mrad
i1/e² beam radius at cursor position
µm
iWavefront radius of curvature at cursor
mm
iGouy phase at cursor (phase shift relative to a plane wave)
rad
iOn-axis irradiance normalized to waist: I(0,z) / I(0,z₀)
iConfocal parameter b = 2·z_R (depth of focus)
mm
iAbsolute peak on-axis irradiance at cursor: 2P / (π·w_x·w_y)
iNew waist radius and location after thin lens ABCD transform
A — Beam Envelope w(z) Primary
B — Wavefront Curvature R(z)
C — Gouy Phase ζ(z)
D — Normalized Irradiance
E — Beam Profile at zcursor
F — Irradiance Cross-Section (z sweep)
z = mm
G — Peak Irradiance Ipeak(z) Absolute

Equation Reference

1. Rayleigh Range
$$z_R = \frac{\pi\, w_0^2}{M^2 \lambda}$$
Distance from waist where beam area doubles.
2. Beam Radius
$$w(z) = w_0\,\sqrt{1 + \left(\frac{z - z_0}{z_R}\right)^{\!2}}$$
1/e² intensity radius.
3. Far-Field Divergence
$$\theta = \frac{M^2 \lambda}{\pi\, w_0}$$
Half-angle divergence.
4. Wavefront Curvature
$$R(z) = (z - z_0)\!\left[1 + \left(\frac{z_R}{z - z_0}\right)^{\!2}\right]$$
Radius of curvature. Infinite at waist; minimum at $z = z_0 \pm z_R$.
5. Gouy Phase
$$\zeta(z) = \arctan\!\left(\frac{z - z_0}{z_R}\right)$$
Accumulates $\pi$ radians from $-\infty$ to $+\infty$.
6. Complex Beam Parameter
$$q(z) = (z - z_0) + i\,z_R$$
$$\frac{1}{q(z)} = \frac{1}{R(z)} - i\,\frac{\lambda}{\pi\, w(z)^2}$$
Encodes beam radius and wavefront curvature.
7. Peak Irradiance (Absolute)
$$I_{\text{peak}}(z) = \frac{2P}{\pi\, w_x(z)\, w_y(z)}$$
On-axis irradiance for total beam power P.
8. Thin Lens ABCD Transform
$$q_{\text{out}} = \frac{A\,q_{\text{in}} + B}{C\,q_{\text{in}} + D} \qquad M_{\text{lens}} = \begin{pmatrix} 1 & 0 \\ -1/f & 1 \end{pmatrix}$$
9. Beam Width Conversions
$$\text{FWHM} = w_0\sqrt{2\ln 2} \approx 1.177\, w_0 \qquad D_{4\sigma} = 2\,w_0$$
$w_0$ is the 1/e² intensity radius.

Beam Parameters

Input

Optical Train

2

Target Waist Solver

1-Lens

Find lens focal length or position to achieve a desired output waist at a target location.

System Transfer Matrix

ABCD matrix product (right to left)

Beamline Schematic

Propagation Results

Beam Radius w(z)

w(z)
Lens

Wavefront Curvature R(z)

R(z)
Lens

Complex Beam Parameter q(z)

Re(q)
Im(q)
Lens

Rayleigh Range zR(z)

zR
Lens

The Gaussian Beam

A Gaussian beam is the fundamental transverse electromagnetic mode (TEM₀₀) of a laser resonator. Its electric field amplitude follows a Gaussian profile, and the beam is fully characterised by its wavelength and a single spatial parameter — the beam waist radius $w_0$.

Intensity Profile

At any plane perpendicular to propagation, the intensity distribution is:

$$I(r,z) = I_0\!\left(\frac{w_0}{w(z)}\right)^{\!2}\exp\!\left(-\frac{2r^2}{w(z)^2}\right)$$
$r$ = radial distance from axis, $w(z)$ = beam radius at position $z$, $I_0$ = peak intensity at waist

The quantity $w(z)$ is the 1/e² intensity radius — the distance at which intensity falls to $e^{-2} \approx 13.5\%$ of its on-axis peak. Setting $r = w$ in the exponential immediately gives $I(w)/I(0) = e^{-2}$.

Why Gaussian Beams?

The Gaussian profile is the unique transverse mode that propagates through a stable resonator without changing shape — only its size scales. It also represents the diffraction limit: for a given waist size, no beam can have smaller divergence than a Gaussian. In the paraxial approximation, any beam can be decomposed into Gaussian modes, making the Gaussian the natural basis for laser optics analysis.

Beam Waist and Rayleigh Range

Two fundamental parameters — the waist radius $w_0$ and the Rayleigh range $z_R$ — fully determine how a Gaussian beam evolves in free space.

Propagation Law

As a Gaussian beam propagates away from its waist at $z = z_0$, the beam radius expands hyperbolically:

$$w(z) = w_0\,\sqrt{1 + \left(\frac{z - z_0}{z_R}\right)^{\!2}} \qquad z_R = \frac{\pi\, w_0^2}{\lambda}$$
$w_0$ = waist radius, $z_R$ = Rayleigh range, $\lambda$ = wavelength

Physical Interpretation of $z_R$

The Rayleigh range $z_R$ defines the boundary between the near field and far field:

At $|z - z_0| = z_R$, the beam radius is $w_0\sqrt{2}$ — the beam area has exactly doubled. Within one Rayleigh range the beam is approximately collimated; beyond it the beam expands like a cone. The closely related confocal parameter $b = 2z_R$ describes the total depth of focus — the axial extent over which the beam stays near its minimum size.

Far-Field Divergence

For $|z - z_0| \gg z_R$, the beam expands linearly with half-angle divergence:

$$\theta = \frac{\lambda}{\pi\, w_0} \qquad \text{(ideal beam, }M^2=1\text{)}$$

This reveals the fundamental waist-divergence trade-off: the product $w_0 \cdot \theta = \lambda/\pi$ is invariant. Tighter focusing always produces faster divergence, and no optical system can improve both simultaneously.

Wavefront Curvature and Gouy Phase

Beyond beam size, Gaussian beams carry phase structure — curved wavefronts that determine how the beam focuses, and an additional phase shift through focus (the Gouy phase) with consequences in interferometry and resonator design.

Wavefront Curvature

The radius of curvature of the wavefront at position $z$ from the waist:

$$R(z) = (z - z_0)\!\left[1 + \left(\frac{z_R}{z - z_0}\right)^{\!2}\right]$$

At the waist ($z = z_0$): $R \to \infty$ — the wavefront is flat, like a plane wave. The curvature reaches a minimum of $R = 2z_R$ at $z = z_0 \pm z_R$. In the far field: $R \approx z - z_0$, matching a spherical wave emanating from the waist.

Gouy Phase

A Gaussian beam acquires an extra phase shift relative to a plane wave as it propagates through focus:

$$\zeta(z) = \arctan\!\left(\frac{z - z_0}{z_R}\right)$$

The Gouy phase accumulates a total of $\pi$ radians from $-\infty$ to $+\infty$, with the steepest change near the waist (where $d\zeta/dz = 1/z_R$ at the waist itself). It shifts the on-axis phase of the full field by $e^{-i\zeta(z)}$, subtly altering interference patterns and resonance conditions.

In practice, the Gouy phase determines the mode spacing in laser resonators, produces measurable phase shifts in interferometers, and — for Hermite-Gaussian or Laguerre-Gaussian modes of order $(m+n)$ — is multiplied by $(m+n+1)$.

The M² Beam Quality Factor

Real-world laser beams are rarely perfect TEM₀₀ modes. M² quantifies how a real beam deviates from the diffraction limit.

Definition and Physical Meaning

The beam propagation ratio $M^2 \geq 1$ is defined so that a real beam of waist $w_0$ and wavelength $\lambda$ behaves like an ideal Gaussian but with a modified divergence and Rayleigh range:

$$\theta_{\text{real}} = M^2 \cdot \frac{\lambda}{\pi\, w_0} \qquad z_{R,\text{real}} = \frac{\pi\, w_0^2}{M^2\,\lambda}$$

$M^2 = 1$ is the diffraction limit, achievable only by a perfect TEM₀₀ mode. Typical values: HeNe lasers $M^2 < 1.1$; diode-pumped solid-state $M^2 \approx 1.1$–$1.3$; multimode diodes $M^2 \gg 1$. A higher $M^2$ means the beam diverges faster and focuses to a larger spot than the diffraction limit predicts.

Embedded-Gaussian Model

The beam propagation equations retain their Gaussian form exactly when $M^2$ is folded into $z_R$ and $\theta$ as above. This embedded-Gaussian model treats the real beam as if it were an ideal beam but with reduced Rayleigh range. It is the standard approach for propagating real beams through optical systems and is used throughout the Beam Dashboard.

The Complex Beam Parameter q

All spatial properties of a Gaussian beam at a given plane — beam radius, wavefront curvature, Rayleigh range, and distance to waist — are encoded in a single complex number $q$. This makes $q$ the ideal state variable for propagation through optical systems.

Definition

The complex beam parameter is defined by:

$$\frac{1}{q(z)} = \frac{1}{R(z)} - i\,\frac{\lambda}{\pi\, w(z)^2}$$

Equivalently, at a distance $z$ measured from the beam waist:

$$q(z) = (z - z_0) + i\,z_R$$
$z_0$ = waist location, $z_R = \pi w_0^2/\lambda$ = Rayleigh range

Extracting Physical Parameters

Given $q$ at any plane, beam radius and wavefront curvature are recovered from:

$$w(z) = \sqrt{\frac{-\lambda}{\pi\;\text{Im}(1/q)}} \qquad R(z) = \frac{1}{\text{Re}(1/q)}$$

The waist of the beam described by $q$ is located at $-\text{Re}(q)$ ahead of the current plane, and its Rayleigh range is $\text{Im}(q)$. The $q$ parameter is the ideal state variable for ABCD propagation: it carries complete beam information through the transform $q' = (Aq + B)/(Cq + D)$.

Interpreting the Re(q) and Im(q) Plots

On the ABCD Designer's q(z) plot: $\text{Re}(q)$ tracks the signed distance to the nearest waist — it increases linearly in free space, jumps discontinuously at each lens (because the lens instantaneously changes wavefront curvature), and crosses zero at every waist location. $\text{Im}(q)$ is the Rayleigh range of the local beam — it stays constant during free-space propagation but changes at each lens, reflecting the new confocal geometry after focusing. Together the two traces give a complete picture of how the beam's focusing state evolves element by element.

ABCD Ray-Transfer Matrices

In the paraxial approximation, any optical element can be described by a 2×2 matrix that maps an input ray $(y, \theta)$ — height and angle — to an output ray. The same matrices govern Gaussian beam propagation via the q-parameter.

Free-Space Propagation

$$M_{\text{free}} = \begin{bmatrix} 1 & d \\ 0 & 1 \end{bmatrix}$$
Distance $d$. The beam parameter advances: $q' = q + d$

Thin Lens

$$M_{\text{lens}} = \begin{bmatrix} 1 & 0 \\ -1/f & 1 \end{bmatrix}$$
Focal length $f$ (positive = converging). The lens changes wavefront curvature without affecting beam size at that plane.

System Matrix

For a cascade of elements, the system matrix is the ordered product of individual matrices — applied right to left, so the first element the beam encounters is the rightmost matrix:

$$M_{\text{sys}} = M_n \cdots M_2 \cdot M_1$$

The ABCD Designer computes this product, propagates $q$ through each element incrementally, and extracts $w(z)$ and $R(z)$ at every sample point. The live matrix display at the top of the results panel shows the full product $M_{\text{sys}} = \bigl[\begin{smallmatrix}A&B\\C&D\end{smallmatrix}\bigr]$ rendered in real time.

A real optical system may include curved mirrors, gradient-index elements, thick lenses, and more — all with known ABCD matrices. The Designer currently supports free space and thin lenses, which together span most alignment, relay, and beam-expansion tasks.

The ABCD Propagation Law

When a Gaussian beam passes through any optical system described by a composite matrix $M = \bigl[\begin{smallmatrix}A&B\\C&D\end{smallmatrix}\bigr]$, the output beam parameter is given by the ABCD law.

$$q' = \frac{A\,q + B}{C\,q + D}$$
This is a Möbius (bilinear) transformation of the complex plane. It maps circles and lines to circles and lines — preserving the Gaussian nature of the beam.

This single equation is the engine behind the ABCD Designer. At each element boundary, $q$ is updated via the element's $2\times 2$ matrix, and physical parameters are extracted from the updated $q$. In free space, $C = 0$, $D = 1$, and the law reduces to $q' = q + B = q + d$ — the beam parameter simply accumulates distance.

Waist Relocation by a Thin Lens

One of the most important practical problems in Gaussian optics is determining where a new beam waist forms after passing through a thin lens — and how large that waist is.

Gaussian Imaging Equation

Consider a beam whose input waist $w_0$ is located a distance $s$ before a thin lens of focal length $f$. The beam arrives at the lens with $q_1 = s + iz_R$ (where $z_R = \pi w_0^2/\lambda$). After the lens and free-space propagation distance $s'$ to the new waist, working through the ABCD algebra gives:

$$s' = f + \frac{(s - f)\,f^2}{(s - f)^2 + z_R^{\,2}} \qquad w_0' = \frac{w_0\,|f|}{\sqrt{(s-f)^2+z_R^{\,2}}}$$
$s$ = input waist distance from lens, $s'$ = output waist distance from lens, $z_R = \pi w_0^2/\lambda$

This resembles the geometric thin-lens equation $1/s + 1/s' = 1/f$, but with $z_R$ appearing in the denominator. In the geometric limit ($z_R \to 0$), it reduces to the familiar formula exactly.

Key Limiting Cases

Collimated input ($s \gg z_R$, $s \gg f$)
$$s' \approx f \qquad w_0' \approx \frac{f\lambda}{\pi w_0}$$
Classical diffraction-limited focal spot. The focused spot is smaller for larger input beam.
Waist at front focal plane ($s = f$)
$$s' = f \qquad m = \frac{\lambda f}{\pi w_0^2} = \frac{f}{z_R}$$
Symmetric Fourier-transform configuration. Both waists lie at focal planes.
Waist at lens ($s = 0$)
$$s' = \frac{f^2 f}{f^2 + z_R^2} < f$$
Output waist always forms closer than geometric image distance $f$.
Beam magnification
$$m = \frac{w_0'}{w_0}$$
Unlike geometric optics, a Gaussian beam can never be focused to a point — the minimum spot size is always diffraction-limited.

Beam Width Conventions

The "width" of a Gaussian beam can be defined in several ways. The Beam Dashboard supports all three major conventions and converts between them automatically.

1/e² Radius (default)
$$I(w)/I_0 = e^{-2} \approx 13.5\%$$
The standard convention in laser physics. Radius at which intensity falls to $1/e^2$ of peak. Used throughout this tool unless otherwise specified.
FWHM
$$\text{FWHM} = 2\sqrt{\ln 2}\;w \approx 1.177\,w$$
Full width at half maximum. Common in spectroscopy and imaging. Always smaller than the 1/e² diameter.
D4σ Second-Moment Diameter
$$D_{4\sigma} = 4\sigma = 2w$$
ISO 11146 standard. Equals the full 1/e² diameter for an ideal Gaussian. Robust to non-Gaussian beams when measured from camera data.
Conversion Summary
$$w = \frac{\text{FWHM}}{\sqrt{2\ln 2}} = \frac{D_{4\sigma}}{2}$$
All three describe the same physical beam. The Dashboard stores 1/e² radius internally and converts on display.

Elliptical (Astigmatic) Beams

Many real laser beams — particularly those from edge-emitting diode lasers — have different divergence in the two transverse planes. The Beam Dashboard handles these by propagating independent beam parameters for the x and y axes.

Independent Axis Propagation

An astigmatic Gaussian beam is characterised by separate waist radii $w_{0x}$, $w_{0y}$ and corresponding Rayleigh ranges $z_{Rx} = \pi w_{0x}^2/\lambda$, $z_{Ry} = \pi w_{0y}^2/\lambda$. The beam radii along each axis evolve independently:

$$w_x(z) = w_{0x}\sqrt{1 + \left(\frac{z - z_0}{z_{Rx}}\right)^2} \qquad w_y(z) = w_{0y}\sqrt{1 + \left(\frac{z - z_0}{z_{Ry}}\right)^2}$$

Peak Irradiance

For an elliptical beam with total power $P$, the on-axis peak irradiance is:

$$I_{\text{peak}}(z) = \frac{2P}{\pi\, w_x(z)\, w_y(z)}$$

The Gouy phase for an elliptical beam is the average: $\zeta(z) = \tfrac{1}{2}[\arctan((z-z_0)/z_{Rx}) + \arctan((z-z_0)/z_{Ry})]$, accumulating a total of $\pi$ radians as before.

For thin-lens ABCD transforms, $q_x$ and $q_y$ each transform through the same matrix independently, since the lens is treated as rotationally symmetric (no cross-coupling between axes).

The Dashboard assumes the principal axes of the beam ellipse are aligned with $x$ and $y$ — i.e., no rotation of the ellipse along the beam path. For beams with rotating astigmatism (e.g. some multimode fibres), a more general treatment with $4\times 4$ ray matrices is needed.

Complete Equation Reference

All equations used in both tools, collected for quick reference.

Rayleigh Range
$$z_R = \frac{\pi w_0^2}{M^2\lambda}$$
Beam Radius
$$w(z) = w_0\sqrt{1+\left(\frac{z-z_0}{z_R}\right)^2}$$
Divergence
$$\theta = \frac{M^2\lambda}{\pi w_0}$$
Wavefront Curvature
$$R(z) = (z-z_0)\!\left[1+\left(\frac{z_R}{z-z_0}\right)^2\right]$$
Gouy Phase
$$\zeta(z) = \arctan\!\left(\frac{z-z_0}{z_R}\right)$$
Complex q Parameter
$$q(z) = (z-z_0)+iz_R$$
ABCD Law
$$q' = \frac{Aq+B}{Cq+D}$$
Gaussian Imaging
$$s' = f+\frac{(s-f)f^2}{(s-f)^2+z_R^2}$$
Output Waist Size
$$w_0' = \frac{w_0|f|}{\sqrt{(s-f)^2+z_R^2}}$$
Peak Irradiance
$$I_\text{peak}(z) = \frac{2P}{\pi w_x(z)w_y(z)}$$
Width Conversions
$$\text{FWHM} = \sqrt{2\ln2}\,w \;\approx\; 1.177\,w$$
Free-Space Matrix
$$M_\text{free} = \begin{bmatrix}1&d\\0&1\end{bmatrix}$$
Thin Lens Matrix
$$M_\text{lens} = \begin{bmatrix}1&0\\-1/f&1\end{bmatrix}$$