Skip to main content

Depth of Field and How to Control It

Learn how aperture, subject distance, and focal length work together to control how much of your scene is sharp, and how to use depth of field creatively.

How much of your scene do you want sharp?

That's the question that actually matters when you're standing there with your camera. Do you want your subject isolated against blur, or do you want the whole scene in focus?

This is a creative choice, and it shapes the entire feel of your photo. A portrait with a creamy, blurred background says "look at this person and nothing else." A landscape where everything from the nearby wildflowers to the distant mountains is sharp says "look at all of this, it all matters."

Both are valid, but you have to choose.

Most photographers learn depth of field as a technical concept where aperture affects how much is sharp and smaller numbers mean less depth of field. That's true, but it's like learning to drive by studying engine mechanics. You can memorize all of it and still not know when to use it.

(If terms like aperture, f-stop, or bokeh are still unfamiliar, the photography glossary has quick definitions for all of them.)

Let me show you how to actually think about depth of field as a creative decision. It's one of the most powerful concepts in the full camera settings guide.

The Creative Choice Between Blur and Context

Before getting into f-stops and focal lengths, think about what you're really deciding.

Shallow depth of field removes context. It isolates your subject by making everything else a soft wash of color and shape. This pulls your viewer's attention exactly where you want it, with no distractions or competing elements around the thing you focused on.

Deep depth of field provides context. It keeps everything sharp, which means everything competes for attention equally. This works when the environment matters as much as the subject, or when there isn't a single subject at all.

The choice depends entirely on what story you're trying to tell.

Say you're photographing a musician at a crowded venue. Shallow depth of field can separate them from the chaos around them, making them the clear star of the image. But if you want to show what it felt like to be there, with the crowd, the lights, and the energy, deeper focus tells that story better.

Or say you're shooting a flower in a garden. Shallow depth makes it a portrait of that single bloom. Deeper focus makes it a photo of the garden itself, with that flower as one element among many.

A single flower in sharp focus against a soft, blurred garden
Shallow focus turns one bloom into the subject and the rest of the garden into soft color.

There's no formula for this. It's a judgment call you make based on what you want the photo to communicate, and you have to make it consciously. Otherwise, you're just accepting whatever default your camera gives you.

The Four Factors That Control Depth of Field

Aperture gets all the attention, but it's only one of four factors that determine how much of your scene is sharp. Understanding all four gives you more options, especially when one of them is fixed by your situation.

Factor Shallower depth of field Deeper depth of field
Aperture Wider (f/1.8, f/2.8) Narrower (f/11, f/16)
Distance to subject Closer Farther
Focal length Longer Shorter
Sensor size Larger Smaller

Factor 1. Aperture

Wider apertures (smaller f-numbers like f/1.8 or f/2.8) create shallower depth of field. Narrower apertures (larger f-numbers like f/11 or f/16) create deeper depth of field.

This is the factor you probably already know, and it's also the one you have the most direct control over.

The tradeoff is light. Wider apertures let in more light. If you're shooting in low light and need fast shutter speeds, you might be forced into shallow depth of field whether you want it or not. Narrow apertures, on the other hand, require more light, which might mean slower shutters or higher ISO.

Factor 2. Distance to Subject

The closer you are to your subject, the shallower your depth of field becomes, even at the same aperture.

This is why macro photography is so challenging. When you're inches away from a tiny subject, the depth of field becomes razor-thin even at f/8 or f/11.

A close view of a small insect on a leaf with a very thin zone of focus
At macro distances, the zone of sharp focus can shrink to just a few millimeters.

It's also why shooting a landscape from a viewpoint where nothing is closer than 30 feet away gives you functionally infinite focus even at moderate apertures.

In practice, if you want more background blur but your lens doesn't go very wide, get closer to your subject (and make sure your background is farther away). If you want everything sharper and you're already at f/11, back up.

Factor 3. Focal Length

Longer focal lengths create shallower depth of field at the same aperture and distance. A 200mm lens at f/4 gives you significantly more background blur than a 35mm lens at f/4, assuming you're the same distance from your subject.

There's a nuance here. If you change focal length but adjust your position to keep the same framing, the effect is less dramatic than pure physics would suggest. But in practice, longer lenses still look like they have shallower depth of field because of how they compress backgrounds and render out-of-focus areas.

In practice, if you want more blur and can't change your aperture, try a longer lens. Portrait photographers often use 85mm to 135mm lenses partly for this reason, because they give beautiful subject separation without requiring f/1.4 apertures.

Factor 4. Sensor Size

Larger sensors create shallower depth of field when shooting at equivalent framing and aperture. A full-frame camera at f/2.8 has shallower focus than an APS-C camera at f/2.8, which has shallower focus than a smartphone at f/2.8.

The crop factor calculator shows exactly how sensor size affects your effective field of view and depth of field.

This is why it's nearly impossible to get significant background blur with a phone camera. The tiny sensor keeps everything sharp by default.

In practice, if you're struggling to get shallow depth of field with a crop-sensor camera or kit lens, know that it's genuinely harder and you aren't doing something wrong. The physics are working against you. You'll need wider apertures, longer focal lengths, or closer distances to achieve the same blur a full-frame shooter gets more easily.

When and Why to Use Shallow Depth of Field

Use shallow depth of field in these situations.

You want to isolate your subject. A person against a blurry background immediately reads as a portrait. The blur removes distractions and tells your viewer exactly what matters.

The background is ugly or distracting. Busy backgrounds compete with your subject for attention, and blur takes them out of the running. This is invaluable for street portraits, event photography, or anytime you can't control what's behind your subject.

You want to create visual hierarchy. Sharpness draws the eye. When only one thing in your frame is sharp, that's where viewers will look first, which makes this a powerful compositional tool.

You're emphasizing detail. In food photography, product shots, and portraits, shallow focus lets you highlight texture and detail in one area while simplifying everything else.

My general approach is to default to shallow depth of field for single-subject photos where the environment doesn't matter. That means portraits, headshots, detail shots, pets, and anything where there's clearly one thing that should be the star.

Here are starting apertures for shallow depth of field.

  • f/1.4 to f/2.0 gives very shallow focus, best for single subjects with backgrounds you want completely dissolved
  • f/2.8 to f/4 gives moderate blur, more forgiving for focus accuracy, and works well for portraits where you want some context

When and Why to Use Deep Depth of Field

Use deep depth of field in these situations.

The environment is part of the story. Think of environmental portraits like a chef in their kitchen, a musician surrounded by instruments, or an athlete on their field. You want to see them and their context.

A chef working in a busy restaurant kitchen with the whole room in focus
Deeper focus keeps the kitchen readable, so the setting tells part of the story.

You're photographing multiple subjects at different distances. With group photos and multi-person portraits, shallow depth of field means someone's going to be soft, and that's rarely what you want.

Everything in the scene matters equally. For landscapes, architecture, and street scenes where there's no single subject, deep focus lets the viewer's eye explore the entire frame.

You need focus margin for error. Moving subjects are hard to track precisely. A slightly deeper depth of field means small focus misses are less catastrophic.

You have documentary or journalistic intent. Deep focus says "I'm showing you reality." It has an objectivity that shallow focus, with its inherent selectivity, doesn't.

My general approach is to shoot for deep focus with landscapes, cityscapes, architecture, and any photo where I want viewers to explore the whole frame. I do the same for groups larger than two people.

Here are starting apertures for deep depth of field.

  • f/8 to f/11 is sharp across the frame for most lenses, and good for landscapes and environmental shots
  • f/5.6 is a middle ground when you need some depth but don't need everything sharp

How to Get Shallow Depth of Field With Kit Lenses

Kit lenses typically max out at f/3.5-5.6. That makes significant background blur genuinely harder to achieve, though still possible.

Get closer to your subject. This is the most effective technique. Even at f/5.6, if you're three feet from someone and the background is twenty feet away, you'll see separation.

Increase the distance between subject and background. Keep the same aperture and subject distance, but move them away from the wall or background. This makes the blur more pronounced.

Use the long end of your zoom. At 55mm instead of 18mm, your kit lens will produce more blur. You'll be at f/5.6 instead of f/3.5, but the focal length effect more than compensates.

Combine all three. Get close, use the long end, and position your subject away from the background. You won't match a 50mm f/1.4, but you'll get noticeably shallow results.

Consider an affordable prime lens. A 50mm f/1.8 is typically $100-200 and opens up shallow depth of field possibilities your kit lens can't match. It's often the first upgrade that makes the biggest visible difference in your photos.

How to Get Everything Sharp When You Need It

Deep focus has its own challenges. These habits make sure everything that should be sharp actually is.

Use f/8 to f/11 for most situations. These apertures give you depth without hitting diffraction limits that actually reduce overall sharpness. Going to f/16 or f/22 rarely helps and often hurts.

Focus in the right place. For landscapes with foreground and background elements, focus roughly one-third into the scene rather than on the horizon. This distributes your depth of field more effectively.

Check your hyperfocal distance. For any given aperture and focal length, there's a focus distance where everything from half that distance to infinity is acceptably sharp. Knowing this number for your lens removes the guesswork from landscape focusing.

Use a tripod. Deep depth of field often means narrow apertures, which mean slower shutter speeds, and camera shake can ruin the sharpness you're trying to achieve.

Stop down, but not too far. Every lens has a diffraction limit where the physics of light bending around the aperture blades reduces sharpness. For most cameras, that's somewhere between f/11 and f/16. Going to f/22 rarely produces sharper results than f/11.

Common Depth of Field Mistakes and Fixes

Shooting Wide Open for Everything

Some photographers discover f/1.4 and never use anything else. The result is photos where there's no reason for the shallow focus, because it was a default rather than a choice.

To fix it, ask yourself before each shot whether this photo needs blur. If the background isn't distracting and context might add to the image, try stopping down.

Focusing on the Wrong Element

With shallow depth of field, what you focus on matters enormously. Focusing on someone's nose instead of their eyes is visible, and focusing on the wrong person in a two-person shot is obvious.

To fix it, be deliberate about your focus point. Use single-point autofocus so you choose where focus lands instead of leaving it to your camera.

Not Enough Blur to Look Intentional

There's a middle ground where the background is slightly soft but not really blurred. It looks like you couldn't decide between sharp and beautifully blurred.

To fix it, commit to one approach. Either blur the background enough that it clearly reads as intentional, or stop down and keep it sharp. The in-between often looks like a mistake.

Missing the Plane of Focus With Groups

Shooting a group at f/2.8 and focusing on the person in front leaves everyone behind them soft.

To fix it, use f/5.6 or narrower for groups. Arrange people in the same focal plane when possible (side by side rather than front to back). If they must be at different distances, focus on the front person and use enough depth to cover everyone.

Fighting Your Gear

Sometimes photographers try to get shallow depth of field from a phone camera or kit lens in situations where it just won't happen.

To fix it, work with your gear by embracing the deep focus and composing for it. Or simply get closer, since distance is free and doesn't require new equipment.

Key Takeaways

  • Decide before each shot whether you want shallow depth of field (isolate subject, remove distractions) or deep depth of field (show environment, provide context).
  • Aperture, subject distance, focal length, and sensor size all control depth of field, so use whichever you can adjust when one factor is fixed.
  • Get closer to your subject and increase subject-to-background distance for more blur, even with a kit lens.
  • Commit to either clearly blurred or clearly sharp backgrounds, because the in-between often looks like a mistake.
  • For groups, stop down to f/5.6 or narrower and arrange people in the same focal plane to keep everyone sharp.

More in This Guide

Continue building your understanding of camera control.

Aperture Priority vs Manual Mode and When to Use Each

When to let the camera handle exposure and when to take full control.Read guide

The Exposure Triangle Explained

Understand how the three core settings work together so you can make deliberate creative decisions.Read guide

What Is Aperture in Photography

Learn how aperture controls depth of field and light in your photos, and more importantly, how to.Read guide

Why Your Photos Are Too Dark or Too Bright

Understand why your camera's meter gets fooled and how to predict and fix exposure problems before you press the shutter.Read guide

How to Read Your Camera's Histogram

The histogram is the one exposure reference on your camera that does not lie. Learn what each part shows and what to do when data hits the edges.Read guide

ISO Explained for Beginners

ISO controls your sensor's sensitivity to light.Read guide

How to Read Your Camera's Light Meter

Learn what your camera's light meter is actually measuring, when to trust it, and when to override.Read guide

How to Shoot in Manual Mode, Step by Step

Manual mode is simpler than you think.Read guide

Best Camera Settings for Landscape Photography

Learn the optimal camera settings for landscape photography, from aperture sweet spots and hyperfocal distance to tripod.Read guide

Camera Settings for Low Light Without Flash

When there's not enough light and flash isn't an option, here's which settings to sacrifice and which to protect.Read guide

Camera Settings for Portraits

Your camera's auto settings weren't designed for portraits. Learn settings that prioritize skin tones, eye sharpness, and background separation.Read guide

Shutter Speed Explained for Beginners

Develop the judgment to know when you want motion frozen, when you want it blurred, and how.Read guide
Jon C. Phillips
Jon C. Phillips

Founder of Contrastly and co-founder of DailyPhotoTips

Jon has spent 14 years in the photography community as the founder of Contrastly and co-founder of DailyPhotoTips. His tutorials, articles, and resources have helped millions of photographers sharpen their skills and find their creative voice. You're in good hands.

Get Better Photos, Every Day

Five days a week, you get a quick photography tip in your inbox. The kind of stuff you can actually use on your next shoot.

    Join tens of thousands of photographers. It's free. Unsubscribe anytime.

    Ready to level up your photography?

    Get actionable and practical photography tips in your inbox every morning. Short reads, real results.