Core Formulas and Principles
FAQ
What is the complex beam parameter q of a Gaussian beam?
q = z + i·z_R, equivalently written as 1/q = 1/R − iλ/(π w²). It unifies the beam waist position, spot radius w and wavefront curvature R into a single complex number and is the central variable in ABCD Gaussian beam analysis: once q is known at a point, w, R and the waist information at that point follow immediately.
What is the ABCD matrix (ray transfer matrix)?
Under the paraxial approximation, a ray is represented by the vector (r, θ) (r is the off-axis height and θ the angle), and each optical element is described by a 2×2 matrix M=[[A,B],[C,D]] giving its effect on the ray; the total system matrix is the product of the component matrices in beam-path order.
What are the ABCD matrices of common elements?
Free space of length L: [[1, L],[0, 1]]; thin lens of focal length f: [[1, 0],[−1/f, 1]]; refracting spherical surfaces, mirrors and dielectric plates also have their corresponding matrices. This tool supports the two most common and fundamental element types: free space and thin lenses.
How is the q parameter propagated using the ABCD matrix?
Given the system matrix M=[[A,B],[C,D]] and the input complex beam parameter q_in, the output is q_out = (A·q_in + B)/(C·q_in + D). This is the universal propagation formula for a Gaussian beam through any lens group, with no need to expand section by section.
What is the Rayleigh range z_R?
z_R = π·w₀²/λ is the distance either side of the waist over which the spot grows to √2 times w₀. It measures the ‘collimation length’ of the beam: the larger z_R, the longer the distance over which the beam remains approximately parallel.
How are the spot radius w(z) and wavefront curvature R(z) calculated?
w(z)=w₀√(1+(z/z_R)²), R(z)=z(1+(z_R/z)²), with z measured from the waist. At z=0, w=w₀ and R=∞ (planar wavefront); far from the waist, R→z and w increases linearly.
How does a thin lens change a Gaussian beam? What is the single-lens focusing formula?
A thin lens changes only the wavefront curvature, not the spot size at that point. If the input waist is at distance z from the lens with Rayleigh range z_R, the new waist is w₀′=w₀·f/√((z−f)²+z_R²) and the new waist position is s′=f+f²(z−f)/((z−f)²+z_R²) (measured from the lens).
How is a multi-lens system (such as a beam expander) analysed?
Cascade each free-space section and lens in sequence with ABCD, then obtain the final state from q_out=(Aq+B)/(Cq+D). Two lenses f₁ and f₂ with appropriate spacing form a telescope: the angular magnification is ≈ −f₁/f₂ and the beam waist (spot) magnification is ≈ |f₂/f₁|.
Why can the distance L simply be added to q for a free-space section?
The free-space matrix [[1,L],[0,1]] acting on q gives q′=q+L (add L to the real part, imaginary part unchanged), equivalent to a translation of L along the optical axis; therefore one can simply accumulate section by section without repeatedly applying the fraction.
What does it mean when the output waist position appears ‘before the element’?
The waist position reported by the tool is an absolute coordinate relative to the last element’s interface; if the relative value is less than 0, the actual waist lies before the last element (i.e. a converging focus has already formed upstream of that element), not downstream of it.
Can the beam quality factor M² be taken into account?
This tool defaults to M²=1 (ideal fundamental mode TEM₀₀). For multimode or real beams, replace λ with M²·λ in the formulas (the equivalent-wavelength method) to approximate the spot and Rayleigh range after M² degradation.
In which scenarios is this tool used?
Laser focused-spot design, beam expansion/reduction, coupling light into fibres or crystals with lenses, resonator mode analysis, spatial filtering and collimation system alignment — any situation involving ‘how a Gaussian beam evolves through multiple lenses’.
How do I read the w(z) curve?
The horizontal axis is the distance along the optical path z (mm) and the vertical axis is the spot radius w (µm); the red dashed lines mark lens positions, the red dot is the output waist and the green dot the input waist, and the lowest point of the curve is the minimum spot (the waist).
What unit conventions are used for the results?
Wavelength λ is in nm, lengths (L, f, z, z_R) in mm, and the waist and spot w are displayed in µm; internally the tool converts everything to mm for calculation to avoid unit confusion.


