## Camera calculators

The calculators enable to quickly find the connection between image sensor resolution, required Field of View (FOV) and the lens you need.

Conventions and definitions:
Camera consists of image sensor and lens. Image sensor has Nx x Ny active pixels.
Camera FOV is the full angle of view, mapped by the lens onto the image sensor’s pixel matrix.

# FOV calculator 1

Given a Field of View of a camera in terms of length and width, at a given distance, calculate the corresponding full angles of the FOV in degrees.

##### FOV calculator

Horizontal FOV: [deg]

Vertical FOV: [deg]

# FOV calculator 2

Calculate the horizontal and vertical FOV that will be obtained given an image sensor and lens. What determines the FOV viewable by an image sensor through a given lens, is the focal length of that lens. In practice, a lens is designed to support up to a maximal FOV angle. Some lenses have a built-in field stop, which sharply restricts the field beyond that certain angle from being viewable. Most lenses don’t, and the viewable field “fades out”, due to vignetting. The lens is specified to work within an image area called image circle.

##### Distortion

When calculating high FOV, it is important to remember in lenses providing ~>70deg, often distortion is present. Distortion applies geometrical transformations on the image, which may have important implication on computer vision application. Without knowledge of the design properties of the lens, it is not possible to determine these transformations and the actual FOV of the lens.

Horizontal FOV:

Vertical FOV:

# Focal length (efl) calculator

When building a camera, rarely a new lens is designed, and in most cases existing lenses are matched. Determining which lens is required for a camera, can be a complex task. A lens has dozens of parameters, the most important of which are efl (effective focal length) and f# (f-number). Focal length determines the first-order relation (magnification) between object and image.

Using this calculator find the efl for a given image sensor and required horizontal or vertical FOV.

##### Focal length calculator

Image sensor resolution:
Required FOV

Results:

Required Focal length:

Horizontal FOV:

Vertical FOV:

# Camera Resolution

Calculate the horizontal and vertical FOV that will be obtained given an image sensor and lens. What determines the FOV viewable by an image sensor through a given lens, is the focal length of that lens. In practice, a lens is designed to support up to a maximal FOV angle. Some lenses have a built-in field stop, which sharply restricts the field beyond that certain angle from being viewable. Most lenses don’t, and the FOV edges “fade out”.

Warning: in lenses providing >70deg, often distortion is present. Distortion applies geometrical transformations on the image, which may have important implication on computer vision application. Without knowledge of the design properties of the lens, it is not possible to determine these transformations and the actual FOV of the lens.