← All tools

Window focus shift & spherical aberration

Put a flat window, filter or cover glass in a converging beam and the focus moves away from the lens. Steeper rays move further than near-axis rays, which blurs the focus. Find out by how much, and whether it matters next to the diffraction limit.

mm
Window material index n
f/#

nm
Marginal raysInner raysFocus without window

How this works

Paraxial focus shiftΔz₀ = t · (1 − 1/n)

Near-axis rays bend toward the normal in the glass, travel at a shallower angle and reach the axis later. For glass in air this is roughly t/3.

Shift for a ray at angle θΔz(θ) = t · (1 − cos θ / √(n² − sin² θ))

Exact from Snell's law. It grows with θ, so the steep marginal rays focus further away than the near-axis rays.

Longitudinal spherical aberrationLSA = Δz(θmax) − Δz₀
sin θmax = NA = 1 / (2N)

The spread of focus positions across the beam. Roughly t · NA² · (n² − 1) / (2n³) for small angles.

Blur at best focusd ≈ LSA · tan θmax / 2

The smallest blur, at the circle of least confusion. Compared with the Airy disk, 2.44 · λ · N, it tells you whether the window visibly degrades a diffraction-limited system.

  • The shift and blur depend only on the window's thickness, index and the cone angle, not on where the window sits, as long as it is fully between the lens and the focus.
  • Assumes the window is flat, parallel, perpendicular to the beam and in air, with an aberration-free converging beam on axis. A tilted window adds astigmatism and coma, which this does not model.
  • The blur estimate uses third-order (Seidel) behavior and is a guide rather than a full diffraction calculation. Lenses designed for a specific cover glass or window already correct for it, so add only windows the design didn't include.
  • Rule of thumb: the aberration grows with thickness and with the square of the numerical aperture, so thin windows in slow beams are rarely a problem, while thick windows in fast beams often are.