Machine vision lens and camera calculations for field of view, resolution, depth of field, and more
Calculate the horizontal and vertical field of view given your sensor, lens, and working distance.
Find the required focal length for a given field of view and working distance.
Calculate the required working distance for a given field of view and focal length.
Determine the smallest defect you can reliably detect. Rule of thumb: you need 2-3 pixels across a defect to detect it.
Calculate the range of distances that appear in focus. Smaller f-numbers give shallower depth of field.
Calculate the maximum speed a part can move and still be captured without motion blur, given exposure time and pixel resolution.