Checking which sensor dimension a field-of-view input represents
The field-of-view formula takes one sensor dimension at a time. This guide shows how width, height and diagonal give three different angles at the same focal length.
One formula, three possible angles
The field of view calculator asks for a single sensor dimension and a focal length. It returns 2 × atan(sensor / (2 × focal)) in degrees. A rectangular sensor has a width, a height and a diagonal, and each one produces a different angle through the same formula. The calculator cannot tell which one you typed, so the label on the result comes from you. If you enter the width, the angle is horizontal. If you enter the height, it is vertical, and if you enter the diagonal, it describes the corner-to-corner view that lens manufacturers often quote. Keeping track of which dimension went in is the central task when reading or comparing results.
Horizontal and vertical at one focal length
Take a focal length of 18 mm and a full-frame sensor measuring 36 by 24 mm. With the width of 36, the ratio sensor / (2 × focal) is 1, and the angle is 90 degrees. With the height of 24, the ratio is 24/36, about 0.6667, and the angle is about 67.380 degrees. The same lens at the same focal length therefore covers 90 degrees across the long side and about 67.4 degrees across the short side. A reader who sees 90 degrees quoted for this lens and assumes it describes the height will overestimate the vertical coverage by more than 22 degrees.
Adding the diagonal
The diagonal of a 36 by 24 sensor is the square root of 36² + 24², which is about 43.267 mm. At a 50 mm focal length the three angles are about 39.598 degrees horizontal, 26.991 degrees vertical and 46.793 degrees diagonal, found by entering 36, 24 and 43.267 with a focal length of 50. The diagonal angle is the largest because it spans the longest sensor dimension. Lens specifications often list the diagonal angle, so a number copied from a lens data sheet may not match the horizontal or vertical angle you need for a composition. Always check which one a published figure refers to.
Orientation turns horizontal into vertical
Orientation is a common source of mix-ups in photo planning notes, so it deserves its own check. Rotating the camera to portrait orientation swaps the roles of width and height. The sensor dimension that was horizontal becomes vertical. A full-frame camera in portrait mode at 50 mm sees 26.991 degrees across the frame and 39.598 degrees from top to bottom, the reverse of the landscape result. When you plan from a published horizontal angle, make sure you know the orientation of the shot. The calculator is not affected, because the numbers you type define the geometry, but the interpretation of the answer as horizontal or vertical depends on how the camera is held. Labeling each angle with its direction in your notes, for example 39.6 degrees horizontal in landscape, removes the ambiguity for anyone who reads them later.
Sensors that are not 36 by 24
Other sensor sizes give different angles at the same focal length. The formula needs the actual dimension in millimeters, which comes from the camera specification. An APS-C sensor of roughly 23.5 by 15.6 mm sees a narrower view than a full-frame sensor at the same focal length, and a smaller sensor narrows it further. This is the reason a crop factor exists. The calculator makes no assumption about sensor size, so you can enter any width, height or diagonal that matches your camera and compare two cameras by entering their dimensions with one focal length.
Keeping units and focus conditions consistent
Sensor dimension and focal length must be in the same unit. Entering 36 mm for the sensor and a focal length in centimeters distorts the ratio tenfold. The formula also assumes the lens is focused at infinity or at a distance much larger than the focal length. At very close focus the lens extends, the effective focal length grows and the real angle shrinks, an effect usually called focus breathing. Zoom lenses may also deviate from their marked focal length at the extremes. For planning a shot at ordinary distances, the simple formula is a good estimate, but treat it as a geometric model rather than a measurement of a specific lens.
Converting an angle into a scene width
The angle becomes concrete when you convert it to a width at a given distance. The visible width equals 2 × distance × tan(angle / 2). For the 90 degree horizontal angle, tan(45 degrees) is 1, so at 5 meters the scene is 10 meters wide. For the 67.38 degree vertical angle, tan(33.69 degrees) is 2/3, so the scene is about 6.667 meters tall at the same distance. The ratio of 10 to 6.667 equals the 3:2 ratio of the sensor, which is a useful check: the visible width and height at one distance always match the proportions of the sensor in a rectilinear model.
Comparing two cameras with the same lens number
Suppose two cameras both carry a 35 mm lens. On the 36 by 24 sensor the horizontal angle is 2 × atan(36/70), about 54.43 degrees. On a 23.5 mm wide sensor it is 2 × atan(23.5/70), about 37.12 degrees. The focal length is identical, yet the smaller sensor sees roughly 17 degrees less across the frame, a difference you would notice immediately when swapping bodies on a tripod while keeping the same lens in place. This is why a focal length quoted without a sensor size is incomplete as a description of framing, and why the formula needs the dimension as a separate input. Enter each camera width with the shared focal length, and compare the angles directly instead of relying on the lens markings.
Rectilinear angle, not lens modeling
The result is a simple rectilinear angle for the supplied numbers, and it is only as accurate as the dimension and focal length you typed. It does not model fisheye mappings, lens distortion, cropping in video modes, digital stabilization or the extra area some cameras use for processing. Video modes in particular often use only part of the sensor, which reduces the effective dimension and narrows the angle compared with a still photo from the same camera. Enter the dimension of the area that is actually used if you need the angle in a given recording mode, and take that dimension from the camera documentation instead of estimating it from the image size on screen.
Reproduce the checks
Horizontal dimension
Open the Field Of View Calculator and enter:
- Sensor width, height or diagonal
36- Focal length
18
Expected output:
Field-of-view angle
90The result corresponds to the supplied width.
Vertical dimension
Open the Field Of View Calculator and enter:
- Sensor width, height or diagonal
24- Focal length
18
Expected output:
Field-of-view angle
67.38013505195957The result corresponds to the supplied height.
References and implementation scope
The examples describe the behavior of the linked Computandum tools. A successful local check does not establish that another application accepts the same format or applies the same limits.
Sources
- OpenStax ↗ · 2026-10-08