Exposure & image quality

Aperture and depth of field

Last updated · about a 4 minute read

Open up one stop and you get twice the light and a thinner slice of focus. The only real hurdle is that f-numbers run backwards, so start there.

A DSLR body and a lens side by side on a table

1. Why bigger f-numbers are darker

An f-number is focal length divided by the diameter of the entrance pupil. The opening sits on the bottom of the fraction, so f/2 is a bigger hole than f/8 and lets in more light.

At a fixed focal length and distance, depth of field scales roughly with the f-number: f/1.4, f/2.8, f/5.6, f/11
At a fixed focal length and distance, depth of field scales roughly with the f-number

Full stops go f/1.4, 2, 2.8, 4, 5.6, 8, 11, 16, 22, and each step to the right halves the light. Every other number doubles because light follows the area of the hole, and area follows the square of the diameter, so a 1.4x change in diameter halves the light. Remember the 1.4x and you can rebuild the rest.

Trading aperture against shutter speed and ISO is covered in the exposure triangle. This piece is about depth.

2. Three variables set depth of field

The fast lens gets the credit for blur, but it is one of three controls, and distance outweighs it.

VariableDirectionWeight
Subject distanceCloser means shallowerLargest. Halve the distance and depth of field drops to roughly a quarter
ApertureSmaller f-number, shallowerLarge. At a fixed distance and focal length, depth scales roughly with the f-number
Focal lengthLonger is shallowerLarge, but tangled up with distance

Sensor format and final print size count too. The same framing on a smaller sensor gives deeper focus; multiply the f-number by the crop factor, so f/2 on APS-C behaves like f/3 on full frame. A file that looks sharp on a phone can look soft a metre wide.

Check what is behind your subject before you touch the aperture. Put someone against a wall and even f/1.2 won't melt the background. Walk them three steps forward and f/2.8 is already clean. Move people first, change settings second. Your feet cost nothing; a faster lens costs a lot.

3. Hyperfocal: one focus for a landscape

Focus at the hyperfocal distance and everything from half that distance to infinity is acceptably sharp, rocks at your feet and far ridge alike. The number shifts with focal length, aperture and format. In the field:

  1. Punch format, focal length and aperture into a depth-of-field calculator on your phone.
  2. No app? Focus on the nearest thing that has to be sharp, then a touch beyond it, stop down to f/8–f/11, and zoom into playback to check the foreground.
  3. Don't just focus at infinity. The near ground goes soft every time, and the near ground is where a landscape gets its depth.

"Focus a third of the way in" is roughly right at wide focal lengths with nothing very close to the lens, but it's a rule of thumb. When the shot matters, check at 100% on playback.

4. Diffraction: why f/22 looks soft

Stop all the way down and the whole frame goes soft. Light passing through a small opening diffracts, spreading each point into a tiny disc, and the smaller the opening, the bigger the disc.

  • Smaller sensors and denser pixels show it sooner. On full frame it usually becomes visible past f/11 and is obvious by f/16 and f/22.
  • It creeps in gradually. Stopping down to f/16 to get the depth you need is usually worth it: a frame that's a little soft everywhere beats a foreground that's plainly out of focus.
  • Most lenses peak about two stops down from wide open. To find out for your own lens, shoot a brick wall or a bookshelf at every stop and compare.

5. Rough starting points by subject

SubjectUsual rangeWhy
Single half-length portraitf/1.8–f/2.8Shallow, but both eyes still land in the sharp zone
Two or three peoplef/4–f/5.6They are never on one plane; the depth has to cover all of them
Group in rowsf/8More rows need more depth; curve the rows slightly too
Landscapef/8–f/11Enough depth before diffraction starts to bite
Night skyWide open, or one stop downLight is so scarce that depth hardly matters
Macrof/8–f/16 and still paper thinAt those distances depth is measured in millimetres; more means focus stacking

Treat these as places to start. Decide first what has to be sharp, work out how much depth that takes, and only then pick the f-number.

6. FAQ

Is a lens sharpest wide open?

Usually not. Most lenses have softer corners and more aberrations wide open and peak about two stops down. If the shot needs the light or the separation, shoot wide open anyway. Sharpness is one trade among several.

I opened up and the background is still busy. Why?

Almost always distance. You are too far from the subject, or the subject is too close to the background. Depth of field responds to distance more than to aperture, so get closer and pull the subject away from the background before you reach for the aperture.

Is an f/1.2 lens worth it?

Over f/1.8 it buys you a little more than one stop, often for double the price and weight. Wide open, depth can be so thin that one eye is sharp and the other isn't. Worth it if you want exactly that look. If you just want a cleaner background, moving your feet does more.

Is phone portrait mode the same as a fast lens?

No. The phone estimates depth and blurs the background in software, so hair, the arms of glasses and railings give it away, and the falloff is harsher than optical blur. At phone-screen size it looks fine; enlarge it and the difference shows.

Add EXIF watermarks — free →