Quick answer: Depth of field is how much of your photo is in sharp focus, from front to back. A shallow depth of field keeps your subject sharp while the background melts into blur; a deep depth of field keeps everything sharp. Three things control it: aperture (wider = shallower), focal length (longer = shallower), and how close you are to your subject (closer = shallower).
Depth of field is the secret behind two of the most-wanted looks in photography: the dreamy blurred background of a professional portrait, and the front-to-back sharpness of a stunning landscape. Once you understand what controls it, you can dial in either look on purpose. It’s closely tied to aperture, but as you’ll see, aperture is only one of three levers.
Table of Content
What Is Depth of Field?
When you focus your lens on a subject, there’s a zone in front of and behind it that also appears acceptably sharp. Depth of field is the size of that zone. A shallow depth of field is a thin zone — only your subject is sharp, everything else is blurred. A deep (or large) depth of field is a wide zone — most of the scene, near to far, is sharp.
The Three Things That Control Depth of Field
This is the part most beginners miss: aperture isn’t the only factor. Three variables work together, and you can adjust any of them:
| Factor | For a shallower (blurrier) background | For a deeper (sharper) scene |
|---|---|---|
| Aperture | Use a wide aperture (low f-number, e.g. f/1.8) | Use a narrow aperture (high f-number, e.g. f/11) |
| Focal length | Zoom in / use a longer lens (e.g. 85mm+) | Zoom out / use a wider lens (e.g. 24mm) |
| Distance to subject | Move closer to your subject | Move farther from your subject |
Here’s the practical takeaway: for the blurriest possible background, combine all three — a wide aperture, a longer lens, and get close to your subject (while keeping the background far behind them). For maximum sharpness everywhere, do the opposite.
Shallow Depth of Field (Blurred Background)
A shallow depth of field isolates your subject and creates that soft, creamy background blur known as bokeh. It’s the go-to look for:
Portraits — the person pops off a soft background.
Wildlife and pets — the animal stands out from a busy environment.
Macro and food — a single point of focus draws the eye in.
The catch with very shallow depth of field is that focus becomes critical — at f/1.8 on a close subject, you might have only a centimetre of sharpness, so focus carefully on the eyes for portraits.
Deep Depth of Field (Everything Sharp)
A deep depth of field keeps the whole scene sharp from foreground to horizon. It’s essential for:
Landscapes — sharp from the rocks at your feet to the distant mountains.
Architecture and real estate — every detail of the space in focus.
Group photos — everyone in the row stays sharp.
For landscapes, photographers often use a technique called focusing at the hyperfocal distance — focusing about a third of the way into the scene at a narrow aperture like f/8 to f/11 — to maximise sharpness from near to far. Depth of field is just one of the settings that comes together in the exposure triangle, and it pairs naturally with learning to use your camera.
Frequently Asked Questions
What is depth of field in photography?
Depth of field is the amount of a photo that appears in sharp focus, from the nearest point to the farthest. A shallow depth of field keeps only the subject sharp and blurs the background, while a deep depth of field keeps most or all of the scene sharp. It’s controlled by aperture, focal length, and your distance to the subject.
What controls depth of field?
Three things control depth of field: aperture (a wider aperture with a lower f-number gives a shallower depth of field), focal length (a longer lens gives a shallower depth of field), and the distance between you and your subject (getting closer gives a shallower depth of field). Combine all three for maximum background blur, or reverse them for front-to-back sharpness.
How do I get a blurry background?
Use a wide aperture such as f/1.8 or f/2.8, zoom in or use a longer lens like 85mm, get close to your subject, and keep the background far behind them. This combination produces a shallow depth of field and the soft, creamy background blur known as bokeh that makes portraits look professional.
What aperture gives a deep depth of field?
A narrow aperture between f/8 and f/16 gives a deep depth of field, keeping most of the scene sharp from foreground to background. This is ideal for landscapes, architecture, and group photos. For the sharpest results across a landscape, use around f/8 to f/11 and focus about a third of the way into the scene.