The question the page answers
Field of view is the angle of the scene a lens and sensor combination records. A short focal length gives a wide angle, a long one a narrow angle. Photographers use the figure to choose a lens before a shoot, to compare lenses, and to check whether a scene such as a room or a building will fit. The page takes a sensor dimension and a focal length, both in millimeters, and returns an angle in degrees. Choose the dimension that matches the angle you want: width for horizontal, height for vertical, diagonal for the corner-to-corner value that lens makers usually quote.
The geometry
For a lens focused at infinity, the sensor sits one focal length behind the optical center. Half of the sensor dimension and the focal length form a right triangle, so the half-angle has a tangent of sensor divided by twice the focal length. The full angle is twice that arctangent. In symbols, angle = 2 × atan(sensor / (2 × focal)), multiplied by 180 / pi to convert from radians to degrees. The default of a 36 mm dimension and an 18 mm focal length gives a ratio of 1, an arctangent of 45 degrees and a full angle of 90 degrees. That is the horizontal angle of an 18 mm lens on a full-frame sensor. A tangent of 1 is a handy anchor: whenever the sensor dimension equals the focal length doubled, the angle is exactly 90 degrees, whatever the units, as long as both use the same one.
Full-frame examples
On a 36 mm wide sensor, a 24 mm lens gives atan(0.75), about 36.87 degrees, doubled to 73.74 degrees. A 50 mm lens gives about 39.6 degrees across the width. With the 24 mm height, the same 50 mm lens gives about 26.99 degrees. A 200 mm lens narrows the horizontal angle to about 10.285 degrees. With the 43.27 mm diagonal, a 50 mm lens covers about 46.8 degrees, which matches the figure often quoted for standard lenses. The numbers fall quickly at first and slowly later, because the arctangent flattens: doubling the focal length does not halve the angle exactly, though it comes close for narrow angles.
Choosing width, height or diagonal
Entering the wrong dimension is the most common source of confusion. Lens specifications usually give the diagonal angle, while framing a landscape photo depends on the horizontal angle and a portrait on the vertical angle. For a 3:2 sensor in landscape orientation, the width is the long side. If you turn the camera, the horizontal and vertical angles swap. Compare using the same dimension on both sides. When you want to know whether two lenses frame similarly, enter the same dimension and see how the angles differ, or use the crop factor to translate focal lengths between formats. A panorama photographer who rotates the camera to portrait orientation gains vertical coverage this way, for instance 39.6 degrees tall instead of 26.99 with a 50 mm lens on full frame.
Different sensors, same lens
The angle depends on the sensor dimension, so the same 50 mm lens gives different angles on different cameras. On a sensor 23.5 mm wide, the horizontal angle is 2 × atan(0.235), about 26.45 degrees, narrower than the 39.6 degrees on full frame. That is the effect described by the crop factor, and the two pages agree: the field of view on the smaller sensor matches what a longer lens would give on the larger one. Entering the actual dimension of your sensor is more accurate than applying a rounded factor, especially for formats with unusual aspect ratios.
Focus distance and breathing
The formula assumes focus near infinity. When a lens focuses closer, the optical center and the sensor move apart, the effective focal length increases, and the angle narrows. At macro distances the change is large, and many lenses also show noticeable focus breathing where the framing changes as focus moves. If you shoot close subjects, the angle this page gives is an upper bound for that lens, and the real value depends on the design. Zoom lenses may also change effective focal length with focus distance, so test the specific lens if framing accuracy matters. Internal focusing designs usually breathe more than older lenses that extend the barrel, and video lenses are often built to minimize the effect.
Rectilinear lenses and distortion
The model describes an ideal rectilinear lens, which renders straight lines as straight lines. Most normal and telephoto lenses are close to this. Fisheye lenses are not rectilinear, they use projections such as equidistant mapping, and a 15 mm fisheye can cover 180 degrees diagonally, which this formula cannot produce. Wide zooms also show some distortion that corrections in software may crop away. In practice, real lenses deviate a little from the ideal angle, and the focal length marked on a lens is nominal. Treat the result as a very good estimate for conventional lenses.
Using angle for practical planning
The angle together with a distance gives the width of the scene covered. At distance d, the covered width is 2 × d × tan(angle / 2), which is the same triangle used in reverse. With the default 90 degree angle, tan(45 degrees) is 1, so the covered width equals twice the distance. A 90 degree lens at 3 meters sees a 6 meter strip. This is useful for architecture, security camera placement and event photography, where you need to know whether a subject at a given distance fits in the frame. Check using the wider angle if the subject might move. A 50 mm lens on full frame, with a 39.6 degree horizontal angle, covers a width of about 2.16 meters at 3 meters, since 2 × 3 × tan(19.8 degrees) is close to that value. Allow some margin for cropping and for framing errors at the edges.
Ideal lens assumptions behind the field of view
This is a scalar educational model with a finite angle as output. It assumes an ideal rectilinear lens focused near infinity and ignores distortion, focus breathing, crop modes in cameras, sensor stabilization margins and the difference between nominal and real focal lengths. The dimension you choose decides which angle you get. Lens manufacturers publish measured angles of view for their products, and those should take priority over this estimate when they differ. Use the page to compare options and plan, not to certify the exact framing of a specific lens.