This DOF calculator Provides the hyperfocal distance and the object range Where your camera will be in focus.

Camera Depth of Field Calculator

Camera Depth of Field Calculator for Surveillance Camera and M12 Lens. DoF Calculator.

This camera calculator allows you to determine the depth of field (DoF) of a camera based upon the selected system configuration. The depth of field can be characterized by three metrics: Hyperfocal Distance, Near Focus Distance, and Far Focus Distance. The depth of field for a camera is dependent upon the camera sensor pixel pitch, the lens effective focal length, and the lens F/#.

  • The Hyperfocal Distance is the distance at which a lens should be focused to achieve acceptable focus out to infinity.

  • The Near Focus Distance is the closest distance which will be in focus, given a specific focus distance. When a camera is focused at the Hyperfocal distance, the Near Focus Distance is equal to half of the Hyperfocal distance.

  • The Far Focus Distance is the further distance which will be in focus, given a specific focus distance. When a camera is focused at the Hyperfocal distance, the Far Focus Distance is equal to Infinity.

A detailed walk through on 2px versus 4px will be available in the near future!

Instructions: To use the calculator, enter the value(s) and press Tab or click any white area. The next section will open.

Click below Use our Other Camera Calculators to Complete Your Camera Design

Camera Field of View Calculator. FoV Calculaot
Lens Focal Length Calculator. EFL Calculator.
Camera Angle of View Calculator. AoV Calculaot

Find A Lens for Your Project

A 1.5mm M12 fisheye lens for All-sky and surveillance cameras
A 1.5mm M12 fisheye lens for All-sky and surveillance cameras
A 1.5mm M12 fisheye lens for Raspi Allsky cameras
A 1.5mm M12 fisheye lens for Rasperry Pi High Quality Allsky cameras
A full circular fisheye output image with 190 degrees field of view

All-Sky 1.5mm M12 Fisheye Lens

$39.00
Fisheye 2.2mm M12 Lens
Fisheye 2.2mm M12 Lens
Fisheye 2.2mm M12 Lens
Fisheye 2.2mm M12 Lens
Fisheye 2.2mm M12 Lens

Fisheye 2.2mm M12 Lens

$39.00
3.1mm M12 GoPro Replacement Lens
3.1mm M12 GoPro Replacement Lens
3.1mm M12 GoPro Replacement Lens for Raspberry Pi HQ Camera
3.1mm S Mount GoPro Replacement Lens for Raspberry Pi HQ Camera
GoPro 3.1mm M12 Lens

GoPro 3.1mm M12 Lens

$39.00
The CommonLands CIL028-F24-M12IR is a high resolution, wide angle, low distortion, 2.8mm F/2.4 M12 S Mount Lens for 12MP+ M12 Cameras.
The CommonLands CIL028-F24-M12IR is a high resolution, wide angle, low distortion, 2.8mm F/2.4 M12 S Mount Lens for 12MP+ M12 Cameras.
The CommonLands CIL028-F24-M12IR is a 2.8mm F/2.4 M12 S Mount Lens for and is pictured on the Pi HQ Camera.
The CommonLands CIL028-F24-M12IR is a 2.8mm F/2.4 M12 S Mount Lens for and is pictured mounted in the Pi HQ Camera.
Drone 2.8mm M12 Lens

Drone 2.8mm M12 Lens

$39.00
A 4K+ 4.2mm M12 S-Mount Lens. This is a great Raspberry Pi HQ Camera Lens.
A 4K+ 4.2mm M12 S-Mount Lens. This is a great Raspberry Pi HQ Camera Lens.
A 4K+ 4.2mm M12 Lens for the Pi HQ Camera.
A 4K+ 4.2mm M12 S-Mount Lens. This CIL04.2-F2.8-M12IR lens is a great Video Conferencing Lens.
The output from a 12MP lens with 4.2mm focal length. Taken with the Raspberry Pi High Quality IMX477 sensor.

Cellphone 4.2mm M12 Lens

$39.00
The CommonLands CIL08.0-F1.8-M12NOIR is a 8.0mm F/1.8 S Mount M12 Lens for cameras such as the Raspberry Pi HQ Camera.
The CommonLands CIL08.0-F1.8-M12NOIR is a 8.0mm F/1.8 S Mount M12 Lens for cameras such as the Raspberry Pi HQ Camera.
The CommonLands CIL08.0-F1.8-M12NOIR 8.0mm EFL M12 lens is pictured with the Raspberry Pi HQ Camera.
The CommonLands CIL08.0-F18-M12NOIR 8.0mm EFL M12 lens is pictured with the Raspberry Pi HQ Camera.
Portrait 8.0mm M12 Lens

Portrait 8.0mm M12 Lens

$39.00
The CommonLands CIL03.2-F1.8-CSIR is a 3.2mm F/1.8 CS Mount Lens for 12MP+ CS Cameras such as the Raspberry Pi HQ Camera.
The CommonLands CIL03.2-F1.8-CSIR is a 3.2mm F/1.8 CS Mount Lens for 12MP+ CS Cameras such as the Raspberry Pi HQ Camera.
The CommonLands CIL03.2-F1.8-CSIR 3.2mm EFL lens is pictured with the Raspberry Pi HQ Camera.
The CommonLands CIL03.2-F1.8-CSIR 3.2mm EFL lens is pictured next to the Raspberry Pi HQ Camera.
Wide-Angle 3.2mm CS Mount Lens

Wide-Angle 3.2mm CS Mount Lens

$59.00
The CommonLands CIL050-F18-CSIR is a 5.0mm F/1.8 CS Mount Lens for 12MP+ CS Cameras such as the Raspberry Pi HQ Camera
The CommonLands CIL050-F18-CSIR is a 5.0mm F/1.8 CS Mount Lens for 12MP+ CS Cameras such as the Raspberry Pi HQ Camera
The CommonLands CIL050-F18-CSIR 5.0mm EFL lens is pictured with the Raspberry Pi HQ Camera
The CommonLands CIL050-F18-CSIR 5.0mm EFL lens is pictured next to the Raspberry Pi HQ Camera.
Cellphone 5.0mm CS Mount Lens

Cellphone 5.0mm CS Mount Lens

$59.00
The CommonLands CIL08.0-F18-CSNOIR is a 8.0mm F/1.8 CS Mount Lens for 12MP+ CS Cameras such as the Raspberry Pi HQ Camera.
The CommonLands CIL08.0-F18-CSNOIR is a 8.0mm F/1.8 CS Mount Lens for 12MP+ CS Cameras such as the Raspberry Pi HQ Camera.
The CommonLands CIL08.0-F1.8-CSIR 8.0mm EFL lens is pictured with the Raspberry Pi HQ Camera.
The CommonLands CIL080-F18-CSIR 8.0mm EFL lens is pictured next to the Raspberry Pi HQ Camera.
Portrait 8.0mm CS Mount Lens

Portrait 8.0mm CS Mount Lens

$59.00

See Our Knowledge Base to get started with OEM Projects.

Go to Our Camera Design Walk Through 

Robotics

Computer Vision Camera Lenses

Find a lens suitable for your custom robotics project. Example use-cases include warehouse automation robotics, agricultural NDVI drones, and bore-scope inspection crawlers.

Video Conferencing

Teleconferencing Camera Lenses

Enhance your video-conferencing camera with high resolution low distortion lenses. Examples include medical telepresence and huddle room cameras.

Surveillance

Wide Angle Cameras

Customize your miniature OEM Surveillance Camera which needs to fit within a wall. Examples include retail traffic measurement cameras and building occupancy counters.

 Camera Design Support Services

We can support you through the design to production life-cycle.

We help hobbyists and product development firms bring their camera ideas to life, from the earliest ideation stage through to mass production. We can introduce you to manufacturing and camera development partners around the world.

Learn more
product image