Lens FOV Calculator
The lens FOV calculator works backward from framing. Enter your active sensor dimensions and a desired horizontal, vertical or diagonal angle to estimate focal length. Alternatively, specify the span you need at a known distance. The result helps describe a lens requirement; it is not a product recommendation or compatibility check.
Choose an angle or a span before choosing a lens
Angle mode is useful when a shot specification already gives a viewing angle. Choose the direction explicitly: a 60° horizontal requirement differs from a 60° diagonal requirement. The input must be greater than zero and less than 180°. A rectilinear view cannot represent a full hemisphere at a finite positive focal length.
Target-span mode is useful when you know the physical size that must fit into the frame. Enter the required span and distance in the same scene unit, then choose whether the span runs horizontally, vertically or diagonally. Distance starts at the ideal projection center and follows the optical axis to a perpendicular target plane. It is not automatically the distance from the lens's front surface.
For example, a 2 m horizontal span at 3 m gives a 36.87° target angle. With 36 mm of active sensor width, the estimated focal length is 54.00 mm. The matching 24 mm sensor height produces 1.33 m of vertical coverage. Switching among meters, centimeters and feet changes presentation while preserving the underlying distances.
Match the sensor dimension to the framing direction
One angle constrains one side or the diagonal
The calculation uses sensor width for horizontal framing, height for vertical framing and the sensor diagonal for corner-to-corner framing. Open Active sensor dimensions to inspect or customize those values. The full-frame reference is 36 × 24 mm; the 16:9 crop is derived geometrically, and the smaller 24 × 16 mm example is illustrative rather than a named camera profile.
With the same desired angle, a smaller active dimension needs a proportionally shorter focal length. For a 60° horizontal target, 36 mm of width requires 31.18 mm, while 24 mm requires 20.78 mm. Enter the actual recorded area before comparing those numbers with lens specifications. A changed video crop can alter the lens requirement even when the camera body stays the same.
The other two readouts show what follows from the chosen requirement. They are not extra targets imposed independently. A 60° horizontal target on 36 × 24 mm also produces approximately 42.10° vertically. If that vertical field is too narrow, solve the vertical requirement separately and compare the two focal-length limits.
Understand the inverse calculation
f = S ÷ (2 × tan(θ ÷ 2))
Here S is the active sensor dimension in millimeters and θ is the requested angle. The lens FOV calculator returns focal length in millimeters, with the selected direction alongside the result. The formula rearranges the forward rectilinear angle equation; feeding the unrounded focal length into the forward calculation reproduces the requested angle.
In target-span mode, first derive θ = 2 × arctan(span ÷ (2 × distance)). Substituting that angle into the inverse equation gives f = S × distance ÷ span. Scene distance and span share a unit, so their ratio is dimensionless. This relationship is a distant-focus projection estimate, not a finite-conjugate thin-lens focusing calculation.
The displayed focal length is rounded for reading. Do not treat a two-decimal display as a manufacturing tolerance or evidence that such a lens is sold. Extremely small or large valid results use scientific notation instead of being displayed as zero or an overflowing string.
Check both framing constraints and leave deliberate margin
A subject can fit horizontally while being clipped vertically. Calculate the focal length allowed by each required span at the same distance. Under this ideal model, the shorter of those two focal lengths covers both minimum spans. That choice also includes more surroundings in the less restrictive direction; it does not create an exact crop with an arbitrary aspect ratio.
A 2 m wide by 1.5 m high subject at 3 m illustrates the distinction. On 36 × 24 mm, the horizontal requirement allows 54 mm, but the vertical requirement allows 48 mm. At 48 mm the ideal scene rectangle is 2.25 × 1.50 m. Any desired border around the subject must be added to the required spans before solving.
Check candidate focal lengths with the forward camera FOV calculator, then use the coverage calculator to inspect the resulting rectangle. This lets you evaluate an available focal length without assuming that the calculated decimal corresponds to a catalog product.
Before turning a number into a purchase specification
Real selection also depends on mount, image circle, flange distance, minimum focus distance, aperture, distortion, resolution and installation clearance. This tool has no lens catalog and verifies none of those constraints. It does not claim that a particular focal length is available, compatible or suitable for a named camera.
Fisheye, telecentric and panoramic projections are unsupported. Lens distortion, focus breathing, digital correction and stabilization crops can change actual framing. At close range the infinity-focus approximation can be misleading; use manufacturer data at the intended working distance or a calibrated test setup instead of treating the estimate as a precision guarantee.
Should I round up or down to a nearby focal length?
For the same active sensor and distance, a shorter focal length includes a wider scene and a longer one includes a narrower scene. Decide whether your requirement is a minimum coverage span or a desired tight composition, then check the actual candidate value. The calculator does not apply an arbitrary safety margin or choose a lens on your behalf.
Sources and calculation boundaries
The optical relationship is documented in Edmund Optics: focal length and field of view. Nikon's crop-factor explanation documents the 36 × 24 mm reference and equivalent-focal-length convention. These references support the model; no physical lens testing or camera-mode certification is claimed.