Depth of field is the range of distances in a scene, in front of and behind the plane of focus, within which objects appear acceptably sharp in the final image. In photography it is controlled mainly by the aperture, the subject distance and the focal length, and it is judged against an agreed tolerance for blur called the circle of confusion.
A lens focuses precisely on only one distance. Depth of field exists because small amounts of blur are invisible at normal viewing size, so it is a perceptual zone rather than a physical boundary. That makes it as much a creative tool as an optical property: it decides what the viewer reads as subject and what dissolves into background.
How lenses and optics create depth of field
A point outside the plane of focus is projected onto the sensor not as a point but as a small disc, the blur circle. Its diameter grows with the distance from the focus plane and with the width of the light cone, which is set by the aperture. As long as that disc is smaller than the circle of confusion, the eye accepts it as sharp.
The circle of confusion is a convention tied to sensor size and viewing conditions. A common reference assumes an 8 by 10 inch print viewed at about 25 cm by a person with normal vision. Larger enlargements, close inspection on a monitor or high-resolution sensors effectively demand a smaller circle of confusion, which shrinks the zone that looks sharp.
| Sensor format | Typical circle of confusion | Relative depth at equal framing |
|---|---|---|
| Full frame (36 x 24 mm) | About 0.03 mm | Reference |
| APS-C | About 0.02 mm | Roughly 1.5 times deeper at the same f-number |
| Micro Four Thirds | About 0.015 mm | Roughly 2 times deeper at the same f-number |
| Medium format 44 x 33 mm | About 0.025 mm | Somewhat shallower than full frame |
The parameters that control depth of field
For subjects well inside the hyperfocal distance, depth of field is approximately 2Nc times the squared subject distance, divided by the squared focal length, where N is the f-number and c the circle of confusion. The formula shows the main levers: the f-number acts linearly, while distance and focal length act as squares.
| Factor | Change | Effect on depth of field | Strength |
|---|---|---|---|
| Aperture | Stop down from f/2 to f/8 | About four times deeper | Linear with f-number |
| Subject distance | Double the distance | About four times deeper | Square of distance |
| Focal length at fixed distance | Double the focal length | About four times shallower | Square of focal length |
| Sensor size at equal framing and f-number | Smaller format | Deeper | Proportional to crop factor |
A worked case illustrates the scale. A 50 mm lens on full frame focused at 3 m gives a zone of roughly 0.43 m at f/2 and roughly 1.9 m at f/8. The sharp zone is not symmetric: at normal distances about one third lies in front of the focus point and two thirds behind it, while at macro distances the split approaches half and half and the total depth shrinks to millimeters.
Depth of field compared with related lens concepts
Several neighboring lens concepts are often confused with depth of field. The comparison below separates what each one describes, which helps when choosing settings for a specific look.
| Concept | What it describes | Relationship to depth of field |
|---|---|---|
| Depth of field | Range of acceptable sharpness in the scene | The concept itself |
| Depth of focus | Tolerance of sensor position behind the lens | Image-side counterpart, matters for calibration |
| Hyperfocal distance | Focus distance that extends sharpness to infinity | Maximizes depth of field for a given aperture |
| Bokeh | Quality and character of out-of-focus areas | Describes what lies outside the zone |
| Diffraction | Softening caused by small apertures | Limits how far stopping down helps |
The idea that focal length alone changes depth of field needs care. At the same framing of the subject, moving closer with a wide lens or farther with a telephoto gives nearly the same depth of field at a given f-number. What changes is perspective and background magnification, which makes a telephoto background look more blurred even when the measured depth is similar.
Choosing depth of field in practice
The right depth of field follows from the purpose of the image. A shallow zone isolates a subject and simplifies a busy background, while a deep zone keeps context legible. Experienced photographers decide which plane must be sharp first, then choose aperture and distance to cover it with some margin.
| Genre | Typical aperture on full frame | Goal |
|---|---|---|
| Headshot portrait | f/1.4 to f/2.8 | Sharp eyes, soft background |
| Group portrait | f/5.6 to f/8 | All faces in the sharp zone |
| Landscape | f/8 to f/11 | Foreground to horizon detail |
| Macro | f/8 to f/16, often with stacking | Usable depth at very close range |
| Street photography | f/8 with zone focusing | Fast shooting without refocusing |
When stopping down cannot deliver enough depth without diffraction softening, which on full frame usually becomes visible beyond about f/11 to f/16, focus stacking combines several frames focused at different distances into one image with extended sharpness.
Common mistakes and misconceptions
- Depth of field calculators are not guarantees. Their results depend on the assumed circle of confusion, and pixel-level viewing demands a tighter value.
- Shallow focus is not always better. At f/1.4 and close range, a slight subject movement can leave the eyes outside the sharp zone.
- Sharpness falls off gradually. The edges of the zone are not hard lines, so critical detail belongs well inside them.
- Focusing at infinity wastes depth. For landscapes, focusing nearer, close to the hyperfocal distance, keeps both foreground and horizon acceptable.
Put simply
When a camera focuses, only one distance is perfectly sharp. Things a little closer or a little farther are slightly blurred, but if the blur is small enough, people still see them as sharp. Depth of field is the slice of the scene that looks sharp to a viewer.
A wide lens opening makes that slice thin, so the background melts away. A small opening makes it deep, so almost everything looks clear. Photographers choose the thickness of the slice to guide where the viewer looks.
In practice
A food photographer shoots a plated dessert from about 60 cm with a 90 mm lens on a full-frame camera. At f/2.8 the depth of field is well under one centimeter, so the front edge of the cake is sharp while the raspberries on top already soften.
Stopping down to f/16 extends the sharp zone to roughly four centimeters, enough to cover the cake and its garnish, while the table setting behind it stays pleasantly blurred. The photographer accepts a slight diffraction penalty, adds light to keep ISO low and moves the background farther away to preserve separation. The final image shows the entire dish in focus with a calm, defocused setting, a balance that a single wide-open frame could not reach.