The field of view formula
Angle of view = 2 × arctan(sensor dimension ÷ (2 × focal length)). Use the sensor width for the horizontal angle, the sensor height for the vertical angle, and the sensor diagonal for the diagonal angle. Focal length and sensor size must be in the same unit, usually millimetres.
The formula looks harder than it is. The sensor dimension divided by twice the focal length gives a small number; arctan turns that number into an angle; doubling it gives the full angle from one edge of the frame to the other. Any scientific calculator or phone calculator in degree mode does the arctan step. The rest of this article works the formula three times, with real lenses, so you can check your own maths.
Pick a lens and sensor
- Step 1 — sensor ÷ (2 × focal length)
- Step 2 — arctan of that number
- Step 3 — doubled: the angle of view
- Step 1 — Divide the sensor dimension by twice the focal length (36 ÷ 100 = 0.36 for a 50 mm lens on full frame).
- Step 2 — Take arctan of that number, in degrees (arctan 0.36 = 19.80°).
- Step 3 — Double it (2 × 19.80° = 39.60°).
- Step 4 — Read the angle: that is the horizontal angle of view.
Step 1: find your sensor dimension
Look up your sensor's width, height, and diagonal in millimetres. A full-frame sensor is 36 mm wide, 24 mm high, and 43.27 mm across the diagonal. An APS-C sensor is 23.6 mm wide, 15.7 mm high, and 28.35 mm across the diagonal.
The sensor dimension is the number most people get wrong, because camera makers print the inch name instead of the size. A "1-inch" sensor is not 25.4 mm wide; it is 13.2 mm wide (3:2 type) or 12.8 mm wide (4:3 type). Always use the width and height from the datasheet, never the inch name. Our sensor-size article lists every common sensor with its real dimensions.
Sensor format
- Width
- Height
- Diagonal
- Crop factor
Always use the width and height from the datasheet — never the inch name. A “1-inch” sensor is 13.2 mm wide (3:2) or 12.8 mm wide (4:3).
Step 2: divide the sensor dimension by twice the focal length
Take the sensor dimension and divide it by two times the focal length. For a 50 mm lens on full frame, the horizontal step is 36 ÷ (2 × 50) = 36 ÷ 100 = 0.36. That small number is the tangent of half the angle of view.
Do the same division for each axis you need. Vertical for the same lens is 24 ÷ 100 = 0.24. Diagonal is 43.27 ÷ 100 = 0.4327. If the number is bigger than 1, the angle is wider than 90 degrees — that happens with ultra-wide lenses like a 14 mm, where 36 ÷ 28 = 1.2857.
Preset examples
- Sensor ÷ (2 × focal length)
- Horizontal angle
- Sensor ÷ (2 × focal length)
- Horizontal angle
- Wider than 90° — the ratio is above 1
- Narrower than 90° — the ratio is below 1
14 mm on full frame gives 36 ÷ 28 = 1.2857 — wider than 90°.
Step 3: take arctan, then double it
Take the arctan of the number from Step 2, in degrees, and double it. For the 50 mm example, arctan(0.36) = 19.80 degrees. Doubling gives 39.60 degrees. That is the horizontal angle of view.
Arctan (tan⁻¹ on a calculator) turns a ratio back into an angle. Make sure the calculator is in degree mode, not radian mode — in radian mode the same step gives 0.35, which is the same angle in different units, and doubling it gives 0.69 radians instead of 39.60 degrees. Both are correct, but degrees are what photographers use.
- arctan of the ratio
- Doubled — the angle of view
- Same angle in radians
At 0.36 the steps are 19.80° doubled to 39.60° — or 0.69 rad. Make sure the calculator is in degree mode.
Worked example: 50 mm lens on full frame
A 50 mm lens on full frame gives 39.6 degrees horizontal, 27.0 degrees vertical, and 46.8 degrees diagonal. Horizontal: 2 × arctan(36 ÷ 100) = 2 × 19.80° = 39.60°. Vertical: 2 × arctan(24 ÷ 100) = 2 × 13.496° = 26.99°. Diagonal: 2 × arctan(43.27 ÷ 100) = 2 × 23.40° = 46.80°.
This is the example every photographer should know, because 50 mm on full frame is the reference point for all other lenses. If your lens gives a bigger angle than 39.6 degrees horizontal, it is wider than a 50 mm. If it gives a smaller angle, it is longer. Memorise 39.6, 27.0, and 46.8, and every other lens becomes a comparison against them.
Horizontal angle of a 50 mm lens on full frame (°)
2 × arctan(36 ÷ 100) = 2 × 19.80° = 39.60°
Vertical angle of a 50 mm lens on full frame (°)
2 × arctan(24 ÷ 100) = 2 × 13.496° = 26.99°
Diagonal angle of a 50 mm lens on full frame (°)
2 × arctan(43.27 ÷ 100) = 2 × 23.40° = 46.80°
Horizontal angle of a 24 mm lens on full frame (°)
2 × arctan(36 ÷ 48) = 2 × 36.87° = 73.74°
Worked examples: 24 mm wide and 200 mm on APS-C
A 24 mm lens on full frame sees 73.7 degrees horizontal; a 200 mm lens on APS-C sees 6.8 degrees horizontal. The 24 mm: 2 × arctan(36 ÷ 48) = 2 × 36.87° = 73.74°. The 200 mm on APS-C: 2 × arctan(23.6 ÷ 400) = 2 × 3.377° = 6.75°.
The 200 mm example shows why sensor size matters as much as focal length. The same 200 mm lens on full frame sees 10.3 degrees horizontal — wider than on APS-C, because the bigger sensor records more of the image. The APS-C camera also has a crop factor of 1.53, so the 200 mm behaves like a 306 mm lens on full frame: 200 × 1.53 = 306 mm.
- Horizontal angle
- Frame width at 10 m
- Horizontal angle
- Frame width at 10 m
The same 200 mm lens sees 10.3° on full frame but only 6.8° on APS-C — and on APS-C it behaves like a 306 mm lens (200 × 1.53).
From angle to frame size: what fits at a distance
Frame width = distance × sensor width ÷ focal length. A 50 mm lens on full frame at 10 m covers 10 × 36 ÷ 50 = 7.20 m wide and 10 × 24 ÷ 50 = 4.80 m high. At 5 m it covers half that: 3.60 m by 2.40 m.
This is the most useful form of the calculation in practice, because it answers "will it fit?" directly. A 24 mm lens at 10 m covers 15.00 m by 10.00 m, so a whole house fits. A 200 mm lens at 10 m covers 1.80 m by 1.20 m, so only a doorway fits. Double the distance and the frame doubles; halve the focal length and the frame doubles too.
- Frame width (50 mm, full frame)
- Frame height (50 mm, full frame)
- A person (1.8 m) fits
- A car (4.5 m) fits
- A house (15 m) fits
50 mm lens on full frame. At 10 m the frame is 7.20 m wide — a car fits, a house does not.
- Frame width at 10 m
- Frame height at 10 m
24 mm at 10 m covers 15.00 m wide — a whole house fits. 200 mm covers 1.80 m — only a doorway.
The reverse calculation: which focal length do I need?
Focal length = distance × sensor width ÷ subject width. To fit a 2 m group at 5 m on full frame: 5 × 36 ÷ 2 = 90 mm. To get a 90-degree horizontal field on full frame: 36 ÷ (2 × tan 45°) = 36 ÷ 2 = 18 mm.
The reverse formula is the one photographers actually use before a shoot: start from the subject and the distance, and work out the lens. For a 60-degree diagonal field on full frame, the maths is 43.27 ÷ (2 × tan 30°) = 37.5 mm, so the nearest common prime lens is 35 mm. Our focal-length finder tool does this calculation for any subject, distance, and sensor.
What do you need to fit?
- Focal length you need
Nearest common prime lenses: 18, 24, 35, 50, 85, 135, 200 mm. A 2 m group at 5 m needs 90 mm on full frame (59.0 mm on APS-C); a 60° diagonal field needs 37.5 mm, so 35 mm is the nearest prime.
All calculators
- Focal lengthf = D · d / W
- DistanceD = W · f / d
- Crop factorCF = 43.27 / diagonal
- CompareAOV = 2 · arctan(d / (2f))
- CCTVD = (f · px) / (PPM · sensor width)
- TelescopeTFOV = AFOV / M
- BinocularsExit pupil = D / M
- Gaming FOVH = 2 · arctan(tan(V / 2) × aspect ratio)
- TV distanceDistance = width / (2 · tan(θ / 2))
- From a photoW = D · d / f
- Projector throwThrow distance = throw ratio × screen width
- MicroscopeField diameter = FN / objective magnification
No calculator matches your search.