Depth of field

On this page 7

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 formatTypical circle of confusionRelative depth at equal framing
Full frame (36 x 24 mm)About 0.03 mmReference
APS-CAbout 0.02 mmRoughly 1.5 times deeper at the same f-number
Micro Four ThirdsAbout 0.015 mmRoughly 2 times deeper at the same f-number
Medium format 44 x 33 mmAbout 0.025 mmSomewhat shallower than full frame
Conventional circle of confusion values by format

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.

FactorChangeEffect on depth of fieldStrength
ApertureStop down from f/2 to f/8About four times deeperLinear with f-number
Subject distanceDouble the distanceAbout four times deeperSquare of distance
Focal length at fixed distanceDouble the focal lengthAbout four times shallowerSquare of focal length
Sensor size at equal framing and f-numberSmaller formatDeeperProportional to crop factor
How each factor changes the zone of sharpness

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.

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.

ConceptWhat it describesRelationship to depth of field
Depth of fieldRange of acceptable sharpness in the sceneThe concept itself
Depth of focusTolerance of sensor position behind the lensImage-side counterpart, matters for calibration
Hyperfocal distanceFocus distance that extends sharpness to infinityMaximizes depth of field for a given aperture
BokehQuality and character of out-of-focus areasDescribes what lies outside the zone
DiffractionSoftening caused by small aperturesLimits how far stopping down helps
Depth of field and neighboring concepts

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.

GenreTypical aperture on full frameGoal
Headshot portraitf/1.4 to f/2.8Sharp eyes, soft background
Group portraitf/5.6 to f/8All faces in the sharp zone
Landscapef/8 to f/11Foreground to horizon detail
Macrof/8 to f/16, often with stackingUsable depth at very close range
Street photographyf/8 with zone focusingFast shooting without refocusing
Typical depth of field choices by genre

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.