Every photograph tells a story, and one of the most powerful tools a photographer has for shaping that story is depth of field. Whether it’s a portrait where the subject’s eyes are razor-sharp against a dreamy, blurred background, or a sweeping landscape where every rock, tree, and cloud is in crisp focus – depth of field is what makes the difference. Understanding how it works, and how to control it, is essential for anyone serious about photography.
Table of Contents
- What is depth of field?
- The three factors that control depth of field
- Aperture (f-number)
- Camera-to-subject distance
- Focal length
- How these three factors work together
- Shallow depth of field: when and why to use it
- Deep depth of field: when and why to use it
- Understanding hyperfocal distance
- The role of circle of confusion
- Practical tips for controlling depth of field
- Depth of field in different photography genres
- Common misconceptions about depth of field
What is depth of field?
Depth of field (DOF) refers to the zone within a photograph that appears acceptably sharp and in focus. When you focus your camera lens on a subject, the point of perfect focus is technically just a single plane. But in practice, there’s always an area in front of and behind that focused point that also appears sharp to the human eye. This zone of acceptable sharpness is your depth of field.
If that zone is narrow – meaning only the subject is sharp while everything in front of and behind it turns into a blur – you have a shallow depth of field. If the zone extends from the foreground all the way to the background, keeping nearly everything in focus, that’s called a deep (or large) depth of field.
The concept might sound simple, but it’s one of the most impactful creative decisions in photography. It controls where the viewer’s eye goes and what information the image communicates.
The three factors that control depth of field
Depth of field isn’t random. It’s determined by three specific variables that you, as a photographer, can adjust: aperture, camera-to-subject distance, and focal length. Each one independently influences how much of the scene appears in focus, and when combined, they give you full creative control over your images.
Aperture (f-number)
Aperture is the most direct and commonly used way to control depth of field. It refers to the size of the opening inside the lens that lets light reach the camera sensor. This opening is measured in f-stops (also called f-numbers), such as f/2, f/5.6, f/11, or f/22.
Here’s where it gets counterintuitive: a smaller f-number means a wider aperture (bigger opening), and a larger f-number means a narrower aperture (smaller opening). A wide aperture like f/2 or f/2.8 produces a shallow depth of field, isolating the subject from the background. A narrow aperture like f/11 or f/16 produces a deep depth of field, keeping much more of the scene sharp.
For example, if you’re shooting a portrait and want to separate the person from a cluttered background, opening up to f/2.8 will blur that background beautifully. If you’re photographing a cityscape and want every building from near to far to be in focus, stopping down to f/11 or f/16 is the way to go.
It’s worth noting that pushing the aperture to extreme values like f/22 can actually reduce overall image sharpness due to a phenomenon called diffraction, where light scatters as it passes through a very small opening. So while a smaller aperture gives you more depth of field, there’s a practical limit to how far you should go.
Camera-to-subject distance
The distance between your camera and the subject has a significant effect on depth of field. The closer you are to your subject, the shallower the depth of field becomes. The farther away you move, the deeper it gets.
This is why macro photography – where you’re shooting extremely close to tiny subjects like insects or flowers – has an incredibly narrow zone of focus, sometimes just a few millimetres. Even at smaller apertures like f/8, the depth of field at very close distances can be razor-thin, making precise focusing critical.
On the other hand, if you’re standing 50 metres away from a mountain range and shooting at f/8, practically everything in the frame will be in focus because the large camera-to-subject distance naturally produces a deep depth of field.
This factor is something many beginners overlook. You don’t always need to change your aperture settings to adjust depth of field. Sometimes, simply stepping closer to or farther from your subject can achieve the effect you want. Of course, this also changes the composition and the size of the subject in the frame, so it’s a trade-off you need to consider.
Focal length
The focal length of your lens – measured in millimetres – also affects depth of field. Wide-angle lenses (short focal lengths like 18mm or 24mm) tend to produce a deeper depth of field, while telephoto lenses (long focal lengths like 100mm or 200mm) tend to produce a shallower depth of field.
Here’s a practical example. If your subject is 10 metres away and your aperture is set to f/4, a 50mm lens might give you a depth of field spanning from roughly 7 to 19 metres. But zooming in to 100mm from the same position at the same aperture dramatically narrows that range to roughly 9 to 11 metres. That’s a huge difference from a single change.
This is one reason portrait photographers love lenses in the 85mm to 135mm range – the longer focal length naturally helps create that shallow, subject-isolating look. Meanwhile, landscape photographers lean towards 16mm to 35mm lenses because the shorter focal length makes it easier to get everything from the nearest wildflower to the distant horizon in sharp focus.
How these three factors work together
In real-world photography, aperture, distance, and focal length don’t work in isolation. They combine – and sometimes cancel each other out. Understanding their interaction is what separates a skilled photographer from someone just shooting on auto mode.
If you shoot at f/2.8, get close to your subject, and use a telephoto lens, all three factors are pushing towards an ultra-shallow depth of field. The background will be completely out of focus. But if you use f/2.8 while getting close to your subject with a wide-angle lens, the short focal length partially offsets the shallow DOF produced by the wide aperture and close distance, resulting in a moderate depth of field.
This is why it helps to think of depth of field as a spectrum rather than an on-off switch. You’re always balancing these three variables based on the story you want the photograph to tell.
Shallow depth of field: when and why to use it
A shallow depth of field puts a narrow sliver of the image in focus while rendering everything else as a smooth blur. This blur, particularly in the background, is often referred to as bokeh – a term borrowed from Japanese that describes the aesthetic quality of out-of-focus areas.
Shallow DOF is widely used in portrait photography to draw the viewer’s attention directly to the subject’s face by blurring distracting backgrounds. It’s also essential in macro photography, where the extremely close shooting distance naturally produces a very thin focus zone, and in food and product photography, where isolating the subject from its surroundings makes it stand out.
In filmmaking, shallow DOF is used to guide the audience’s eye to specific elements within a frame. A focus pull – shifting focus from one subject to another – is a classic cinematic technique that relies entirely on shallow depth of field.
To achieve a shallow DOF, use a wide aperture (low f-number like f/1.4 to f/4), get closer to your subject, and use a longer focal length lens. Full-frame cameras also tend to produce a shallower depth of field compared to crop-sensor cameras when using lenses with the same effective field of view.
Deep depth of field: when and why to use it
A deep depth of field keeps most or all of the scene in sharp focus, from the closest foreground elements to the farthest background details. This is the go-to approach for landscape photography, where you typically want every element – rocks in the foreground, a lake in the middle ground, mountains in the background – to be equally crisp and detailed.
Deep DOF is also valuable in architectural photography, street photography, and group portraits where multiple subjects at different distances from the camera all need to be in focus. Photojournalists often prefer deeper depth of field because it provides context by keeping both the subject and the environment visible and recognisable.
To achieve a deep DOF, use a narrow aperture (higher f-number like f/8 to f/16), increase your distance from the subject, and use a wide-angle lens. These three factors work together to expand the zone of sharpness across the entire frame.
Understanding hyperfocal distance
If you want to maximise depth of field – especially for landscape photography – you should know about hyperfocal distance. This is the specific focus distance at which your lens delivers the greatest possible depth of field for a given aperture and focal length.
When you focus at the hyperfocal distance, everything from half that distance all the way to infinity will appear acceptably sharp. For example, if the hyperfocal distance is 10 metres, everything from 5 metres to the horizon will be in focus.
You can find the hyperfocal distance using online calculators, smartphone apps, or depth of field charts. A simple rule of thumb that works well in the field is to focus roughly one-third of the way into the scene while using a narrow aperture (f/8 or smaller) and a wide-angle lens. This approach won’t be mathematically precise, but it gives solid results in most landscape situations.
The role of circle of confusion
Behind all depth of field calculations lies a concept called the circle of confusion (CoC). When a lens focuses on a subject, it projects points of light onto the camera sensor. Points that are perfectly in focus appear as tiny, sharp dots. Points that are out of focus appear as small circles – and these are circles of confusion.
The depth of field is defined as the range of distances where these circles are small enough to still appear as sharp points to the human eye. The maximum acceptable size of these circles depends on factors like the camera’s sensor size, the final print size, the viewing distance, and the viewer’s visual acuity.
For a standard 35mm (full-frame) camera, the commonly accepted CoC value is approximately 0.03mm, based on viewing an 8ร10 inch print from a distance of about 25 cm. With modern high-resolution sensors that enable much larger print sizes, some photographers argue that a stricter (smaller) CoC value is more appropriate today.
You don’t need to calculate CoC manually – depth of field calculators handle it for you. But understanding the concept helps you appreciate why depth of field isn’t an absolute boundary. The transition from sharp to blurry is always gradual, and what counts as “acceptably sharp” depends on how the image is ultimately displayed.
Practical tips for controlling depth of field
Knowing the theory is important, but applying it in the field is what matters. Here are some practical approaches to get the depth of field you want.
Use aperture priority mode. Most cameras have an aperture priority mode (often labelled “A” or “Av”) that lets you set the aperture while the camera automatically adjusts the shutter speed for correct exposure. This gives you direct control over depth of field without worrying about exposure settings.
Check your LCD screen after shooting. After taking a photo, zoom in on your camera’s LCD display to verify whether the intended areas are in focus. This is especially important when working with very shallow or very deep depth of field, where small miscalculations can make a big difference.
Use your camera’s depth of field preview button. Many DSLRs and mirrorless cameras have a DOF preview button that temporarily stops down the lens to the selected aperture, giving you a real-time preview of how much of the scene will be in focus. The viewfinder will appear darker, but you’ll get an accurate sense of the depth of field.
Mind the exposure triangle. Changing your aperture to adjust depth of field also changes how much light enters the camera. A wider aperture lets in more light, while a narrower aperture lets in less. You’ll need to compensate with shutter speed or ISO to maintain proper exposure. Shooting in aperture priority mode handles this automatically.
Experiment with focus stacking for extreme depth of field. In situations where a single exposure can’t deliver enough depth of field – such as macro photography – focus stacking is a powerful technique. You take multiple shots of the same scene, each focused at a slightly different distance, and then combine them in post-processing software to create an image that’s sharp throughout.
Depth of field in different photography genres
Different types of photography call for different depth of field approaches. Here’s a quick overview of how DOF is used across common genres.
Portrait photography typically uses shallow DOF (f/1.4 to f/4) with a longer focal length (85mm to 135mm) to isolate the subject and create pleasing background blur. The key is ensuring the subject’s eyes are perfectly sharp, even if the ears or tip of the nose fall slightly outside the focus zone.
Landscape photography relies on deep DOF (f/8 to f/16) with a wide-angle lens to keep the entire scene sharp. Focusing at the hyperfocal distance maximises the depth of field from foreground to infinity.
Macro photography deals with extremely shallow DOF due to the very short camera-to-subject distance. Even at f/11 or f/16, the focus zone may be only a few millimetres wide, making focus stacking a common technique in this genre.
Street photography often benefits from a moderate to deep depth of field to capture both the subject and the environment. Many street photographers use zone focusing – pre-setting the focus and aperture to keep a predictable range of distances sharp – so they can shoot quickly without autofocusing for each frame.
Wildlife photography frequently uses shallow DOF via long telephoto lenses (200mm to 600mm) at wide apertures to separate animals from busy natural backgrounds. The compression effect of telephoto lenses further enhances the blur in the background.
Common misconceptions about depth of field
One frequent misconception is that depth of field is equally split in front of and behind the focus point. In reality, depth of field extends roughly one-third in front and two-thirds behind the focus point at moderate distances, though this ratio changes at very close and very far focusing distances.
Another misconception is that sensor size directly changes depth of field. While it’s true that full-frame cameras appear to produce shallower DOF than crop-sensor cameras, this is because you need a longer focal length on a full-frame camera to achieve the same field of view, and longer focal lengths reduce DOF. If you use the same focal length and aperture at the same distance, the relationship between sensor size and DOF becomes more nuanced.
Finally, some photographers believe that the only way to control DOF is through aperture. As we’ve discussed, distance and focal length are equally important – and sometimes more practical to adjust in the field than aperture, especially when lighting conditions limit your exposure options.
What do you think? How has understanding depth of field changed the way you approach your photography? And when you look at your favourite photographs, can you now identify whether the photographer used a shallow or deep depth of field to tell their story?
References
- https://pressbooks.cuny.edu/photographywhathowwhy/chapter/depth-of-field/
- https://www.tamron.com/global/consumer/sp/impression/detail/article-what-is-depth-of-field.html
- https://www.photopills.com/articles/depth-of-field-guide
- https://photographylife.com/what-is-depth-of-field
- https://digital-photography-school.com/understanding-depth-field-beginners/
- https://www.masterclass.com/articles/learn-about-depth-of-field-in-photography
- https://www.coreldraw.com/en/tips/depth-of-field/shallow-vs-deep/
- https://en.wikipedia.org/wiki/Hyperfocal_distance
- https://en.wikipedia.org/wiki/Circle_of_confusion
- https://photographylife.com/hyperfocal-distance-explained
- https://www.adobe.com/creativecloud/photography/hub/guides/relationship-aperture-and-focal-length.html
- https://en.wikipedia.org/wiki/Depth_of_field
Leave a Reply