b2KIT

Field of View Calculator

Calculate horizontal, vertical, and diagonal field of view for any focal length and sensor.

Tested tool guide Tested browser tools Checked August 16, 2026

What Field of View Calculator does, with a checked example

Field of View Calculator determines how much of a scene a lens covers horizontally, vertically, and corner to corner. Enter the focal length plus the sensor's physical width and height, using the same unit for all three measurements. The results are angular fields of view in degrees, not scene dimensions at a particular distance. A common mistake is to enter a sensor format name, crop factor, or pixel resolution where physical dimensions are required. Resolution does not determine angular coverage.

Worked example

A concrete input and expected output from the current implementation.

Input

Focal length: 50 mm; sensor width: 36 mm; sensor height: 24 mm

Expected output

Horizontal FOV: 39.60 degrees; vertical FOV: 26.99 degrees; diagonal FOV: 46.79 degrees

For each direction, the angle is 2 * atan(dimension / (2 * focal length)). The diagonal dimension is sqrt(36^2 + 24^2), or about 43.27 mm, which produces the 46.79-degree diagonal result.

How the result is produced

1

Three sensor dimensions

Horizontal FOV uses sensor width, while vertical FOV uses sensor height. Diagonal FOV first derives the sensor diagonal from its width and height, then applies the same angular calculation. Consequently, rotating the camera swaps the practical horizontal and vertical coverage but does not change the diagonal angle.

2

Angle calculation

For a sensor dimension d and focal length f, the corresponding angular field is 2 * atan(d / (2f)). Only the ratio between those measurements matters, so millimeters are conventional but not mandatory. Increasing sensor size widens the reported angle; increasing focal length narrows it. No subject distance is needed because the result is an angle.

Good uses

  • Compare how a 35 mm and 50 mm lens frame a shot on the same camera sensor.
  • Estimate the angular coverage available after moving a lens between full-frame, APS-C, or other known sensor dimensions.
  • Choose horizontal and vertical coverage targets for a camera, telescope, machine-vision system, or rendered camera.

Limits and checks

  • Focal length and sensor dimensions must use one common unit. Entering a 50 mm focal length beside sensor dimensions expressed in inches produces a meaningless ratio.
  • Use the active imaging area's physical width and height. Pixel counts alone do not supply these measurements, and a cropped recording mode may use less than the full sensor.
  • The geometric result may differ from a real image because of lens distortion, focus breathing, internal cropping, anamorphic optics, or fisheye projection. Nominal focal lengths can also be rounded.

Common questions

Does this tell me how wide the photographed area will be?

No. It reports angular coverage, so a subject distance is also needed to obtain scene width or height. For a flat plane perpendicular to the optical axis, coverage at distance L can be estimated as 2 * L * tan(FOV / 2). Perspective, depth variation, and lens distortion can make real scene boundaries differ.

Can I use crop factor instead of sensor width and height?

Not by itself. One crop-factor value describes a diagonal comparison with a reference format, but it does not uniquely specify horizontal and vertical dimensions without an aspect ratio and reference dimensions. Entering the sensor's actual active width and height avoids that ambiguity and allows all three FOV values to be calculated directly.

References and verification

The example and behavioral notes were checked against the browser implementation. Standards and primary references below define the relevant format, formula, or platform behavior.

Related Tools