Sponsored
PTTL · INTERACTIVE GUIDE

Depth of field: what comes out sharp and what changes it

A blurry background is not down to the aperture alone. How close you are, your focal length and the size of the sensor all count too. Change them and see how much of the street stays sharp.
Sensor
Focus
Assist

Loading the photo… The photo did not load. Try reloading the page.
fixed f/2.8
← blurry backgroundmore in focus →
50 mm
← wide angletelephoto →
3 m
← closerfurther →
AF 3 m
← nearinfinity →
How far away things are

What it shows: how far from the camera the face, the focus point and the end of the street are. The green zone is whatever comes out sharp.

How to read it: the numbers get closer together towards the right, like the scale on a lens. From 50 m on, everything is practically "infinity".

What to notice: the zone stretches further behind the focus point than in front of it.

Missions

Find the settings for each photo. A mission lights up green while you are hitting it. 0 / 5

  • Blurry background in a portraitA sharp face and a very blurry end of the street, with bokeh discs at 3% of the frame or more.
  • Paper thinDepth of field under 5 centimetres, with the face sharp.
  • Everything sharpSharp from 2.5 m to infinity. The hyperfocal distance helps.
  • Focus behind herFocus at 10 m or further and a blurry face. Tap the far end of the street.
  • Blurry background on a phoneOn the phone: a sharp face and a blurry background (1.5% of the frame). The aperture is fixed, so find what else helps.

Four things change the depth of field

Depth of field is how much of the scene, in front of and behind the point you focus on, comes out sharp. A lens focuses sharply at one distance only. Things a little closer or a little further away blur so little that the eye can't tell. That zone is the depth of field.

1 · Aperture

How wide the lens opens

A small f-number (f/1.4–f/2.8) is a big opening: only the subject is sharp and the background blurs. A big f-number (f/8–f/16) is a small opening: sharp from near to far.

Rule of thumb: every stop you close down (f/2.8 to f/4, say) makes the depth of field about 1.4 times deeper.

Points of light in the background turn into discs (bokeh). Once you close the aperture a little, the discs take the shape of the blades. In the simulator they become heptagons from f/2.8.

2 · Distance

How close you are

The strongest of the four. Depth of field changes with the square of the distance: at half the distance, it is about a quarter as deep.

The background counts too: the further the background is from the subject, the blurrier it gets. A face 1 m from a wall barely blurs the wall. A face 20 m from the end of the street turns it into soft light.

Want a blurry background without an expensive lens? Get closer to the subject and move it away from the wall behind it.

3 · Focal length

Wide angle or telephoto

From the same spot, a telephoto (85 mm) gives far less depth of field than a wide angle (24 mm). It magnifies the subject and the background together.

But: if you step back so the face stays the same size in the frame, the depth of field ends up almost the same. What changes is the background: the telephoto shows less of it and magnifies it, so its blur looks bigger (compression).

That is why portrait lenses are 85–135 mm.

4 · Sensor

Full frame, APS-C, phone

For the same framing, a smaller sensor needs a shorter lens, which gives more depth of field. f/2.8 on APS-C blurs about as much as f/4.2 on full frame. On Micro Four Thirds, as much as f/5.6.

Phones have a tiny sensor: their f/1.8 blurs about as much as f/8.6 on full frame. That is why almost everything comes out sharp.

A phone's "portrait mode" blurs the background in software. That is why it sometimes eats into hair or ears.

Hyperfocal distance: everything sharp to the horizon

If you focus at the hyperfocal distance, everything from half that distance to infinity comes out sharp. That is what you want for landscapes and street photography. Don't focus on the mountain: focus a bit closer, at the distance in the table.

Hyperfocal distance on full frame
Lensf/8f/11f/16
16 mm 1.1 m 0.8 m 0.5 m
24 mm 2.4 m 1.8 m 1.2 m
35 mm 5.1 m 3.7 m 2.6 m
50 mm 10 m 7.6 m 5.3 m

Example: 24 mm at f/11, focus at 1.8 m. Sharp from 0.9 m to infinity.

Other sensors: for the same framing on APS-C the distances are about two thirds of the table, on Micro Four Thirds about half.

Phone: the hyperfocal distance of the main camera is about 2 m. Beyond that everything is sharp, which is why it hardly ever misses focus.

H ≈ f² / (N · c), where f = focal length, N = f-number, c = circle of confusion (0.03 mm on full frame).

Ready-made settings

Tap "Show me" to load them into the simulator.

Portrait with a blurry background

A telephoto, a wide aperture, focus on the eyes. The background turns into soft light.

f/1.8 85 mm 3 m
Full frame · AF on the eyes

Portrait with the setting

A wide angle from close up: you can still tell it's a street, it just softens.

f/2.8 35 mm 2 m
Full frame · AF on the eyes

Very thin depth of field

f/1.4 from one metre: the eyes are sharp, the nose already soft.

f/1.4 85 mm 1 m
Full frame · AF on the eyes

Street photography

Zone focusing: 35 mm, f/8, focus at 3 m. Whatever passes between 2 and 7 m is sharp without focusing.

f/8 35 mm 3 m
Full frame · focus 3 m

Landscape, everything sharp

24 mm at f/11, focused at 2 m (hyperfocal): sharp from 1 m to infinity.

f/11 24 mm 5 m
Full frame · focus 2 m

Focus on the background

The lights are sharp, the face a blurry silhouette in front of them.

f/2 50 mm 2 m
Full frame · focus ∞

Phone, as it comes

Main camera at 2 m: almost everything sharp, the background barely softens.

f/1.8 24 mm 2 m
Phone · AF on the eyes

Phone: telephoto, up close

The zoom camera from 1.5 m gives a real blurry background, without portrait mode.

f/1.8 85 mm 1.5 m
Phone · AF on the eyes

Same settings on APS-C

Like the first portrait, on a smaller sensor. Compare the background.

f/1.8 85 mm 3 m
APS-C · AF on the eyes

Common mistakes

Focusing on the nose, not the eyes. With an 85 mm at f/1.4 from 1.5 m, the depth of field is about 2.5 cm, and the nose is 3 cm in front of the eyes. Use eye AF, or close down to f/2.8.
A group photo at f/1.8. The second row comes out blurry. f/5.6–f/8, and focus about a third of the way into the group.
"Blurry background" with the subject against a wall. The wall is almost as close as the face, so it can't blur. Move the subject away from it.
A landscape focused at infinity. You lose the foreground. Focus at the hyperfocal distance and you keep both.
f/22 "to get everything sharp". Diffraction softens the whole image. f/8–f/11 with the hyperfocal distance is usually sharper.
"A third in front, two thirds behind". Only true at medium distances. Up close (portraits, macro) it splits almost half and half. Near the hyperfocal distance, it reaches infinity behind. See "Split" in the simulator.

The simulator image is AI-generated. The blur, however, is calculated with lens formulas, for a 0.03 mm circle of confusion on full frame. "Sharp" means sharp in a photo you view whole on a screen or printed at 20×30 cm. For the terms, see the PTTL photography glossary.

More interactive guides

All guides
New White balance Kelvin Grey card

White balance: why a photo comes out orange or blue

Your eye sees a white sheet of paper as white under a lamp and in the sun. The camera doesn't: you have to tell it what light there is. Change the light and the setting and see when white stays white.

  • A simulator: a portrait by the window in 8 kinds of light, from candle to shade
  • Every camera setting: auto, presets, Kelvin, green-magenta
  • An eyedropper on the grey card, as in the camera and in Lightroom
  • Mixed light, missions and ready-made settings
New Focal length Angle of view Compression

Focal length: how much fits in the frame and how close the background looks

Wide angle or telephoto? Focal length decides how much fits in the frame. How close the background looks, though, is decided by where you stand. Change lens, take a few steps back and see the difference.

  • A simulator with a person in a Cycladic alley, with a church at the end
  • Zoom from where you stand, or step back for the same framing: see the compression
  • Full frame, APS-C, Micro Four Thirds and the phone cameras
  • The 1/focal length rule for shake, and missions to practise
New Aperture Shutter speed ISO

Aperture, shutter speed and ISO: how they work together

Three settings decide how bright a photo turns out. Each one also changes something else: the blurry background, frozen motion, noise. Move the sliders and see what happens.

  • A simulator with a cyclist and a waterfall, in sun, overcast, dusk and night
  • Tripod: when you need one and what it changes
  • Missions to practise
  • A histogram and feedback on every change