What Controls Depth of Field? Blur the Background or Keep More in Focus
Depth of field depends on aperture, focal length, focus distance, and viewing conditions. Learn about format, portrait background blur, hyperfocal distance, diffraction, and focusing mistakes.

Depth of field depends on aperture, focal length, focus distance, and viewing conditions. Learn about format, portrait background blur, hyperfocal distance, diffraction, and focusing mistakes.
Depth of field is governed mainly by aperture, focal length, focus distance, and the chosen circle of confusion. Opening the aperture, moving closer, or using a longer focal length from the same camera position will usually make the in-focus range shallower. To keep more of the scene acceptably sharp, stop down, move farther away, and place focus deliberately—but do not keep stopping down without limit.
Are depth of field and background blur the same thing?
Depth of field is the range in front of and behind the plane of focus that looks acceptably sharp. There is no sudden boundary where sharp detail instantly becomes blur. Canon's depth-of-field guide lists focal length, f-number, focus position, and shooting distance among the main variables. Out-of-focus blur describes the amount and character of the blur outside that range; background distance, entrance pupil size, aberrations, aperture blades, and the shape of highlights all play a part.
“Acceptably sharp” also depends on output size and viewing distance. A file that appears sharp from front to back on a phone may reveal defocus when printed large and viewed up close. The range from a depth-of-field calculator is therefore based on a specified circle of confusion. It is a planning aid, not a universal boundary for every use.
How do aperture, focal length, and distance affect depth of field?
With everything else held constant, stopping down increases depth of field, moving closer reduces it sharply, and increasing focal length from the same position raises magnification and makes the range shallower. In real photography, however, you often change distance to preserve the same framing. Focal length and distance then change together, so not all of the “telephoto look” can be credited to focal length alone.
For the relationship between f-numbers and diffraction, see camera aperture and f-stops explained. For focal length and perspective, see lens focal length and angle of view.
Why does sensor format affect depth of field indirectly?
With the same lens, focal length, aperture, and camera position, a crop-format sensor merely records a smaller portion of the projected image. If both files are displayed at the same final size, their required enlargement differs. In practice, comparisons across formats usually hold framing constant, so using the smaller format requires either a shorter focal length or the photographer to step back; either change affects depth of field.
For example, a 50mm lens at F2 on full frame and an approximately 33mm lens at F2 on APS-C give similar angles of view from the same position, but the APS-C setup provides greater depth of field at the same output size. To match depth of field as well, you must adjust the f-number by the crop factor and also account for total light and ISO. Equivalent focal length and crop factor covers the full comparison.
How can you blur the background in a portrait?
Try these steps in roughly this order, starting with the most direct, lowest-cost changes:
- Increase the distance between your subject and the background. This is often more effective than immediately buying a faster lens.
- Move closer to the subject without moving closer than the lens's minimum focusing distance, while watching facial perspective and framing.
- Use a longer focal length and step back to preserve composition. The narrower angle of view includes less of the background.
- Open the aperture, but confirm that both eyes—or everyone in a group—still fit within the usable depth of field.
- Choose a simple background without a jumble of bright highlights and distracting texture.
Maximum blur is not the only measure of a good portrait. Environmental context, room for focusing error, and lens edge performance may matter more than the shallowest possible depth of field.
How should you use hyperfocal distance for landscapes?
Hyperfocal distance is a focus distance that extends the far limit of acceptable sharpness to infinity for a chosen focal length, aperture, and circle of confusion. Nikon's photography glossary gives the planning formula H=f²/(F×CoC) and notes that the circle of confusion changes with format, output size, and other assumptions. Focusing mechanically at infinity often wastes usable sharpness in the foreground, while traditional distance scales may be too optimistic for large, high-resolution output.
In the field, first decide on the nearest foreground detail that must be sharp. Choose a moderate aperture such as F5.6–F11, focus an appropriate distance beyond that foreground, and magnify the image to check both near and far detail. If one exposure cannot cover the range, use focus stacking. Wind or moving subjects can create stacking artifacts, so weigh that tradeoff before shooting.
How can you avoid common depth-of-field mistakes?
- A small aperture does not make the entire frame perfectly sharp. Poor focus placement, camera shake, and diffraction can still reduce detail.
- A long lens does not compress perspective on its own. Stepping back to maintain the same framing changes the distance relationships.
- A blurred background does not guarantee a sharp subject. Shallow depth of field leaves less tolerance for missing the eyes.
- Depth-of-field preview may darken the view. When the lens stops down, an electronic viewfinder may raise gain and make noise more visible.
If you cannot tell why a finished image is soft, work through the blurry-photo troubleshooting checklist.
References
- Canon RF Lens World: Depth of Field
- Nikon Photography Glossary: Depth of Field and Hyperfocal Distance