Depth of Field Guide: Bokeh, Sharp Landscapes & Focus Control
- Three settings decide itAperture, distance and focal length together set how much is sharp.
- Wider, closer, longer: shallowerA large opening, a close subject or a long lens each narrows the sharp zone.
- Most of the zone is behindThe sharp zone lies mostly behind the subject, not in front of it.
Depth of field is one of the most powerful — and most misunderstood — creative tools in photography. The difference between a portrait with a dreamily blurred background and a landscape where every rock and blade of grass is razor-sharp comes down to the same three variables. Understanding how they interact gives you deliberate creative control over how your images look, not just whether they're exposed correctly. This guide builds on the aperture guide and ISO guide to complete the full exposure picture.
What Is Depth of Field?
Depth of field (DoF) is the zone of acceptable sharpness in a photograph — the range of distances from the camera where subjects appear in focus. Everything inside this zone looks sharp. Everything outside it blurs progressively, with objects farther from the focus point becoming more blurred the further they fall outside the DoF zone.
The blurred, out-of-focus areas are called bokeh (from the Japanese word for blur or haze). The aesthetic quality of this blur — smooth and circular or busy and edgy — depends on lens design as much as aperture setting.
Shallow vs. Deep Depth of Field
- Shallow depth of field — Only a narrow plane is sharp. The subject stands out dramatically from a softly blurred background. Typical in portrait, macro, and product photography.
- Deep depth of field — A large range of distances, from near foreground to distant background, appears sharp. Typical in landscape, architecture, and documentary photography.
The Three Factors That Control Depth of Field
Three independent variables determine how shallow or deep your depth of field is. You can stack them for maximum effect or balance them to land in a middle ground.
1. Aperture
Aperture is the easiest to adjust in-camera and has the most dramatic effect on depth of field. A wide aperture (low f-number like f/1.4 or f/1.8) produces a shallow depth of field with strong background blur. A narrow aperture (high f-number like f/11 or f/16) produces a deep depth of field where most of the scene appears sharp. See the full aperture guide for how f-stops work.
2. Subject Distance
The closer your camera is to the subject, the shallower the depth of field becomes — at any given aperture. This is why macro photography (extreme close-ups) has notoriously thin depth of field even at f/11 or f/16. Conversely, stepping back from your subject deepens the depth of field, which is why wide-angle environmental portraits can look sharp throughout even at f/2.8.
3. Focal Length
Longer focal lengths (85mm, 135mm, 200mm) produce shallower depth of field than shorter focal lengths (24mm, 35mm) when framing the same subject at the same aperture. This is partly because longer lenses require you to stand farther back to get the same framing — but even when comparing at identical magnification, telephoto lenses produce more background compression and stronger blur. Portrait photographers favor 85mm and 135mm partly for this reason.
Depth of Field Quick Reference
| Factor | Shallower DoF (more blur) | Deeper DoF (less blur) |
|---|---|---|
| Aperture | f/1.4, f/1.8, f/2, f/2.8 | f/8, f/11, f/16 |
| Subject distance | Close to subject (1–2m) | Far from subject (5m+) |
| Focal length | 85mm, 100mm, 135mm, 200mm | 24mm, 28mm, 35mm |
| Sensor size | Full-frame (36×24mm) | Crop sensor (APS-C, Micro 4/3) |
How to Achieve Creamy Bokeh Backgrounds
Bokeh quality — the visual smoothness and roundness of out-of-focus highlights and textures — is what separates beautiful blur from distracting blur. Here are the practical steps:
- Use a fast prime lens. Prime lenses (50mm f/1.8, 85mm f/1.4, 100mm f/2.8) produce smoother bokeh than zoom lenses at comparable apertures because of their optical design and circular aperture blades.
- Open the aperture wide. Shoot at f/1.8 or f/2 if your lens allows. Background highlights become large, round circles (often called "bokeh balls").
- Maximize subject-to-background distance. A background 3 meters behind your subject blurs much more than a background 30 centimeters behind it — even at the same aperture.
- Choose a clean, distant background. A uniform wall, open sky, or foliage far in the distance blurs into smooth textures. Busy or cluttered close backgrounds remain distracting even when blurred.
Deep Depth of Field and Hyperfocal Distance
When you want maximum sharpness — landscapes, architecture, real estate — use a narrow aperture (f/8 to f/11) and focus at the hyperfocal distance for your lens and aperture combination.
What Is Hyperfocal Distance?
Hyperfocal distance is the closest point you can focus on while keeping the background (technically, infinity) acceptably sharp. When you focus at the hyperfocal distance, everything from half that distance to infinity appears sharp. For a 24mm lens at f/8, the hyperfocal distance is approximately 3 meters — meaning you focus on something 3m away and everything from 1.5m to infinity is acceptably sharp in the frame.
Hyperfocal distance decreases (comes closer to the camera) with narrower apertures and wider focal lengths. Landscape photographers use hyperfocal focus to keep dramatic foreground elements and distant mountains simultaneously sharp without needing to use an extreme aperture like f/22 that would introduce diffraction blur.
Depth of Field by Genre
| Genre | Recommended DoF | Settings |
|---|---|---|
| Portrait (head & shoulders) | Shallow | f/1.4–f/2.8, 85mm+, 1–2m distance |
| Environmental portrait | Moderate | f/4–f/5.6, 35–50mm |
| Landscape | Deep | f/8–f/11, wide angle, hyperfocal focus |
| Architecture | Deep | f/8–f/11, 24–35mm |
| Macro | Shallow (unavoidable) | f/8–f/16 to recover DoF; use focus stacking for full sharpness |
| Product | Deep or controlled | f/8–f/11 for flat lay; f/2.8–f/4 for hero shots with background separation |
| Street | Moderate to deep | f/5.6–f/8, 35–50mm, zone focus |
Focus Stacking for Macro and Product Photography
In macro photography, depth of field can be so thin — sometimes less than a millimeter — that no single aperture can capture the full subject in sharp focus. The solution is focus stacking: taking multiple frames with slightly different focus points and merging them in post-processing software (Lightroom, Photoshop, Helicon Focus, or Zerene Stacker).
The same technique works for product photography where you want every surface detail sharp, or for landscape images where you want a large foreground rock and distant mountain simultaneously tack-sharp beyond what a single hyperfocal exposure can achieve.
Depth of Field for Stock Photography
Stock photo buyers have specific expectations depending on how they intend to use an image:
- Portrait and lifestyle stock: Shallow DoF (f/1.8–f/2.8) is strongly associated with commercial quality. It isolates the subject and minimizes distracting backgrounds. Ensure at least one eye is sharp — soft eyes are a common rejection reason across all major agencies.
- Concept and symbol stock: Moderate DoF (f/4–f/5.6) keeps the primary object sharp while softening the background enough to eliminate distractions without going full bokeh.
- Landscape and nature stock: Deep DoF (f/8–f/11) is expected. Buyers want versatile images they can crop and place across different editorial formats.
- Food and product stock: Varies — shallow DoF can create appetite appeal on a hero shot, but product catalogs typically need deep DoF for full product sharpness.
The AI keyword generator can help you add relevant depth of field keywords like "bokeh background", "shallow depth of field", "selective focus", or "deep focus" to your stock metadata automatically based on your image content.
Frequently Asked Questions
What is depth of field in photography?
Depth of field is the zone of acceptable sharpness in a photo — the range of distances that appear in focus. A shallow DoF has only a narrow focused zone (blurred background). A deep DoF keeps everything from foreground to background sharp.
What three factors control depth of field?
Aperture (wider = shallower DoF), subject distance (closer = shallower DoF), and focal length (longer = shallower DoF). All three interact — you can stack them for dramatic blur or balance them for a moderate result.
How do I get a blurry background in photos?
Use a wide aperture (f/1.8 or f/2.8), get close to your subject, use a longer focal length (85mm+), and maximize the distance between your subject and the background. Stacking all four gives the most dramatic bokeh effect.
What is hyperfocal distance?
Hyperfocal distance is the focus point at which everything from half that distance to infinity appears acceptably sharp. Used in landscape photography to maximize sharpness across the entire frame. A 24mm lens at f/8 has a hyperfocal distance of roughly 3 meters.
What depth of field is best for stock photography?
Portrait and lifestyle stock: shallow DoF (f/1.8–f/2.8) for professional subject isolation — keep at least one eye sharp. Landscape and nature stock: deep DoF (f/8–f/11). Product and concept stock: deep DoF or controlled focus with slight background separation. Match the DoF to the buyer's intended use for the image.
Practice and Related Resources
The Exposure Triangle Game lets you adjust aperture in real time to see how it interacts with shutter speed and ISO for exposure — and you'll see the depth of field implications at the extremes. The aperture guide covers the f-stop scale and genre-specific aperture recommendations in more detail.