Rayleigh Range Calculator
Optics
- Rayleigh range zR = pi x w0^2 x n / lambda with w0 = 10 um, lambda = 532 nm and n = 1.00.
- zR = 0.591 mm - over this distance the beam area doubles and the radius grows to w0 x sqrt(2) = 14.1 um.
- The confocal parameter (twice the Rayleigh range) is 1.181 mm.
- Far-field divergence half-angle = lambda / (pi x w0 x n) = 16.93 mrad.
Focus a laser beam and it does not stay focused: the waist is a place, not a region. The Rayleigh range zR measures how far that focus extends - the distance from the waist at which the beam's cross-sectional area has doubled and its radius has grown by a factor of sqrt(2). It is the fundamental length scale of every Gaussian beam, and this calculator finds it from the waist radius, wavelength and refractive index: zR = pi x w0^2 x n / lambda.
The scaling is the story. zR grows with the square of the waist radius - double the waist, quadruple the range - and shrinks in direct proportion to wavelength. A 10 um waist at 532 nm in air gives zR = 0.59 mm; the same waist at twice the wavelength would halve it. Tight focusing and long working range are the same coin's two faces, and zR is the exchange rate.
Enter the waist radius in micrometres, the wavelength in nanometres and the medium (air, water or glass presets set n). Alongside zR you get the confocal parameter (2 x zR, the full depth of focus), the beam radius at one Rayleigh range, and the far-field divergence half-angle - 16.93 mrad for the worked example.
Worked examples
10 um waist at 532 nm in air
(10 · 532 · Air / vacuum (n = 1.00))
| Rayleigh range zR | 0.591 mm |
| Confocal parameter | 1.181 mm |
| Beam radius at zR | 14.1 um |
| Divergence half-angle | 16.93 mrad |
5 um waist at 1,064 nm in air
(5 · 1064 · Air / vacuum (n = 1.00))
| Rayleigh range zR | 0.074 mm |
| Confocal parameter | 0.148 mm |
| Beam radius at zR | 7.1 um |
| Divergence half-angle | 67.74 mrad |
50 um waist at 1,550 nm in water
(50 · 1550 · Water (n = 1.33))
| Rayleigh range zR | 6.739 mm |
| Confocal parameter | 13.478 mm |
| Beam radius at zR | 70.7 um |
| Divergence half-angle | 7.42 mrad |
The Gaussian beam in one picture
A Gaussian beam's radius follows w(z) = w0 x sqrt(1 + (z/zR)^2). At z = 0 the radius is the waist w0. At z = zR it is w0 x sqrt(2) ≈ 1.41 w0 - for the worked example, 14.1 um from a 10 um waist. Far away (z much larger than zR) the radius grows linearly, which is the divergence regime: the beam becomes a cone with half-angle theta = lambda / (pi x w0 x n).
Everything about the beam's propagation is set by w0, lambda and n through zR. Two beams with the same zR are, geometrically, the same beam scaled - which is why laser engineers quote zR (or the confocal parameter) the way photographers quote depth of field.
The confocal parameter
Twice the Rayleigh range - 1.18 mm in the worked example - is called the confocal parameter, named for its role in confocal microscopy and in the design of laser resonators, where a cavity whose length equals the confocal parameter of its mode is a standard configuration. Within plus-or-minus zR of the waist the beam is 'in focus' by the area-doubling convention.
Treat the boundary as a convention, not a cliff: at zR the intensity on axis has fallen to half its waist value, which for many applications is already too much defocus, and for others (material processing with long depth tolerance) is perfectly acceptable. The number frames the discussion; the application sets the tolerance.
Divergence: the far-field price
The divergence half-angle theta = lambda / (pi w0 n) is zR's reciprocal face: small waists diverge fast. The worked example's 10 um waist spreads at 16.93 mrad - about a degree. Halving the waist and doubling the wavelength each double the angle, so the second example in the calculator (5 um, 1,064 nm) diverges four times faster than the first.
This reciprocity is a wave-optics uncertainty relation: confining light to a small waist forces a spread of propagation directions. It is why laser pointers use millimetre waists (zR of metres, divergence under a milliradian) and why microscope objectives, which want the opposite, accept zR values under a micrometre.
The medium's role
The refractive index n stretches zR linearly: the worked beam in water (n = 1.33) would have zR about a third longer than in air, because the wavelength in the medium is lambda/n and the formula's n compensates. Immersion microscopy exploits exactly this - focusing into water or oil buys working range at the same numerical aperture.
The calculator offers air/vacuum (1.00), water (1.33) and glass (1.50) presets. For other media the scaling is trivially proportional: compute in air and multiply by your n.
Worked examples
Example one: w0 = 10 um, 532 nm, air: zR = 0.59 mm, confocal parameter 1.18 mm, radius at zR 14.1 um, divergence 16.93 mrad. Example two: w0 = 5 um, 1,064 nm, air: zR = 0.07 mm - a focus that lasts a hair's breadth. Example three: w0 = 50 um, 1,550 nm, in water: zR = 6.74 mm, a comparatively stately focus, thanks to the large waist and the index.
Lay the three side by side and the design space is visible: zR spans two orders of magnitude across ordinary laboratory parameters, and choosing a focusing lens is precisely choosing where in that span your application lives.
Where zR matters
Confocal and multiphoton microscopy (axial resolution is a zR statement), laser cutting and welding (depth of the kerf versus spot size), optical trapping (the axial trap range), free-space optical communication (beam spread over distance), and resonator design all specify zR or the confocal parameter directly.
In each case the trade is identical: resolution or intensity at the waist, bought with propagation range. The calculator's job is to make that trade numerically explicit before the optics are ordered.
Ideal beams and real beams
The formulas assume a perfect Gaussian (M^2 = 1) beam. Real lasers have M^2 > 1, which shortens the effective Rayleigh range by the factor M^2 for the same waist, or equivalently inflates the divergence. If your beam's measured divergence exceeds the calculator's value, the ratio is an estimate of M^2.
Astigmatism (different waists in x and y) and truncation by apertures also break the ideal picture. Use the calculator as the reference ideal - deviations from it are diagnostic, which is a large part of its value.
From zR to lens choice
In the laboratory the causality runs backwards: you choose a focal length and an input beam radius, and the waist - hence zR - follows. The thin-lens relation w0 ≈ lambda f / (pi W) for an input beam of radius W at the lens turns the calculator into a design tool: compute the waist your lens produces, then read off the Rayleigh range, and decide whether the depth of focus suits the job before ordering glass.
The worked example's numbers make the trade concrete: to hold a 10 um waist's focus across a 1 mm-thick sample you need the confocal parameter (1.18 mm) to cover it - it just does. Halve the waist for finer lateral resolution and the confocal parameter collapses to a quarter, and the sample no longer fits inside the focus. Every microscopy and laser-processing specification is this arithmetic wearing a lab coat.
FAQs
What is the Rayleigh range?
The distance from a Gaussian beam's waist at which its area has doubled: zR = pi x w0^2 x n / lambda.
What is zR for a 10 um waist at 532 nm?
0.59 mm in air - with a confocal parameter of 1.18 mm.
What is the confocal parameter?
Twice the Rayleigh range - the full depth of focus around the waist.
How wide is the beam at one Rayleigh range?
w0 x sqrt(2) - about 14.1 um for a 10 um waist.
Does the medium matter?
Yes - zR scales with the refractive index n, so the same beam in water (n = 1.33) has a Rayleigh range about 33% longer than in air.
What divergence does a 10 um, 532 nm beam have?
A far-field half-angle of 16.93 mrad.