Lens and field of view calculator
Enter your camera's sensor size, the area you need to see, and how far away the camera can sit. Get the focal length, the nearest standard lenses, and the distance each one needs.
The width of the area you need to see, including margin.
Front of lens to the part.
Focal length needed
24.3 mm
Nearest standard lenses
| Lens | FOV at your distance | Distance for your FOV |
|---|---|---|
| 16 mm | 156.2 mm | 198 mm |
| 25 mm | 96.8 mm | 309 mm |
Thin-lens estimate for planning. Check distortion and the lens's minimum focus distance before ordering.
How the lens calculation works
The calculator uses the thin-lens relationship between sensor size, field of view, working distance and focal length: focal length ≈ working distance × sensor width ÷ (field of view + sensor width). Standard machine vision lenses come in fixed focal lengths, so it shows the two closest and what each would give you — either the field of view at your distance or the distance needed for your field of view. Real lenses add distortion and minimum focus limits, so confirm on the part before ordering.
Questions
What is working distance?
The distance from the front of the lens to the surface you inspect. Mounting constraints on the line usually fix it, which is why it is an input here.
Should I size the field of view tightly to the part?
Leave margin for the part's position varying on the conveyor — typically 10–20% on each side. A larger field of view lowers pixels per millimetre, so check the resolution calculator next.
When do I need a telecentric lens?
When you measure dimensions on parts that vary in height, or need edges without perspective. Telecentric lenses are sized by field of view, not focal length.
More free tools
- Can AI inspect your product?Upload a photo and get an instant AI read on camera, lens, lighting and data needed.
- Camera resolution and motion blur calculatorSmallest defect + field of view → pixels needed, sensor, and max exposure.
- AI vision inspection ROI calculatorLabour + escaped-defect costs + system quote → payback and first-year ROI.
Last updated: