Depth of Field Explained Simply
Depth of field (DOF) is the distance between the nearest and farthest objects in your photo that appear acceptably sharp. Everything outside this zone will appear blurred.
Think of it as a "zone of sharpness" in front of your camera. This zone can be paper-thin (just a few centimeters) or extremely deep (from a meter in front of you to infinity).
Visual: Shallow vs Deep Depth of Field
Shallow DOF (f/1.8)
Deep DOF (f/16)
💡 Key Concept
A shallow depth of field isolates your subject from the background (great for portraits). A deep depth of field keeps everything sharp (great for landscapes).
The Three Factors That Control DOF
Three main settings control how shallow or deep your depth of field will be:
1. Aperture (f-stop)
Aperture is the most direct way to control depth of field. It's the opening in your lens that lets light in, measured in f-stops (f/1.4, f/2.8, f/8, f/16, etc.).
- Wider aperture (lower f-number like f/1.8) = Shallower DOF, more blur
- Narrower aperture (higher f-number like f/11) = Deeper DOF, more sharpness
This is counterintuitive at first: a smaller number means a larger opening. Think of the f-number as a fraction: f/2 is like 1/2, which is larger than f/16 (1/16).
2. Subject Distance
The closer you are to your subject, the shallower your depth of field becomes. This is why macro photography (extreme close-ups) has such a thin plane of focus—sometimes just millimeters deep.
- Closer to subject = Shallower DOF
- Farther from subject = Deeper DOF
3. Focal Length
Longer focal lengths (telephoto lenses) produce shallower depth of field at the same aperture and distance. This is one reason portrait photographers love 85mm and 135mm lenses.
- Longer focal length (85mm, 200mm) = Shallower DOF
- Shorter focal length (24mm, 35mm) = Deeper DOF
| Factor | Shallower DOF | Deeper DOF |
|---|---|---|
| Aperture | f/1.4, f/1.8, f/2.8 | f/8, f/11, f/16 |
| Distance | Close to subject | Far from subject |
| Focal Length | 85mm, 135mm, 200mm | 16mm, 24mm, 35mm |
DOF for Different Photography Styles
Portrait Photography
For portraits, you typically want a shallow depth of field to separate your subject from the background. The blurred background (called "bokeh") makes your subject pop.
Typical settings:
- Aperture: f/1.4 to f/2.8
- Focal length: 50mm to 135mm
- Focus on the subject's eyes
Landscape Photography
For landscapes, you usually want a deep depth of field so everything from foreground rocks to distant mountains is sharp.
Typical settings:
- Aperture: f/8 to f/16
- Focal length: 16mm to 35mm
- Focus at the hyperfocal distance (more on this in our hyperfocal guide)
Macro Photography
Macro photography is challenging because depth of field becomes extremely shallow at close distances—often just a few millimeters. Many macro photographers use focus stacking (combining multiple shots at different focus points) to overcome this.
Typical settings:
- Aperture: f/8 to f/16 (balance between DOF and diffraction)
- Use a tripod for precise focusing
- Consider focus stacking for maximum sharpness
📊 Calculate Your DOF
Use our free calculator to see exactly how your settings affect depth of field.
Open DOF CalculatorCommon DOF Mistakes to Avoid
1. Always Shooting Wide Open
Just because your lens opens to f/1.4 doesn't mean you should always shoot at f/1.4. Sometimes the DOF is too shallow, and important parts of your subject (like both eyes in a portrait) end up soft.
2. Ignoring Background Distance
The distance between your subject and background affects how blurry the background appears. Even at f/8, if your subject is 2 meters away and the background is 50 meters away, you'll still get nice separation.
3. Going Too Narrow
Apertures narrower than f/16 can cause diffraction, which actually makes your images softer. The "sweet spot" for most lenses is f/8 to f/11.
The Technical Side: Circle of Confusion
You might wonder: what exactly is "acceptably sharp"? This is where the circle of confusion (CoC) comes in.
When a point of light is out of focus, it appears as a small circle rather than a point. The circle of confusion is the maximum size of this blur circle that still appears sharp to our eyes.
The CoC depends on:
- Sensor size — Larger sensors have larger CoC values
- Viewing distance — Prints viewed from farther away can tolerate more blur
- Print size — Larger prints need tighter tolerances
This is why our DOF calculator asks for your camera (sensor size)—it affects the calculations significantly.
Frequently Asked Questions
What is depth of field in photography?
Depth of field (DOF) is the distance between the nearest and farthest objects in a photo that appear acceptably sharp. A shallow DOF means only a small zone is in focus, while a deep DOF means most of the scene is sharp.
What controls depth of field?
Three main factors control depth of field: aperture (f-stop), focal length, and subject distance. Wider apertures (lower f-numbers), longer focal lengths, and closer distances all create shallower depth of field.
What aperture gives the shallowest depth of field?
The widest aperture your lens allows (lowest f-number like f/1.4, f/1.8, or f/2.8) gives the shallowest depth of field, creating maximum background blur (bokeh).
Does sensor size affect depth of field?
Yes! Larger sensors (full-frame) produce shallower depth of field than smaller sensors (APS-C, Micro Four Thirds) at the same field of view and aperture. This is because you need a longer focal length on a full-frame camera to get the same framing.