Simat Labs
Book a demo

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.

mm

The width of the area you need to see, including margin.

mm

Front of lens to the part.

Focal length needed

24.3 mm

Nearest standard lenses

LensFOV at your distanceDistance for your FOV
16 mm156.2 mm198 mm
25 mm96.8 mm309 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

Last updated: