← All tools

Field of view & magnification

Pick a sensor, then solve for the field of view, the focal length you need or the working distance to use. Built for machine vision and imaging lens selection.

Solve for
× mm
mm
mm
mm
µm
Field edges (chief rays)Not to scale

How this works

Magnificationm = sensor size / FOV = f / (WD − f)

Also called primary magnification (PMAG). This is the thin lens result for an object at distance WD.

Solving for the other twof = WD · m / (1 + m)
WD = f · (1 + m) / m

Pick any two of focal length, working distance and field of view, and the third follows.

Angular field of viewAFOV = 2 · atan(FOV / 2WD)

The full angle the camera sees. For a lens focused at infinity it reduces to 2 · atan(sensor / 2f).

Object-space pixelpixel on object = pixel size / m

The size of one pixel projected onto the object. You typically need 2–3 pixels across the smallest feature you want to detect.

  • Uses a thin lens model with the lens's principal plane placed at its front, so working distance is measured from the front of the lens. On a real lens the principal plane usually sits somewhere inside the barrel, which shifts the true working distance by a few to tens of millimeters, so treat results as a starting point and check the lens's data sheet.
  • Ignores distortion, which changes the field of view at the corners, especially for wide-angle lenses.
  • Sensor sizes are typical active-area dimensions for each format. Check your camera's data sheet for its exact active area.
  • A lens must also be able to focus at the working distance (minimum working distance) and cover the sensor diagonal (image circle).