Vision System FOV Calculator
Calculate camera field of view, pixel resolution, and lens selection from sensor size, focal length, and working distance.
About this calculator
This calculator uses the standard thin-lens field-of-view relationship, FOV = (sensor size x working distance) / focal length, applied separately to the horizontal (Sensor Width) and vertical (Sensor Height) dimensions to get FOV Width and FOV Height. This is the same geometric relationship used throughout machine vision lens selection: FOV grows proportionally with Working Distance (moving the camera farther from the part widens the view) and with Sensor Width, but shrinks proportionally as Focal Length increases (a longer, more "zoomed in" lens narrows the field of view at the same distance). Horizontal Pixel Density (pixels per mm) divides the camera's Horizontal Resolution pixel count (an input, the sensor's pixel count) by the computed FOV Width, so a wider field of view spreads the same pixel count over more physical distance and lowers the pixels-per-mm figure -- this is the key trade-off in vision system design between seeing a larger area and resolving finer detail.
Focal Length for Required FOV works the relationship backward, solving for the lens focal length that would produce the Required FOV Width entered, which is useful for selecting a lens before it is purchased. Depth of Field is a simplified approximation using a fixed f-number of 8 (typical for industrial machine vision lenses) and the sensor's pixel size (Sensor Width divided by Horizontal Resolution) as a circle-of-confusion proxy -- it estimates how much the working distance can vary while the image stays acceptably in focus. FOV Adequacy is a simple pass/fail check: it reports "Sufficient" whenever the computed FOV Width meets or exceeds the Required FOV Width entered, and "Insufficient" otherwise, so it flags at a glance whether the chosen sensor/lens/distance combination actually covers the area the application needs.
Inputs
Results
FOV Width
266.67 mm
≈ 3 credit cards
How to Use This Calculator
- Enter camera sensor width and height (mm) and focal length (mm).
- Set the working distance from lens to part surface (mm).
- Enter required field of view width and horizontal image resolution (pixels).
- Review actual FOV width and height (mm), pixel resolution (px/mm), required focal length, and the FOV Adequacy pass/fail check.
- Use depth-of-field output to verify the lens maintains focus across part height variation.
How the result changes with Focal Length
| Focal Length | FOV Width |
|---|---|
| 6 | 533.33 mm |
| 9 | 355.56 mm |
| 18 | 177.78 mm |
| 30 | 106.67 mm |
What each input means
- Sensor Width
- Camera sensor width (e.g., 1/2" sensor = 6.4mm).
- Sensor Height
- Camera sensor height.
- Focal Length
- Lens focal length.
- Working Distance
- Distance from the lens to the inspection surface.
- Required FOV Width
- Minimum horizontal field of view needed for the application.
- Horizontal Resolution
- Camera horizontal pixel count.
- Vertical Resolution
- Camera vertical pixel count.
What each result means
- FOV Adequacy
- "Sufficient" when the computed FOV Width meets or exceeds Required FOV Width; "Insufficient" otherwise.
How this is calculated
Worked example, using the default values
- Identify Input Parameters7 parametersSensor Width = 6.4, Sensor Height = 4.8, Focal Length = 12, Working Distance = 500, Required FOV Width = 200, Horizontal Resolution = 2048, Vertical Resolution = 1536 = 7 input(s) provided
- Calculate FOV WidthFOV Width266.67 = 266.67
- Calculate FOV HeightFOV Height200 = 200
- Calculate Horizontal Pixel DensityHorizontal Pixel Density7.68 = 7.68
Engine last updated . Checked against 1 independently-derived test — how we verify calculators. Built by Paul Gunder, a software engineer, not a licensed financial, medical, or legal professional.
Frequently Asked Questions
Why does increasing Focal Length shrink the field of view?
FOV Width follows FOV = (Sensor Width x Working Distance) / Focal Length, so Focal Length sits in the denominator: a longer focal length lens concentrates the same sensor area onto a smaller physical region at the same working distance, narrowing the field of view. This is the same principle behind a telephoto camera lens "zooming in" on a smaller area than a wide-angle lens at the same distance.
Why does moving the camera farther away widen the field of view?
Working Distance appears in the numerator of the FOV formula, so increasing it proportionally increases both FOV Width and FOV Height -- a camera farther from the inspection surface sees a physically larger area through the same lens and sensor, exactly like how a photo taken from farther back captures more of a scene.
Why does a wider field of view reduce pixel resolution (px/mm)?
Horizontal Pixel Density (px/mm) divides the camera's fixed Horizontal Resolution pixel count by FOV Width. If FOV Width increases (a wider view) while pixel count stays the same, those pixels are spread across more physical distance, so pixels-per-mm falls -- meaning less fine detail can be resolved per unit of the part being inspected. This is the fundamental trade-off between field of view and resolution in machine vision.
What does the 'Focal Length for Required FOV' output actually tell me?
It solves the FOV formula backward for focal length, answering "what lens focal length would produce exactly the Required FOV Width I need, at this working distance and sensor size?" This is a practical lens-selection tool: enter the FOV you need to see, and the output tells you what focal length lens to buy.
Is the Depth of Field output an exact measurement?
No -- it is a simplified approximation that assumes a fixed f-number of 8 (a common industrial machine-vision aperture setting) and uses the sensor's pixel size as a stand-in for circle of confusion. Actual depth of field also depends on the specific lens design and the true aperture setting used, so this output should be read as an approximate guide rather than a precise optical specification.
Related Calculators
The questions that sit next to this one — chosen by subject, including calculators filed under a different category.
Robot Cycle Time Calculator
Calculate pick and place cycle time from distances, speeds, and process times. Determine throughput and target feasibility.
Industrial RoboticsRobot Cell Layout Calculator
Calculate workcell footprint from robot reach, safety zone requirements, station sizes, and aisle clearances.
Photography BusinessLens Equivalent Calculator
Convert focal lengths between camera sensor sizes. Find the equivalent field of view and crop factor when switching between camera systems.
OptometryContact Lens Annual Cost Calculator
Calculate the total annual cost of wearing contact lenses including lenses, solution, and eye exams.
Industrial RoboticsAutomation ROI Calculator
Calculate payback period and return on investment from labor savings, throughput gains, and total system cost for automation projects.
More in Manufacturing, Industrial & Coatings.