How Does Field of View Calculation Work?
- FOV depends on focal length and active sensor dimensions
- Basic rectilinear formula: FOV = 2 x arctan(sensor_dimension / (2 x focal_length))
- Wide-angle and fisheye lenses require projection-aware FOV data for accurate results
- Scene width at distance: Width = 2 x WD x tan(HFOV/2)
- Fisheye lenses use non-rectilinear projection models
The field of view formula assumes an ideal pinhole camera with rectilinear projection. Use it for low-distortion lenses only, typically telephoto and standard focal lengths. Wide-angle and fisheye lenses deviate significantly from the rectilinear model; fisheye FOV cannot be interpolated from EFL and edge distortion alone. Use this calculator, Commonlands MCP tools, or precomputed product FOV tables for fisheye and distortion-sensitive lenses.
Rectilinear projection. Add distortion correction for wide-angle lenses.
Need to Determine Your Target FOV First?
Use our Angle of View Calculator to find the required FOV for your scene coverage and working distance.
What Does the Distortion Visualizer Show?
The distortion visualizer displays a reference grid as it would appear through the selected lens. Barrel distortion (negative coefficients) curves straight lines outward from the image center, a pattern common in wide-angle M12 lenses below 4mm focal length. Pincushion distortion (positive coefficients) curves lines inward, occasionally seen in telephoto designs. The visualizer helps engineers understand the actual image geometry before committing to a lens selection.
Basic FOV Formula
- Assumes perfect pinhole projection
- Accurate for telephoto lenses
- Underestimates coverage of barrel-distorted wide-angle lenses
- No distortion visualization
This FOV Calculator
- Includes polynomial distortion model
- Real-time distortion grid visualization
- Commonlands lens database with characterized distortion
- Multiple fisheye projection models
What Parameters Affect Field of View?
Effective Focal Length (EFL)
The effective focal length determines the angular field of view through the relationship FOV = 2 × arctan(d / 2EFL), where d is the sensor dimension. Shorter focal lengths provide wider coverage; longer focal lengths narrow the field but increase magnification. Browse M12 lenses sorted by focal length from 0.8mm fisheye to 75mm telephoto, or explore C-mount lenses for larger format sensors.
Note: back focal length (BFL) describes the physical distance from the rear lens element to the sensor plane and should not be used for FOV calculations. See our effective focal length calculator for more details on the distinction.
Sensor Active Area
FOV calculations require the active sensor dimensions, not the nominal format name. A "1/2.3 inch" sensor actually measures approximately 6.17 × 4.55 mm. The fraction refers to historical vidicon tube conventions, not physical dimensions. The calculator includes preset dimensions for common Sony, OmniVision, and OnSemi sensors used in machine vision and robotics applications. Browse the full image sensors list for datasheets and active area dimensions.
Sensor Size Reference
For comprehensive sensor format specifications including active area dimensions, pixel counts, and aspect ratios, see our detailed CMOS Sensor Size Reference Guide or browse the full image sensors list for specific part numbers. These sensors come from Sony, OmniVision, and OnSemi and are commonly used with our M12 mount lenses and C-mount lenses.
Lens Image Circle
The lens must project an image circle larger than the sensor diagonal to avoid dark corners (vignetting). Most M12 lenses designed for 1/2" format sensors provide approximately 8-10 mm image circles. When using larger sensors, verify coverage in the lens specifications. Our product pages include sensor compatibility information for each lens. For applications requiring precise corner illumination, consider our low-distortion M12 lenses which are optimized for uniform field illumination.
Distortion and Projection Model
Barrel distortion in wide-angle lenses maps more angular content to the image periphery than the rectilinear formula predicts. A lens with -15% TV distortion at the image edge may capture 10-20% more angular coverage than the undistorted calculation suggests. Fisheye lenses use specific mathematical projections: equidistant (r = f·θ), equisolid-angle (r = 2f·sin(θ/2)), or stereographic (r = 2f·tan(θ/2)). These produce dramatically different FOV from rectilinear lenses of the same focal length.
For more on how lens characteristics affect image quality, see our technical blog articles covering topics like sensor matching and optical performance.
How Do I Apply FOV Results to System Design?
Determining Working Distance
To find the working distance required for a specific scene width, rearrange the geometry:
Assumes rectilinear projection. Distorted lenses compress edges.
Example: To view a 2-meter wide scene with 60° HFOV, the required working distance is approximately 1.73 m. Verify that the depth of field at this distance covers your subject depth using the depth of field calculator.
Selecting Focal Length for Target FOV
If you know your required field of view, use our angle of view calculator to determine the target FOV from your scene requirements, then calculate the required focal length:
For target FOV on known sensor format
Example: To achieve 70° HFOV on a Sony IMX477 sensor (6.29 mm width), select a lens with approximately 4.5 mm focal length. Browse M12 lenses filtered by focal length to find matching options, or use our EFL calculator for precise focal length determination.
What Are Common FOV Calculation Mistakes?
Confusing Total FOV with Angular Resolution
Total field of view indicates the angular extent captured by the sensor. Angular resolution (IFOV, instantaneous field of view) indicates the angle subtended by a single pixel, approximately pixel_pitch / focal_length on axis. Dividing total FOV by pixel count gives only a field-averaged value; on wide rectilinear lenses the per-pixel angle varies noticeably from center to edge. For a 90° HFOV imaged across 1920 pixels at 1 meter working distance, the scene spans 2 meters, roughly 1 mm per pixel on a flat target. This sampling determines whether your system can resolve the features you need to detect in machine vision applications.
Using Nominal Format Instead of Active Area
Sensor format designations (1/2.3", 1/1.8", etc.) are historical conventions that do not correspond to physical dimensions. A "1/2.3 inch" sensor measuring 6.17 × 4.55 mm has a diagonal of approximately 7.7 mm, not 11 mm (which would be the actual fraction). Always use the active area dimensions from the sensor datasheet. See our CMOS sensor size reference for common sensor specifications.
Fisheye Specification Ambiguity
Manufacturers specify fisheye lens FOV inconsistently. Some quote diagonal coverage at the full image circle; others provide horizontal FOV on a specific sensor format. Always verify: (1) which dimension is specified, (2) the projection model, and (3) whether the stated coverage applies to your sensor format. This calculator helps verify manufacturer claims against measured distortion data from our characterized fisheye lenses.
Ignoring Distortion in Wide-Angle Systems
For lenses with focal lengths below 4 mm on 1/2" format sensors, barrel distortion typically exceeds -10% at the image corners. This distortion compresses more angular content at the edges, increasing effective FOV beyond the rectilinear prediction. The distortion visualizer shows this effect directly: a heavily distorted grid indicates that the actual FOV exceeds the formula-based calculation.
How Do I Implement Distortion Correction with OpenCV?
This calculator provides initial FOV estimates based on nominal specifications and characterized distortion data. For computer vision applications requiring precise undistortion, you'll need to calibrate your specific lens-sensor combination using physical samples and calibration targets. OpenCV provides two camera models depending on your lens type.
Standard Camera Model (Lenses <120° FOV)
For rectilinear and moderate wide-angle lenses, OpenCV's standard calibration uses the Brown-Conrady distortion model with five coefficients. The cv2.calibrateCamera() function estimates intrinsic parameters (focal length, principal point) and distortion coefficients (k1, k2, p1, p2, k3) from checkerboard images.
# Calibrate using checkerboard images
ret, mtx, dist, rvecs, tvecs = cv2.calibrateCamera(
objpoints, # 3D points in world coordinates
imgpoints, # 2D points in image plane
gray.shape[::-1],
None, None
)
# dist contains [k1, k2, p1, p2, k3]
# Undistort images using the calibration
undistorted = cv2.undistort(img, mtx, dist)
The radial distortion coefficients (k1, k2, k3) model barrel and pincushion distortion, while tangential coefficients (p1, p2) correct for lens-sensor misalignment. For most M12 lenses with focal lengths above 3mm, the standard model provides sub-pixel accuracy after calibration.
Fisheye Camera Model (Lenses >120° FOV)
For ultra-wide and fisheye lenses, the standard model fails at extreme angles. OpenCV's fisheye module implements the Kannala-Brandt equidistant projection model with four distortion coefficients (k1, k2, k3, k4).
# Fisheye calibration for wide-angle lenses
calibration_flags = (
cv2.fisheye.CALIB_RECOMPUTE_EXTRINSIC +
cv2.fisheye.CALIB_FIX_SKEW
)
ret, K, D, rvecs, tvecs = cv2.fisheye.calibrate(
objpoints, imgpoints, gray.shape[::-1],
None, None,
flags=calibration_flags
)
# D contains [k1, k2, k3, k4] for equidistant model
# Undistort to rectilinear (crops FOV significantly)
map1, map2 = cv2.fisheye.initUndistortRectifyMap(
K, D, np.eye(3), K, img.shape[:2][::-1], cv2.CV_16SC2
)
undistorted = cv2.remap(img, map1, map2, cv2.INTER_LINEAR)
FOV Reduction When Undistorting Fisheye
Converting a fisheye image to rectilinear projection significantly reduces usable FOV. A 180° diagonal fisheye typically yields only 100-120° of usable rectilinear coverage after undistortion, with severe stretching at the periphery. For applications requiring the full fisheye FOV (SLAM, panoramic stitching), work directly with the distorted images using the fisheye projection model.
Calibration Workflow
The recommended workflow for implementing distortion correction in your vision system:
- Order samples: Select candidate lenses from our M12 or C-mount collections based on FOV estimates from this calculator
- Capture calibration images: Photograph a checkerboard pattern (typically 9×6 or 7×5 inner corners) at 15-30 different orientations covering the full FOV
- Run calibration: Use
cv2.calibrateCamera()for standard lenses orcv2.fisheye.calibrate()for wide-angle - Evaluate reprojection error: Target <0.5 pixels RMS for precision applications
- Apply correction: Use
cv2.undistort()or pre-compute rectification maps for real-time performance
Calculator vs. Calibration Accuracy
This FOV calculator uses characterized distortion data to provide accurate initial estimates. The effective focal length tolerance is typically within ±5%, and usually within ±1%. However, manufacturing tolerances and specific lens-sensor combinations require physical calibration for computer vision applications demanding sub-pixel accuracy. Use this calculator for system design and lens selection, then calibrate your actual hardware for production deployment.
Related Calculators
Complete your optical system design with our full suite of engineering tools:
- Angle of View Calculator: Determine target FOV from scene requirements
- Depth of Field Calculator: Verify focus range at working distance
- Effective Focal Length Calculator: Calculate required focal length