Lens Calculator

Looking for a lens? Let us help you do the math.

Find additional information below on important lens specifications and learn how they affect application imaging.

Lens Calculator

Looking for a lens? Let us help you do the math.

STEP 1
Choose your sensor format size:
Camera ModelsMPFormat Size
TRI02KA2K14.3mm
TRI003S-WC, ATP003S-WC (SWIR)0.3 MP1/4"
PHX004S, TRI004S0.4 MP1/2.9"
PHX005S, TRI005S0.5 MP1/1.7"
TRI013S-WC, ATP013S-WC (SWIR)1.3 MP1/2"
PHX016S, TRI016S, TRT016S1.6 MP1/2.9"
PHX023S, TRI023S, TRT023S2.3 MP1/2.3"
TRI028S, TRT028S, ATL028S2.8 MP2/3"
PHX032S, TRI032S3.2 MP1/1.8"
PHX050S, PHX050S-P/Q, TRI050S, TRI050S-P/Q, TRT050S, ATL050S5.0 MP2/3"
TRI051S, TRT051S, ATX051S5.0 MP1/1.8"
TRI054S, TDR054S5.4 MP1/1.55"
PHX064S, TRI064S, TRT064S6.3 MP1/1.8"
TRI071S, TRT071S, ATL071S7.1 MP1.1"
TRI081S, TRT081S, ATX081S8.1 MP2/3"
PHX089S, TRI089S, ATL089S8.9 MP1"
PHX122S, TRI122S12.2 MP1/1.7"
PHX120S, TRI120S, TRT120S, ATL120S12.3 MP1.1"
TRI124S, TRT124S, ATX124S12.3 MP1/1.1"
TRI162S, TRT162S, ATX162S16.2 MP1.1"
ATL168S16.8 MP4/3"
ATL196S19.6 MP4/3"
PHX200S, TRI200S, TRT200S, ATP200S20 MP1"
TRI204S, TRT204S, ATX204S20.4 MP1.1"
ATX245S, TRI245S, TRT245S24.5 MP4/3"
ATL314S31.4 MPAPS-C
ATX470S47.0 MP1.4"
ATX650G65.0 MP2.3"
STEP 2
Enter one of the following:
Lens Focal Length (mm):
– Or –
Distance to Object (cm):
STEP 3
Enter one of the following:
Width of Object (cm):
- Or -
Height of Object (cm):

Camera Lens Calculator

Additional Information

Sensor Format Size

The sensor format size is shown in inches such as 1/3″, 1/2″, 1″, etc. Camera manufacturers will sometimes also list the diagonal length of the format size in millimeters. It is important to know that format sizes in inches might have different diagonal lengths depending on the sensor manufacturer. For example, a sensor manufacturer can list a 8.35mm diagonal sensor as 1/2″ while another manufacturer can list a 7.9mm diagonal sensor as 1/2″. In most cases both sensors could use the same 1/2″ lens but sometimes this might not be the case. In the above calculator we list the diagonal sensor size (mm) associated with the sensor format size (inches) of the sensors in our camera portfolio.

Sensor format size examples

Examples of sensor format sizes: (left to right) 1/6″, 1/3″, 2/3″, 1″

The sensor format size is important to know because every lens is designed to focus light onto a specific sized area of the sensor. Sensor format size is also know as optical class, image circle or image sensor type. In most cases you’ll need to choose a lens that either matches your sensor format size or exceeds it. If you mistakenly use a lens that is designed for a smaller sensor format size your image would encounter lens vignetting around the edges because light is unable to reach their entire area of the sensor.

Example of using the wrong lens for larger sensor format size

Above Left: A properly paired lens with the correct sensor format size will focus light over the entire sensor area. Right: A lens designed for a smaller sensor will not allow light to reach the outer area of the sensor.

Focal Length

A focal length of a lens is the distance in millimeters between the point of light convergence in the lens to the sensor in the camera. The shorter the focal length of the lens the wider the angle of view and the closer your target object can be. Higher focal lengths give smaller angles of view while also increasing magnification. The higher the focal length the farther your target object can be.

lens focal length mm example

Above: This simplified example shows the relationship of the focal length to the angle of view and object distance

where to find focal length

The focal length can usually be located on the label of your lens. If you do not know what focal length you need enter in the distance to your target object and the lens calculator will calculate the appropriate lens focal length.

Camera Mounts: C-Mount, CS-Mount, NF-Mount

Different machine vision cameras will have different lens mounts and you’ll need to choose a lens with a matching mount. The most common lens mounts are C- and CS-mount. The major difference between two is the back flange distance -the distance between the base of the lens that touches the lens mount on the camera to the the focal plane of the sensor. For C-mount, the back flange distance is 17.526 and for CS-mount it is 12.5mm.  You can use a 5mm adapter to use a C-mount lens on a CS-mount camera but you can not use a CS-mount lens on a C-mount camera.

NF-Mount lenses offer a smaller footprint than both C-mount or CS-mount lenses. They are designed to have the same performance and functionality as regular C/CS lenses but take up less space and have less weight. The back flange distance on NF-mount is 12.0mm. It is possible to use C/CS-mount adapters with an NF-mount lens however it is important to know that larger sensors might be too big for the NF-lens and will produce strong vignetting on the image.

Back flange distance comparison between c/cs/nf-mount

Above: Whether it is a fixed focal lens, varifocal lens or zoom lens, the mount type must match on both your lens and camera. This is due to different back flange distances: C-mount – 17.526mm, CS-mount – 12.5 mm, NF-mount – 12.0mm

Need additional assistance with your lens selection?
Contact us for help.