Sub topic 5
How Focal Length and Sensor Size Set the Field of View
Assume you can navigate Blender, select a camera, and use the Camera Properties panel. This chapter focuses on perspective cameras. The same ideas help you predict how a lens change will alter a shot.
The two measurements that define the view
A camera's field of view is the angle of the scene visible through the camera. A wider field of view shows more of the scene. A narrower field of view shows less.
Two camera measurements control the field of view:
- Focal length is the distance, in millimeters, between the lens's optical center and the image sensor when the camera is focused at infinity.
- Sensor size is the width or height of the camera's light-sensitive image area.
In Blender, select a camera and open Camera Properties. The Lens value is its focal length. The Sensor Fit and Sensor Size settings describe how the virtual sensor relates to the render frame.
For a horizontal field of view, use this formula:
horizontal FOV = 2 × atan(sensor width ÷ (2 × focal length))The atan function is the inverse tangent. Convert the result from radians to degrees when you want an angle that is easy to read.
Worked comparison
With a 36 mm sensor width:
| Focal length | Approximate horizontal field of view | Typical use |
|---|---|---|
| 24 mm | 73.7° | Wide environmental shot |
| 50 mm | 39.6° | Moderate or normal view |
| 85 mm | 24.4° | Narrow portrait or distant subject |
The sensor width stays constant in this comparison. Increasing the focal length makes the field of view narrower. Decreasing it makes the field of view wider.
import math
sensor_width = 36 # millimeters
for focal_length in (24, 50, 85):
fov = 2 * math.atan(sensor_width / (2 * focal_length))
print(f"{focal_length} mm -> {math.degrees(fov):.1f} degrees")The render's aspect ratio also matters. A landscape frame is wider than it is tall, so Blender may use the sensor's horizontal or vertical dimension according to Sensor Fit. If you change the render resolution from 16:9 to a square format, the visible framing changes even when Lens remains unchanged.
Predicting the visual result
Changing focal length while keeping the camera position fixed changes both the visible area and the apparent size of the subject. A wide lens includes more of the scene. Near objects look larger relative to distant objects, so perspective can appear exaggerated.
A telephoto lens includes less of the scene. To keep the subject the same size, you usually move the camera farther away. That change in camera distance reduces the difference in apparent size between near and far objects. This is why telephoto shots often look visually compressed.
Do not confuse this effect with focal length alone. Perspective depends primarily on camera position. The lens changes the framing; moving the camera changes the viewpoint and therefore the perspective relationships.
Choosing a focal length
Choose a shorter focal length when you need to show a room, landscape, or strong relationship between foreground and background. Choose a medium focal length for a natural-looking general shot. Choose a longer focal length when you need a tight frame or want distant layers to appear closer together.
Exercise
A camera uses a 36 mm sensor width and a 50 mm focal length. Will changing to 25 mm make the horizontal field of view wider or narrower, and why?
Show answer
Wider. The formula divides the sensor width by the focal length, so reducing the focal length increases the viewing angle.