English
EnglishEspañolPortuguêsDeutsch中文हिंदीनेपाली
Guides

Understanding Depth of Field in Photography

Learn how aperture, distance, and focal length control sharpness in your images.

Pexels

The short answer

Depth of field refers to the range of distance in a photograph that looks acceptably sharp, stretching from the closest elements to the farthest ones. Photographers manage this zone to guide viewer attention, ensuring either complete clarity across an entire landscape or dramatic subject isolation against a soft background. Controls such as lens aperture, distance to the subject, optical focal length, and sensor dimensions dictate the span of this sharp region.

How it works

A photographic lens can physically achieve precise focus at only a single plane. When light points fall away from this exact focal plane, they spread out into circular blur patches known as circles of confusion. An image element remains visually sharp as long as the diameter of its corresponding blur patch stays below an acceptable threshold. Historically, a circle of confusion diameter of 0.25 mm became the standard for a final image viewed from a distance of 25 cm. For 35 mm motion picture film frames measuring roughly 22 mm by 16 mm, acceptable limits were traditionally set at 0.05 mm and later tightened in modern use to 0.025 mm, matching the 0.025 mm standard utilized for 16 mm film formats.

The mathematical relationship governing this optical phenomenon can be approximated by a specific formula where the depth is calculated by multiplying two by the square of the subject distance, the f-number, and the circle of confusion, then dividing that product by the square of the focal length. Consequently, the sharp zone scales linearly with adjustments to the f-number and the circle of confusion. However, it scales much more drastically with distance and focal length because those values are squared. This means proximity to the subject severely reduces the sharp zone due to that quadratic effect.

When subject magnification and overall framing remain unchanged, switching to a different focal length yields the exact same depth of field at any given f-number. Retaining the same focal length and f-number on a smaller sensor actually decreases depth because the acceptable circle of confusion must be smaller. Conversely, matching an original field of view on a smaller sensor by using a wider lens increases the resulting depth of field.

Specialized equipment allows photographers to physically tilt or swivel the lens or the sensor itself. This movement pivots the actual plane of focus, casting the sharp zone into a wedge-shaped boundary rather than a flat vertical slice. Alternatively, Merklinger’s object-field method suggests focusing near infinity to maximize resolution on distant elements while using narrow apertures to bring foreground objects into acceptable focus.

How to use it

Examples

When photographing a person, selecting a wide aperture helps isolate the subject by creating a soft, creamy background blur while keeping the eyes in sharp focus.

During a landscape shoot, stopping down the lens to a higher f-number and carefully setting the focus distance balances foreground rocks against distant mountain horizons.

Working at extremely short camera-to-subject distances in macro photography requires meticulous precision to manage a microscopic sliver of focus.

Common mistakes

Quick checklist

Sources