Camera FOV Calculator: Field of View by Sensor & Lens
Calculate a camera's horizontal, vertical, and diagonal field of view from its sensor size and lens focal length. Includes the formula and worked examples.
Camera Field of View Calculator
Input Parameters
Calculation Formula
The field of view is calculated using the formula:
FOV = 2 × arctan(sensor_dimension / (2 × focal_length))Field of View Results
Field of View Visualization
Documentation
What is a camera field of view calculator?
A camera field of view (FOV) calculator works out how wide a scene a camera can capture. It uses two numbers: the size of the camera's sensor and the focal length of the lens. The result is an angle, usually given in degrees, for the horizontal, vertical, and diagonal directions.
Field of view matters because it decides what fits in the frame. A wide field of view captures a broad scene, such as a landscape. A narrow field of view captures a small slice of a scene but makes distant subjects look larger.
How to calculate field of view
Field of view depends on two things: the sensor dimension (width or height, in millimeters) and the lens focal length (also in millimeters). The formula uses the arctangent function, written as arctan or tan⁻¹. Half the sensor and the focal length form a right triangle, so the half-angle is arctan(d ÷ 2f) and the full angle is twice that, as the OpenMV field of view tutorial shows step by step:
FOV = 2 × arctan(d / (2 × f))
- d is the sensor dimension: width for horizontal FOV, height for vertical FOV.
- f is the focal length of the lens, in millimeters.
- The result comes out in radians and is converted to degrees for display.
The diagonal FOV uses the same formula, but with the sensor's diagonal length in place of width or height. Lens datasheets often quote the diagonal figure. The diagonal is found with the Pythagorean theorem:
diagonal = √(width² + height²)
For a custom sensor, the tool can find the height from the width and an aspect ratio, by dividing width by the ratio:
height = width ÷ aspect ratio
The tool offers five ratios: 3:2 (value 1.5), 4:3 (1.333), 16:9 (1.778), 1:1 (1) and the 2.39:1 widescreen cinema ratio (2.39). A 36 mm wide sensor at 16:9, for example, is 36 ÷ 1.778 = 20.25 mm tall.
Common sensor sizes
Sensor size changes the field of view even when the focal length stays the same. A larger sensor captures a wider angle from the same lens. The tool's presets use these dimensions:
- Full frame (35mm): 36 × 24 mm
- Medium format: 43.8 × 32.9 mm
- APS-H: 28.7 × 19.0 mm
- APS-C (Nikon/Sony): 23.5 × 15.6 mm
- APS-C (Canon): 22.3 × 14.9 mm
- Micro Four Thirds: 17.3 × 13.0 mm
- 1-inch: 13.2 × 8.8 mm
- 2/3-inch: 8.8 × 6.6 mm
- 1/1.7-inch: 7.6 × 5.7 mm
- 1/2.3-inch: 6.17 × 4.55 mm
A "Custom" option takes any width and height.
The full-frame diagonal divided by a sensor's diagonal is called the crop factor. With the dimensions above, it is about 1.53 for APS-C (Nikon/Sony), 1.61 for APS-C (Canon) and 2.0 for Micro Four Thirds. The tool does not use crop factors; it works from the sensor dimensions directly.
Example calculation
Take a full-frame camera (36 × 24 mm sensor) fitted with a 50mm lens. These are the tool's default settings.
Horizontal FOV: HFOV = 2 × arctan(36 / (2 × 50)) = 2 × arctan(0.36) ≈ 39.60°
Vertical FOV: VFOV = 2 × arctan(24 / (2 × 50)) = 2 × arctan(0.24) ≈ 26.99°
Diagonal FOV: Diagonal = √(36² + 24²) ≈ 43.27 mm DFOV = 2 × arctan(43.27 / 100) ≈ 46.79°
A 50mm lens on full frame is traditionally called a "normal" lens, one that is neither wide-angle nor telephoto.
Quick reference: full-frame focal lengths
| Focal length | Horizontal FOV | Vertical FOV |
|---|---|---|
| 24mm (wide) | 73.7° | 53.1° |
| 50mm (normal) | 39.6° | 27.0° |
| 85mm (portrait) | 23.9° | 16.1° |
| 200mm (telephoto) | 10.3° | 6.9° |
| 400mm (super telephoto) | 5.2° | 3.4° |
A shorter focal length always gives a wider field of view. A longer focal length always narrows it.
How to use the calculator
- Pick a sensor size from the list, or choose "Custom" and enter the exact width and height in millimeters.
- Enter the focal length of the lens, in millimeters.
- For a custom sensor only, you can tick the aspect ratio option and pick a ratio instead of typing a height. The tool then works out the height from the width.
- Read the results: horizontal FOV, vertical FOV, and diagonal FOV, shown in degrees (or radians, if that unit is selected), to two decimal places.
Why field of view matters
Photographers use FOV to choose a lens before a shoot. A wide-angle lens fits more of a room or landscape into the frame. A telephoto lens isolates a distant subject.
Cinematographers calculate FOV when planning shots, so that camera position and lens choice match the intended framing. Security installers use it to work out how much of a room or parking lot a single camera covers. Drone pilots use it to plan flight paths that fully cover a survey area without gaps.
Sensor size changes these numbers too. A smaller sensor narrows the field of view for a given lens, which is why the same 50mm lens looks like a longer telephoto on an APS-C camera than on a full-frame camera.
Frequently asked questions
What is field of view in photography?
Field of view is the angle of the scene a lens and sensor capture together, measured in degrees. A wide angle, such as 74°, covers a broad scene. A narrow angle, such as 10°, covers a small slice of the scene but magnifies distant subjects.
How does sensor size affect field of view?
A larger sensor captures more of the image a lens projects, giving a wider field of view. A smaller sensor crops that same projected image, narrowing the field of view. This is why a 50mm lens has a different field of view on a full-frame camera than on an APS-C camera.
What is crop factor?
Crop factor compares a sensor's diagonal to the full-frame diagonal of about 43.27 mm. Using the tool's preset sizes, APS-C (Nikon/Sony) comes out near 1.5×, APS-C (Canon) near 1.6×, and Micro Four Thirds near 2×. Multiplying a lens's focal length by the crop factor gives its full-frame-equivalent focal length, useful for comparing lenses across camera systems. It should not be used in place of the actual sensor dimensions when calculating the real field of view of that camera.
What focal length gives a "normal" field of view?
On a full-frame camera, a 50mm lens gives a horizontal field of view of about 39.6° and a diagonal one of about 46.8°. It is traditionally called a normal lens. On smaller sensors, a shorter lens is needed to match that same field of view.
How does aspect ratio change the field of view?
Aspect ratio sets the relationship between sensor width and height, which changes the vertical field of view for a fixed width. A wide ratio like 16:9 gives less vertical coverage than 4:3 at the same width and focal length, because the sensor is relatively shorter.
Can field of view be changed after a photo is taken?
Cropping an image narrows its effective field of view but cannot widen it beyond what the lens originally captured. Techniques such as panorama stitching can combine multiple photos into a wider field of view, but this requires taking several shots at the time of capture, not just editing afterward.
References
- OpenMV. Field of view (OpenMV Cam tutorial, optics). docs.openmv.io — FOV = 2 · arctan(S / 2f); horizontal, vertical and diagonal FOV use sensor width, height and diagonal √(W² + H²); datasheets usually quote the diagonal FOV.