Queendom Tools

Rayleigh Length and Depth of Focus Calculator

This calculator works on a Gaussian laser beam. From the waist radius w0, the wavelength λ, the beam quality M2 and a distance z from the waist, it gives the Rayleigh length zR, the depth of focus 2zR, the beam radius w(z) at that distance and the far-field half-angle divergence θ.

All four results come from the same w0, λ and M2. The calculation is done in SI units, the results are given to 4 significant figures (a value from 1000 up to below 1000000 as a whole number), and the line under the results shows the formulas with the typed values substituted.

Calculator

Rayleigh length zR6.711mm
Depth of focus 2zR13.42mm
Beam radius at z, w(z)89.73µm
Half-angle divergence θ7.451mrad

zR = π w02 / (M2 λ) = π × (50 × 10-6 m)2 / (1.1 × 1064 × 10-9 m) = 6.711 mm

DOF = 2 zR = 2 × π × (50 × 10-6 m)2 / (1.1 × 1064 × 10-9 m) = 13.42 mm

w(z) = w0 √(1 + (|z| / zR)2) = 50 µm × √(1 + (|10| mm / 6.71051 mm)2) = 89.73 µm

θ = M2 λ / (π w0) = 1.1 × 1064 × 10-9 m / (π × 50 × 10-6 m) = 7.451 mrad

Theory: Gaussian beam propagation, Rayleigh length and divergence

w(z) = w0 √(1 + (z / zR)2)

zR = π w02 / (M2 λ)

DOF = 2 zR

θ = M2 λ / (π w0)

Symbols

w0
beam radius at the waist, in m; for a real beam the second-moment (D4σ) radius, half the D4σ diameter; for an ideal Gaussian beam the 1/e2 intensity radius
z
distance from the waist, in m (the page takes it in mm and uses its absolute value)
w(z)
beam radius at the distance z, in m (shown in µm)
zR
Rayleigh length, in m (shown in mm)
DOF
depth of focus, taken as the confocal parameter 2zR, in m (shown in mm)
λ
wavelength in the medium, λ = λvacuum / n, in m (entered in nm)
n
refractive index of the medium, dimensionless
M2
beam quality factor, dimensionless, 1 or more; M2 = 1 is the ideal Gaussian beam
θ
far-field half-angle divergence, in rad (shown in mrad)

Where the formulas come from

A Gaussian beam keeps its shape as it travels, and its radius grows as w(z) = w0 √(1 + (z / zR)2), with w0 the radius at the waist and z the distance from it. The Rayleigh length zR is the distance at which the radius has grown by the factor √2, so the area has doubled. For a real beam with beam quality M2 it is zR = π w02 / (M2 λ). The far-field half-angle divergence is θ = M2 λ / (π w0). A larger M2 shortens zR and widens the divergence. The page takes the depth of focus as 2zR, the confocal parameter: the length over which the radius stays within √2 times w0.

When the formulas do not hold

The formulas are paraxial: they assume a small to moderate divergence and free propagation in a homogeneous, isotropic, lossless medium. The sources give no numeric limit and the page sets none, so a very small waist gives a divergence that is not a valid angle. A beam with different radii or M2 on the two axes needs one calculation per axis. The wavelength is the one in the medium, λ = λvacuum / n; the page does not ask for n, so enter the wavelength in the medium. Other definitions of the depth of focus exist, for example another allowed growth of the radius or of the area, and they change the factor 2.

Worked example

Inputs: w0 = 1 mm, λ = 1064 nm, M2 = 1, z = 1000 mm.

  1. Convert to SI units: w0 = 1.00000 × 10-3 m, λ = 1.06400 × 10-6 m, |z| = 1.00000 m.
  2. Rayleigh length: zR = π × (1.00000 × 10-3 m)2 / (1 × 1.06400 × 10-6 m) = 3.14159 × 10-6 m2 / 1.06400 × 10-6 m = 2.95262 m = 2952.62 mm, written 2953 mm.
  3. Depth of focus: 2 × 2.95262 m = 5.90525 m = 5905.25 mm, written 5905 mm.
  4. Divergence: θ = 1 × 1.06400 × 10-6 m / (π × 1.00000 × 10-3 m) = 1.06400 × 10-6 m / 3.14159 × 10-3 m = 3.38682 × 10-4 rad = 0.338682 mrad, written 0.3387 mrad (the source prints 0.34 mrad for these inputs).
  5. Beam radius at z: |z| / zR = 1000 mm / 2952.62 mm = 0.338682; squared, 0.114705; 1 + 0.114705 = 1.11471; √1.11471 = 1.05580; w(z) = 1 mm × 1.05580 = 1.05580 mm = 1055.80 µm.

Beam radius at z = 1000 mm: 1056 µm.

Source

RP Photonics Encyclopedia (R. Paschotta), an online encyclopedia that cites ISO 11146, Kogelnik and Li 1966 and Siegman, Lasers, 1986: the articles Rayleigh Length (zR, confocal parameter 2zR), Gaussian Beams (w(z)), Beam Divergence (θ = M2 λ / (π w0)) and Beam Quality (M2).

How to use the calculator

  1. Enter the waist radius w0 and choose its unit, um or mm. For a real beam use the second-moment (D4σ) radius, half the D4σ diameter; for an ideal Gaussian beam use the 1/e2 intensity radius. Changing the unit keeps the typed number.
  2. Enter the wavelength in nm. Use the wavelength in the medium, the vacuum wavelength divided by the refractive index n.
  3. Enter the beam quality M2, 1 or more; 1 is the ideal Gaussian beam.
  4. Enter the distance z from the waist in mm. It can be positive or negative; the page uses its absolute value.
  5. Read the Rayleigh length and the depth of focus in mm, the beam radius at z in µm and the half-angle divergence in mrad. The results update as you type, and the formula line under them shows the typed values substituted.

FAQ

What is the difference between the Rayleigh length and the depth of focus?

The Rayleigh length zR is the distance from the waist at which the beam radius has grown by the factor √2, so the beam area has doubled. The depth of focus is 2 × zR, the confocal parameter: the length over which the radius stays within √2 times w₀. Other definitions of the depth of focus, for example another allowed growth of the radius or of the area, change the factor.

How do I calculate the Rayleigh length of a laser beam?

Use zR = π × w₀² / (M² × λ), with the waist radius w₀ and the wavelength λ in m, which gives zR in m. For w₀ = 1 mm, λ = 1064 nm and M² = 1, zR = 2953 mm. λ is the wavelength in the medium, the vacuum wavelength divided by the refractive index n.

How does M² change the Rayleigh length and the divergence?

For the same waist radius and wavelength, zR falls and the half-angle divergence θ = M² × λ / (π × w₀) grows in proportion to M². M² = 1 is the ideal Gaussian beam; a beam with M² = 2 has half the Rayleigh length and twice the divergence of the ideal beam.

How wide is the beam at a distance z from the waist?

The beam radius is w(z) = w₀ × √(1 + (z / zR)²). For w₀ = 1 mm, λ = 1064 nm and M² = 1, zR = 2953 mm, and at z = 1000 mm the radius is 1056 µm. The radius is the same at z and at −z, so the page uses the absolute value of z.

Disclaimer: for preliminary estimation only. The results are not a substitute for a beam measurement or review by a qualified engineer.