Skip to main content

Depth of Field Explained: How Aperture, Focal Length and Distance Set Your Sharp Zone

How aperture, focal length, and subject distance control depth of field, plus hyperfocal distance for landscapes and shallow portrait backgrounds.

Published By Li Lei
#photography #depth of field #hyperfocal distance #aperture

Depth of Field Explained: How Aperture, Focal Length and Distance Set Your Sharp Zone

Depth of field is the band of distance in front of and behind your focus point that still looks sharp in the final image. It is not a hard wall — sharpness fades gradually — but for planning a shot it behaves like a zone with a near edge and a far edge. Get that zone right and a portrait subject's eyes snap into focus against a melted background, or a landscape stays crisp from the rock at your feet to the mountains on the horizon. Get it wrong and you discover the problem hours later on the computer, when nothing can be done about it.

Three settings decide where those edges land: aperture, focal length, and how far away your subject is. Once you understand how each one pulls the zone wider or narrower, you stop guessing and start placing the sharp band on purpose.

The Three Levers That Move Your Sharp Zone

Aperture is the most direct control. A wider aperture like f/1.8 lets in more light and shrinks depth of field to a sliver. A smaller aperture like f/16 deepens it dramatically. The f-number is a ratio, so the bigger the number, the smaller the physical opening and the deeper the field. Portrait shooters open up to thin the zone; landscape shooters stop down to thicken it.

Focal length stacks on top of aperture. Longer lenses compress depth of field, so an 85 mm portrait lens throws a background out of focus far more easily than a 35 mm at the same aperture. Wide lenses do the opposite, keeping more of the scene acceptably sharp, which is exactly why a 24 mm landscape lens can hold a foreground rock and distant peaks at the same time.

Subject distance is the quiet third factor. The closer you focus, the thinner the zone gets. A macro shot of a watch face at 20 cm has a depth of field measured in millimetres, while the same lens focused at 5 m has a comfortable band. Move toward your subject and the sharp zone collapses; back away and it expands.

Put bluntly: a wider aperture like f/1.8 and a longer focal length both shrink depth of field, while a smaller f/16 and a wider lens both deepen it. Distance modulates everything.

A Worked Example: 85 mm Portrait at f/1.8 vs f/11

Here is the contrast that makes the whole idea click. Take a full-frame body, an 85 mm lens, and a subject standing exactly 2 metres away.

At f/1.8, the total depth of field is only a few centimetres. The near and far limits sit so close together that you can keep the eyes sharp but the ears or the tip of the nose may already drift soft, and the background dissolves into smooth bokeh. This is the classic creamy-portrait look, and it is fragile — turn the subject to a three-quarter angle and the far eye can fall outside the zone entirely.

Stop the same lens down to f/11, keeping 85 mm and 2 m, and the depth of field opens up to roughly a third of a metre. Now both eyes, the nose, and most of the face stay sharp, and the background, while still softer than the subject, shows recognizable shapes instead of pure blur. Nothing moved except the aperture ring, and the sharp zone grew by an order of magnitude.

You can read these exact numbers — near limit, far limit, front depth, and back depth — in the Depth of Field Calculator. Punch in full frame, 85 mm, f/1.8, 2 m, then change only the aperture to f/11 and watch the zone widen in real time before you ever raise the camera.

Hyperfocal Distance: Squeezing Out Maximum Depth

For landscapes you usually want everything sharp, and there is a single focus distance that gives you the deepest possible field for a given lens and aperture. That distance is the hyperfocal distance. Focus there and everything from half that distance to infinity is acceptably sharp.

The math is the standard optical model: H equals focal length squared divided by aperture times the circle of confusion, plus the focal length. The circle of confusion is the largest blur spot the eye still reads as sharp at normal viewing size, and most lens scales assume a value around the sensor diagonal divided by 1500 — about 0.029 mm on full frame.

The practical payoff is simple. For a 24 mm lens at f/11 on full frame the hyperfocal distance is roughly 2 metres. Focus there and a foreground rock at 1 metre and the distant mountains are both sharp. The moment your focus distance reaches the hyperfocal mark, the far limit jumps to infinity — that is your confirmation you have maximized depth, not left any sharpness on the table by focusing too close.

Crop Sensors, Circle of Confusion, and Why Phones Can't Blur

A smaller sensor gives deeper depth of field for the same framing. To fill the frame the same way, a crop body uses a shorter focal length or you stand farther back, and shorter focal lengths carry more depth. The sensor's tighter circle of confusion pushes the other way, but the focal-length effect wins. That is why an APS-C or Micro 4/3 body looks deeper than full frame at matched field of view, and why phone cameras lean on software to fake a blurred background — their tiny sensors and short lenses keep almost everything in focus.

This matters when you buy gear. Comparing a full-frame body against an APS-C for the same 50 mm f/2 look tells you how much harder it will be to throw a background out of focus on the crop body. Real numbers beat forum opinions here. If you are juggling other framing math at the same time — matching aspect ratios for a print or a video frame — the Aspect Ratio Calculator handles that side while you plan focus separately.

How I Use This in the Field

When I shoot environmental portraits I almost never trust my eye for depth at wide apertures anymore. I had too many sessions where I nailed the near eye at f/1.4 and lost the far one on a head turn — soft in exactly the spot that matters. Now my routine is to enter the lens, the aperture, and a rough subject distance before the shoot, see the total depth in centimetres, and decide my working aperture up front. If the zone reads under 4 cm I know a slight lean from the subject will cost me, so I stop down to f/2.5 and accept a touch more background detail in exchange for two sharp eyes. That one habit turned my keeper rate around more than any lens upgrade did.

Putting It Together

Depth of field is a zone you place, not a number you accept. Open the aperture and lengthen the lens to thin it for a subject that pops; close down and widen the lens to deepen it for a scene that holds together front to back; lean on the hyperfocal distance when you want every layer of a landscape sharp at once. The relationships are consistent, so once you internalize them you can predict the look before you shoot. When the stakes are high — a paid portrait, a landscape you drove two hours for — punch the numbers in first and let the math confirm what your instinct suggests.


Made by Toolora · Updated 2026-06-13