How it is calculated
A standard focusing lens places the spot at \(y = f\tan\theta\), which is non-linear in scan angle, and it focuses onto a curved surface. An f-theta lens is designed with controlled barrel distortion so that
where \(\theta\) is the optical scan angle in radians. Spot position is then linear in mirror angle. The design also corrects field curvature, so the focal surface is nearly flat. With two galvo mirrors each deflecting the beam by up to ±θ, the field is a square of side \(2f\theta\). The corners need a combined field angle near \(\sqrt{2}\,\theta\), so check that the lens is specified for the full diagonal. A datasheet that quotes a single scan angle may mean this corner angle (see the example lenses below).
The spot size and depth of focus follow Gaussian-beam optics for a collimated beam focused by the lens:
where \(\varepsilon\) is the allowed fractional growth of the spot diameter (the DOF tolerance, so 5 % is 0.05). DOF is the total range, half on each side of best focus. These formulas assume the beam is not clipped by the galvo mirrors. Scanner apertures are small, so truncation is common. Use the focused spot tool with the scanner aperture as \(D_t\) to include it.
Galvo positioning resolution is the full optical scan range divided by the number of command steps: \(\Delta y = f \cdot 2\theta / 2^{N}\) for an \(N\)-bit command. This assumes the full command range spans ±θ. If the scanner’s range is wider than the field you use, each step is larger in proportion.
Example lenses
The four 1064 nm lenses below each have one datasheet scan angle and a square field. Twice the focal length times that angle gives the field diagonal (the vendor’s “scan length”), not its side, so the datasheet angle is the corner angle. Dividing it by √2 gives the per-axis half-angle this tool expects, and 2fθ then reproduces the quoted field.
| Focal length | Datasheet scan angle | 2f × datasheet angle (diagonal) | Datasheet field | θ to enter here (÷ √2) | Field side 2fθ |
|---|---|---|---|---|---|
| 100 mm | ±28° | 97.7 mm | 70 × 70 mm | ±19.799° | 69.1 mm |
| 160 mm | ±20° | 111.7 mm | 79 × 79 mm | ±14.142° | 79.0 mm |
| 160 mm | ±28° | 156.4 mm | 110.6 × 110.6 mm | ±19.799° | 110.6 mm |
| 254 mm | ±25° | 221.7 mm | 156.7 × 156.7 mm | ±17.678° | 156.7 mm |
These are real catalog lenses, not generic examples. The focal length, scan angle, and field in each row are from the Thorlabs FTH-series specification table (see the references), checked against it in November 2026; the other three columns are computed here. The same table lists the scan lengths as 98, 111.7, 156.4, and 221.7 mm, which is the computed diagonal to within its rounding. Scan heads are specified in optical angle instead: one compact head lists a typical scan angle of ±0.35 rad (±20° optical) and a 10 mm aperture.
Telecentricity and height errors
In a non-telecentric f-theta lens the beam reaches the work surface at an angle close to the scan angle; the exact landing angle depends on the lens design and on where the mirrors sit. A part that sits \(\Delta z\) above or below the focal plane is therefore marked at a position shifted by about \(\Delta z\tan\theta\). It is also out of focus. At a 20° field edge, a 1 mm height error moves the mark by about 0.36 mm. The corners are \(\sqrt{2}\) times farther from the axis, and the landing slope grows in proportion to that distance, so the shift there is \(\sqrt{2}\) times larger: \(\sqrt{2}\tan 20^\circ = 0.51\) mm per millimeter of height error. That slope is a landing angle of 27.2°, a little less than the 28.3° corner field angle (\(\sqrt{2}\,\theta\)) in the results, because the f-theta mapping scales the angle itself with distance from the axis, while the landing geometry scales its tangent.
Telecentric f-theta lenses keep the chief ray nearly perpendicular to the work surface across the field. This removes most of the height-dependent position error and makes hole walls and scribe edges consistent from center to edge. The cost: the last lens element must be larger than the scan field, so these lenses are larger and more expensive, and they are usually limited to smaller fields.
Worked example
The default inputs: a 163 mm f-theta lens with galvos rotating ±10° mechanically (±20° optical), a 10 mm beam at 1064 nm, and M² = 1.1.
- Field: \(2 \times 163 \times 0.349 = 113.8\) mm square (160.9 mm diagonal). A plain \(f\tan\theta\) lens would put the edge spot 2.43 mm too far out.
- Spot: \(4 \times 1.1 \times 1.064\,\mu\text{m} \times 163 / (\pi \times 10) = 24.3\) µm. \(z_R = 0.40\) mm, so the 5 % depth of focus is only 0.25 mm in total (±0.13 mm about best focus).
- A 16-bit galvo addresses 1.74 µm steps on the work surface (10.7 µrad optical).
Assumptions and limits
- Ideal f-theta mapping. Real lenses deviate slightly from \(y = f\theta\) (the datasheet’s f-theta distortion: 0.1–1.3 % for the lenses in the table). Scanner software corrects the residual, and the field distortion that comes from the two mirrors turning about separate axes, with a field-correction (calibration) table.
- Scan angle. F-theta lenses typically accept up to about ±20° optical per axis, about ±28° at the corners (see the table). Above 30° the tool shows a warning: such values usually mean an optical angle was marked as mechanical, or a full angle was entered as the half-angle.
- Spot size at field center, untruncated. Aberrations and field curvature usually enlarge the spot toward the edge. Vendors specify the spot size and telecentricity across the field. With a non-telecentric lens the beam also lands obliquely, so on a flat part the spot is stretched by about \(1/\cos\theta\) in the radial direction (6 % at 20°, more at the corners). Datasheet spot sizes can include clipping: the 100 mm lens in the table is quoted at 16 µm for a 12 mm beam at 1064 nm. That matches \(1.83\,\lambda f/D\), the vendor’s formula for a beam cut off at its 1/e² diameter, while this tool gives the unclipped \(4\lambda f/(\pi D) = 11.3\) µm. The other three lenses fit the same formula: 39, 26, and 25 µm quoted for 8, 12, and 20 mm beams. The focused spot tool computes the clipped case.
- Working distance is not \(f\). The back focal distance from the last lens surface depends on the lens design. Use the lens datasheet.
- Digital resolution is not accuracy. Galvo drift, servo noise, thermal effects, and calibration limit absolute accuracy, which is usually much coarser than the command resolution, especially for 18–20-bit controllers. One compact 16-bit scan head, for example, lists an 11 µrad step and 2 µrad repeatability, but up to 100 µrad of offset drift over 8 hours and gain and offset errors of up to 5 mrad before calibration. With a 163 mm lens those are 16 µm and 0.8 mm on the work surface.
References
Primary sources and standards
- S. Sagan, “Optical systems for laser scanners,” in G. F. Marshall and G. E. Stutz (eds.), Handbook of Optical and Laser Scanning, 2nd ed., CRC Press (2011), pp. 69–132, doi:10.1201/b11090-3 (scan lenses: f-θ mapping, flat field, and telecentricity).
- J. Montagu, “Galvanometric and resonant scanners,” in the same handbook, pp. 393–448, doi:10.1201/b11090-9 (galvanometer scanners: mirror angles, resolution, and drift).
- A. E. Siegman, Lasers, University Science Books (1986), ch. 17 (Gaussian beam propagation and focusing: spot size and Rayleigh range).
- ISO 11146-1:2021, Lasers and laser-related equipment — Test methods for laser beam widths, divergence angles and beam propagation ratios — Part 1: Stigmatic and simple astigmatic beams (beam diameter and M²).
- J. Xie, S. Huang, Z. Duan, Y. Shi, and S. Wen, “Correction of the image distortion for laser galvanometric scanning system,” Opt. Laser Technol. 37, 305–311 (2005), doi:10.1016/j.optlastec.2004.04.012 (field distortion of a two-mirror galvo scanner and its correction in software).
- Thorlabs, “F-Theta Scan Lenses,” FTH-series specifications, thorlabs.com/f-theta-scan-lenses (the example lenses: scan angle, scan length, field, distortion, and spot size).
- SCANLAB, “basiCube” scan head data sheet (11/2026), scanlab.de (a scan head specified in optical angle: ±0.35 rad, 10 mm aperture, 16-bit resolution, repeatability, drift, and gain and offset errors).
- Thorlabs, “Small Beam Diameter Scanning Galvo Mirror Systems,” specifications, thorlabs.com (a galvo system rated in mechanical angle: ±12.5°).
- A. Negrean and H. D. Mansvelder, “Optimal lens design and use in laser-scanning microscopy,” Biomed. Opt. Express 5, 1588–1609 (2014), doi:10.1364/BOE.5.001588, sec. 2.1 (an ideal lens focuses at f tan θ, an f-theta lens at fθ, which suits larger scan angles; the f-theta error of scan-lens designs; open access).
Textbooks
- C. Guo and S. C. Singh (eds.), Handbook of Laser Technology and Applications, Vol. 1: Lasers: Principles and Operations, 2nd ed., CRC Press (2021), ch. 30, J. Koch, “Positioning and Scanning Systems,” sec. 30.4, pp. 449–453, and ch. 8, J. Byatt, “Laser Beam Control,” sec. 8.1.1, pp. 154–155 (pre- and post-objective scanner layouts and the flat-field size, eq. 30.1, which is written with tan rather than the f-theta form; galvanometer drives and a preferred maximum mechanical deflection of 25°; lateral resolution from the minimum step angle, eq. 30.3; error sources; the Gaussian focus w = λf/πw₀ and the ±0.32πw₀²/λ depth of focus for 5 % spot growth, eqs. 8.8 and 8.10).
- J. H. Moore, C. C. Davis, M. A. Coplan, and S. C. Greer, Building Scientific Apparatus, 4th ed., Cambridge University Press (2009), ch. 4, sec. 4.3.3, p. 192 (object- and image-space telecentricity: principal rays parallel to the axis, so defocus does not change the image size; the limited field of view set by the size of the lens elements).
Free introductions
- R. Paschotta, “Scanning lenses,” RP Photonics Encyclopedia, doi:10.61835/2kq (flat-field, f-theta, and telecentric scan lenses, and where the mirrors must sit).
- Thorlabs, “F-Theta Lenses Tutorial,” thorlabs.com (why an f-theta lens has barrel distortion, the scan-field and spot-size formulas, and field curvature).
- Novanta, “What is the Difference? Beam Size vs. Clear Aperture,” novanta.com (why the beam must be smaller than a scan head’s aperture, and what clipped power does inside the head).