Entocentric Lens Calculator

This calculator is specific to the CABR833 Basler Aviator avA2300-25gm camera with ON Semi KAI-04050-A sensor having 5.52 x 5.51 micron pixels and 2,330 x 1,750 resolution. Please let us know if you experience any problems using it.

Complete the fields below to calculate the focal length of the ideal lens.


Complete the fields below to calculate the aproximate working distance. (This is the distance between the lens and the object to be imaged.)


Complete the fields below To calculate the aproximate field of view (the area To be imaged.)


These lens calculators are for general-purpose entocentric lenses, the most commonly used type in machine vision installations. These calculators have already applied the pixel size and resolution of the CABR833 Basler Aviator avA2300-25gm camera with ON Semi KAI-04050-A sensor having 5.52 x 5.51 micron pixels and 2,330 x 1,750 resolution. Note you may specify an area-of-interest smaller than the camera's full resolution.

With the exception of lens focal length, the parameters you enter may be in any dimensional unit (mm, cm, inches, feet, or whatever). The result will be in the same dimensional unit.
Lens focal length is always in mm.
First enter your application parameters in Calculator #1. This will help you determine the ideal lens focal length.
You're not likely to find a lens having the exact focal length suggested by Calculator #1. Therefore, you'll need to adjust the working distance and/or the field of view based on the focal lengths commonly available.
Using a common lens focal length, use Calculator #2 to determine the working distance necessary to get your desired field of view. Or, use Calculator #3 to determine the field of view resulting from a fixed working distance.
Lenses having focal lengths of 6, 8, 12, 16, 25, 35 and 50 mm are commonly available. Using a shorter focal length lens decreases your working distance and therefore captures more light, but the resulting image will be more distorted. A 16mm lens is often a good compromise.
Keep in mind that a smaller sensor size will increase the working distance.
Calculators assume field of view width is in direction of the camera sensor's width. If your field of view's height is greater than it's width, consider rotating the camera 90 degress.
For a line scan camera, enter a vertical pixel resolution of 1 to 3 pixels. You may then enter a vertical field of view of zero.
Having trouble finding a lens for a small field of view with a short working distance? Try our Macro Lens Calculator.
There are many other factors to consider beyond lens focal length. We'd be glad to help you select a lens appropriate for your project.