Depth of Field

Depth of Field Explained for Beginners

Depth of field is the zone of sharp focus in a photo. Learn how aperture, focal length, subject distance and sensor size control it, with plain examples.

On this page
  1. What depth of field means
  2. The four things that control it
  3. Aperture
  4. Distance to the subject and focal length
  5. Sensor size
  6. Where the sharp zone sits around the focus point
  7. Choosing shallow or deep depth of field on purpose
  8. Trade-offs: diffraction, shutter speed and ISO
  9. Common questions

What depth of field means

Depth of field is the range of distance in a photo that looks acceptably sharp. A lens can focus exactly at one distance. Objects a little nearer and a little farther than that distance also look reasonably sharp, and that band of sharpness is the depth of field.

A narrow band is called shallow depth of field. A wide band is called deep depth of field. Shallow depth of field often isolates a subject from a blurred background. Deep depth of field keeps a scene sharp from the foreground to the distance.

The edges of the zone are not hard lines. Sharpness fades gradually on either side of the focus point. What counts as acceptably sharp also depends on how big the photo is printed or displayed and how closely someone looks at it. A photo that looks sharp on a phone screen may show softness on a large print.

The four things that control it

Four factors shape depth of field:

  • Aperture: the size of the opening in the lens.
  • Focal length: how long or wide the lens is.
  • Distance to the subject: how far the camera is from what you focus on.
  • Sensor size: how big the sensor is behind the lens.

Aperture is usually the easiest of these to change quickly, so it is where most people start. The other three matter just as much once you understand them.

Aperture

A wider aperture gives shallower depth of field. A narrower aperture gives deeper depth of field. Aperture is written as an f-number, and a smaller f-number means a wider opening. So f/1.8 gives a thinner zone of sharpness than f/8, and f/8 gives a thinner zone than f/16.

The change from one full stop to the next is noticeable but not dramatic. Think of aperture as one dial among several rather than a switch that makes a photo either blurred or sharp.

Distance to the subject and focal length

At a fixed distance to the subject, a longer focal length gives shallower depth of field. A 200mm lens focused on a person from across a field will have a thinner zone of sharpness than a 35mm lens focused on the same person from the same spot.

Subject distance matters as well. The closer you are to the subject, the shallower the depth of field at the same aperture. Moving the subject farther from the background also helps separate them visually, because the background falls further out of focus.

There is a subtlety here. If you keep the subject the same size in the frame, changing focal length and distance together often leaves depth of field similar at the same aperture. Longer lenses are often used from farther away for that reason, so the difference people see in practice comes from how far they stand, not only from the lens.

Sensor size

For the same framing and the same f-number, a larger sensor gives shallower depth of field than a smaller one. This is one reason a full-frame camera and a small phone sensor can look so different at the same apparent framing. Phone cameras have very small sensors, so most of their photos show deep depth of field, and portrait modes add a blur in software instead.

Where the sharp zone sits around the focus point

The zone of sharpness does not extend equally in front of and behind the focus point. At moderate distances, it usually reaches farther behind the focus point than in front of it. A common rule of thumb is about one-third of the zone in front and about two-thirds behind.

This is why, for deep depth of field, many photographers focus about one-third of the way into the scene rather than on the nearest object. The idea is to push the far end of the zone out as far as possible while keeping the near end acceptably sharp. The exact spread changes with focal length, aperture and distance, so treat the rule as a starting point.

Choosing shallow or deep depth of field on purpose

Depth of field is a creative choice. Some common starting points:

  • Portraits: a moderate to wide aperture with the subject separated from the background. This keeps attention on the face.
  • Landscapes: a narrower aperture with focus set to keep the foreground and distance acceptably sharp.
  • Groups and product shots: enough depth that everyone or every part of the object is sharp, which often means stopping down or stepping back.

None of these is a rule. A landscape can look good with a shallow zone if the subject is a single flower in the foreground, and a portrait can look good with more of the background in focus.

Trade-offs: diffraction, shutter speed and ISO

Depth of field has costs. Narrow apertures reduce light reaching the sensor, so you may need a slower shutter speed or a higher ISO to keep the exposure correct. A slower shutter speed can show motion blur, and a higher ISO can add noise.

Very narrow apertures also bring diffraction. Light bends slightly passing through a small opening, and the image can look softer than it does at a middle aperture. The point where this becomes visible depends on the sensor and the lens, but on many full-frame cameras it becomes noticeable somewhere around f/11 to f/16. Smaller sensors reach that point at a wider aperture.

When one shot cannot give you the depth you need, you can take several frames focused at different distances and blend them. This is called focus stacking, and it lets you keep a moderate aperture while covering a larger zone.

Common questions

Does a bigger sensor always mean shallower depth of field? For the same framing and f-number, yes. Keep the framing different and the result changes.

Is depth of field the same as bokeh? No. Depth of field is how much of the scene is sharp. Bokeh describes how the out-of-focus parts look. A photo can have shallow depth of field with smooth or harsh bokeh depending on the lens and the light.

What is the easiest way to see depth of field? Use your camera’s depth-of-field preview if it has one, or shoot the same scene at a few apertures and compare the results on a computer screen at full size.

Keep exploring

Guides from other topics

All topics →