Focus and Depth of Field: A Practical Photography Guide
Focus and depth of field are the two controls that determine which parts of a photograph appear sharp — and which parts melt into blur. Together, they shape the way a viewer's eye moves through an image, separate subject from background, and give a photograph its sense of dimension. Whether shooting portraits, landscapes, or street scenes, understanding these mechanics is foundational to making deliberate images rather than lucky ones.
Definition and scope
Focus, in optical terms, is the point at which light rays converge on the camera sensor after passing through the lens. At that convergence point, the image is maximally sharp. Everything else is, to some degree, not.
Depth of field — often abbreviated DOF — describes the zone of acceptable sharpness on either side of that focus point. It is not a binary on/off condition; it is a range. A lens focused at 3 meters does not produce sharpness only at exactly 3 meters. It produces sharpness across a band — perhaps 30 centimeters in front of and behind that point, or perhaps 10 meters, depending on the equipment and settings in use.
The concept of "acceptable sharpness" is tied to a technical threshold called the circle of confusion, which the lens manufacturer defines based on sensor size and expected output dimensions. The photography-terminology-glossary covers this and related terms in detail.
How it works
Three variables control depth of field, and they interact with each other in ways that are sometimes counterintuitive.
-
Aperture — The opening in the lens diaphragm. A wide aperture (f/1.8, f/2.8) produces a shallow depth of field, isolating the subject. A narrow aperture (f/11, f/16) produces a deep depth of field, keeping foreground and background sharp simultaneously. The f-number is the ratio of the lens's focal length to the diameter of the aperture opening, which is why f/1.4 is physically larger than f/16 despite having a smaller number.
-
Focal length — Longer focal lengths (85mm, 200mm, 400mm) compress depth of field and magnify subject isolation. A 400mm telephoto lens at f/5.6 produces dramatically shallower depth of field than a 24mm wide-angle lens at the same aperture, even at the same physical aperture diameter.
-
Subject-to-camera distance — The closer the camera is to the subject, the shallower the depth of field becomes. This is why macro photography, which involves extreme close focusing distances, produces depth of field measured in millimeters — not meters. The macro-photography-guide addresses this in practical terms.
Focus itself is achieved either manually — by rotating the lens focus ring until the subject appears sharp — or through autofocus systems, which use phase detection, contrast detection, or a hybrid of both. Modern mirrorless cameras from Sony, Canon, and Nikon implement phase-detection autofocus across nearly the entire sensor surface, allowing subject tracking with a precision that film-era photographers would have considered implausible.
The exposure-triangle explains how aperture interacts with ISO and shutter speed — the other two variables that govern exposure — because widening the aperture to shallow the depth of field also lets in more light, which must be compensated for.
Common scenarios
Portrait photography — The classic application. A focal length of 85mm at f/1.8, focused on a subject's eyes at a distance of roughly 2 meters, produces a background blur (called bokeh, from the Japanese word for blur quality) that separates the subject visually from any environment. The portrait-photography-guide treats this as a baseline expectation for professional work.
Landscape photography — The opposite intent. Photographers typically want everything sharp, from a rock in the foreground to a mountain range at infinity. Achieving this requires a narrow aperture (f/8 to f/16 is the typical range for most lenses at their optical sharpest) and a technique called hyperfocal distance focusing, where the lens is focused not at infinity but at a calculated distance that maximizes the zone of sharpness.
Street photography — Often employs zone focusing: the photographer pre-focuses manually at a fixed distance (typically 2 to 4 meters) and uses a moderate aperture like f/8, accepting that anything within that zone will be sharp without waiting for autofocus confirmation. This approach trades precision for speed and was the standard method for photojournalists shooting with rangefinder cameras for most of the 20th century.
Decision boundaries
Choosing how to use depth of field is ultimately a compositional decision, not a technical one. The photography-composition-rules page treats depth of field as one of the primary tools for directing viewer attention.
The central contrast to understand:
| Goal | Aperture | Focal length | Distance |
|---|---|---|---|
| Shallow DOF (subject isolation) | Wide (f/1.4–f/2.8) | Long (85mm+) | Close |
| Deep DOF (environmental context) | Narrow (f/8–f/16) | Wide (24mm–35mm) | Far |
Neither approach is correct by default. A portrait at f/16 with a detailed environment tells a different story than the same subject at f/1.8 against a dissolved background. Both are valid; the question is what the image is trying to say.
Sensor size adds one more layer: a full-frame sensor (36mm × 24mm) produces shallower depth of field than a Micro Four Thirds sensor (17.3mm × 13mm) at the same equivalent field of view, because the larger sensor requires a longer focal length to achieve the same framing, and longer focal lengths shallow the DOF. This is one of the fundamental tradeoffs discussed in camera-types-compared.
The full scope of how these controls fit into a broader photographic practice is available at the site index, which maps all technical and genre-specific references in one place.
References
- Cambridge in Colour — Depth of Field and Circle of Confusion
- Nikon — Understanding Depth of Field
- Kodak / Eastman Kodak — Optical Fundamentals (historical reference)
- Sony — Phase Detection Autofocus Technology Overview
- Canon USA — Lens Aperture and Depth of Field