PhysSandbox
Classical MechanicsWaves & SoundElectricity & MagnetismOptics & LightGravity & OrbitsLabs
🌙Astronomy & The Sky🌡️Thermodynamics🌍Biophysics, Fluids & Geoscience📐Math Visualization🔧Engineering🧪Chemistry

More from Optics & Light

Other simulators in this category — or see all 50.

View category →
NewUniversity / research

Fourier Optics 4f System

Object → lens → Fourier plane → spatial filter (low/high-pass) → lens → image; 2D FFT with circular aperture in spectrum.

Launch Simulator
NewUniversity / research

Zernike Wavefront Aberrations

Defocus, astigmatism, coma, spherical Zernike modes on a circular pupil; PSF via FFT, Strehl ratio and Maréchal estimate.

Launch Simulator
NewUniversity / research

Optical Tweezers (Gradient Trap)

Gaussian trap U(r), stiffness k ∝ P/w₀², overdamped Langevin bead with Stokes drag and thermal Brownian jitter; ⟨r²⟩ trace.

Launch Simulator
NewUniversity / research

1D Photonic Crystal Bandgap

Alternating n₁/n₂ bilayers; TE transfer-matrix T(λ), R(λ); stop bands where |Tr(M_period)/2|>1 vs period Λ.

Launch Simulator
NewUniversity / research

Sagnac (Ring) Interferometer

Δφ ∝ Ω·A/λ for counter-propagating beams in a rotating loop — optical gyro idea.

Launch Simulator
NewSchool

Brewster Angle

tan θ_B = n₂/n₁; R_p→0; θᵢ+θₜ=90°; Fresnel R_s, R_p vs θᵢ.

Launch Simulator
PhysSandbox

Interactive physics, chemistry, and engineering simulators for students, teachers, and curious minds.

Physics

  • Classical Mechanics
  • Waves & Sound
  • Electricity & Magnetism

Science

  • Optics & Light
  • Gravity & Orbits
  • Astronomy & The Sky

More

  • Thermodynamics
  • Biophysics, Fluids & Geoscience
  • Math Visualization
  • Engineering
  • Chemistry

© 2026 PhysSandbox. Free interactive science simulators.

PrivacyTermsContact
Home/Optics & Light/Gaussian Beam & q-Parameter

Gaussian Beam & q-Parameter

A paraxial Gaussian beam is characterized by waist w₀ at z = 0, wavelength λ, and Rayleigh range z_R = πw₀²/λ. The spot size grows as w(z) = w₀√[1 + (z/z_R)²], the wavefront radius of curvature is R(z) = z[1 + (z_R/z)²], and the Gouy phase is ζ(z) = arctan(z/z_R). The complex q-parameter q(z) = z + i z_R encodes both size and curvature; propagation through optical elements uses the ABCD law q₂ = (A q₁ + B)/(C q₁ + D). Free space over distance d has matrix [[1, d], [0, 1]]; a thin lens of focal length f has [[1, 0], [−1/f, 1]]. This simulator plots w(z) and ζ(z) along the axis, applies an optional lens at a user-chosen position, and reports q, w, R, and ζ at an observation plane — the standard toolbox for laser focusing, fiber coupling, and optical trap design.

Who it's for: Undergraduate laser optics and photonics students after thin lenses and before Fourier optics or cavity modes.

Key terms

  • Gaussian beam
  • Beam waist
  • Rayleigh range
  • Gouy phase
  • q-parameter
  • ABCD matrix
  • Thin lens
  • Beam propagation

Live graphs

Gaussian beam

633nm
20µm
100mm
200mm
50mm
100mm

Paraxial Gaussian beam: w(z)=w₀√(1+(z/z_R)²), z_R=πw₀²/λ, Gouy phase ζ=atan(z/z_R). Complex q=z+i z_R propagates via ABCD: free space [[1,d],[0,1]], thin lens [[1,0],[-1/f,1]].

Measured values

Rayleigh range z_R1.99 mm
w(z)755.7 µm
Gouy ζ87.0°
R(z)150.11 mm
q-parameter1.50e-1 + i7.93e-3 m

How it works

Gaussian beam propagation: waist w₀, Rayleigh range, Gouy phase, and q-parameter through free space and a thin lens (ABCD matrix).

Key equations

w(z) = w₀ √(1 + (z/z_R)²) · z_R = π w₀² / λ
ζ(z) = atan(z/z_R) · q₂ = (A q₁ + B)/(C q₁ + D)

Frequently asked questions

What is the q-parameter?
q(z) = z + i z_R is a complex number that fully describes a Gaussian beam at axial position z relative to the waist. Its real part is the position; its imaginary part is the Rayleigh range. ABCD propagation updates q in one step per element.
Why does the phase advance faster than a plane wave?
The Gouy phase ζ(z) = arctan(z/z_R) adds an extra phase lag near focus. It shifts resonant frequencies in laser cavities and matters in interferometers that compare beams with different focusing histories.
How is the thin lens modeled?
The paraxial thin-lens ABCD matrix [[1, 0], [−1/f, 1]] transforms q at the lens plane; free-space segments before and after use [[1, d], [0, 1]]. The waist is fixed at z = 0; the lens sits at a positive z.
What is left out?
Higher-order modes, aberrations, vector polarization, thermal lensing, and clipping at apertures are not included. The medium is uniform with n = 1.