Gaussian Beam Calculator
How large is a laser beam at a given distance from its waist, how far does it stay collimated, and how small a spot will a lens focus it to? The calculator takes the wavelength, the beam quality M² and either the waist radius or the far-field divergence, and reports the Rayleigh range, divergence, beam radius, wavefront curvature, Gouy phase, peak intensity and the power through an aperture at any distance, then the size and position of the new waist behind a thin lens. Background: Gaussian beam, Rayleigh range, and beam quality (M²).
Three short experiments. Each one sets the inputs, says where to look, and asks for a prediction before it shows the result.
These checks run in your browser on every load. The closed forms are compared with values worked out by hand, the lens transform with an independent propagation of the complex beam parameter through the ABCD matrix of the lens, and the aperture and intensity formulas with a numerical integration of the Gaussian profile.
| Check | Expected | Computed | Tolerance |
|---|
The expected values are the Gaussian beam relations of Siegman, Lasers, chapter 17, the M² scaling of ISO 11146-1 and the thin-lens transform of Self (1983), evaluated by hand for the stated beams. The tolerance is the largest relative difference from Expected that still passes.
A Gaussian beam of vacuum wavelength and waist radius , measured where the intensity falls to of its peak, keeps its Gaussian profile as it propagates while its radius, wavefront curvature and phase change with the distance from the waist:
with the Rayleigh range and far-field half-angle
For an ideal beam . A real beam is treated as an embedded Gaussian: its second-moment radius follows the same law with the Rayleigh range shortened and the divergence raised by , so the beam parameter product is fixed by the source. The peak intensity and the power inside a centred aperture of radius are
and hold only for a Gaussian profile. A thin lens of focal length placed a distance after the waist forms a new waist a distance behind it (Self, 1983):
When is short compared with this reduces to the ray-optics lens law; when the waist sits at the front focus the output waist sits at the back focus with . The theory is paraxial and loses accuracy once the half-angle exceeds about 0.1 rad. It assumes a beam of circular cross-section and a thin, aberration-free lens large enough not to clip the beam; an astigmatic beam such as the raw output of an edge-emitting laser diode needs the calculation done separately in each axis.
Worked example
The default is a collimated 1550 nm beam 2 mm across, . Its Rayleigh range is and it spreads at 0.4934 mrad. One metre from the waist the radius has grown only to 1.115 mm, the wavefront radius is 5.108 m, and a 1 mm-radius aperture passes 79.98 % of the power. A 50 mm lens at the waist focuses it to a waist radius of 24.66 µm, 49.970 mm behind the lens, just inside the focal length, with a depth of focus of 2.465 mm. The estimate is close because the input Rayleigh range is 40 times the focal length.
References: A. E. Siegman, Lasers, University Science Books (1986), chapter 17. S. A. Self, “Focusing of spherical Gaussian beams,” Applied Optics 22, 658–661 (1983). ISO 11146-1, Lasers and laser-related equipment: Test methods for laser beam widths, divergence angles and beam propagation ratios. B. E. A. Saleh and M. C. Teich, Fundamentals of Photonics, 2nd ed., Wiley (2007).