Does focal length affect depth of field, or only framing?
Focal length genuinely changes depth of field, not just framing — at a fixed subject distance and aperture, a longer lens produces a narrower depth of field than a shorter one, a real effect built into the hyperfocal-distance formula's f² term, not an illusion caused by the tighter crop a longer lens also happens to produce.
A Direct Comparison at the Same Distance
At 3 meters and f/2.8 on full frame, a 35mm lens produces roughly 1.22 meters of total depth of field, while an 85mm lens at the identical distance and aperture produces roughly 19.6cm — well over six times narrower. The subject is framed completely differently between the two shots, but the depth-of-field difference is a real, separate physical consequence of focal length itself, not a byproduct of the framing change.
The Part That Genuinely Is About Framing
Where focal length and distance interact is in a specific, related way: if you keep the subject framed identically by changing both focal length and distance together (stepping back with a longer lens to keep the same composition), depth of field narrows as focal length increases even at matched framing — this is the well-known reason a telephoto portrait compresses the background so much more dramatically than a wide-angle shot of the same subject size. The framing stays constant; the depth of field still changes, driven by the combination of longer focal length and greater distance together.
Compare any two focal lengths at your own distance and aperture in the DoF & Hyperfocal Calculator.
Frequently Asked Questions
If I keep the same framing, does a longer lens always give shallower depth of field?
Yes — matching framing with a longer lens requires standing further back, and the combination of longer focal length and greater distance still produces a narrower depth of field than a shorter lens closer in, at the same aperture, which is exactly why telephoto portraits show such dramatic background separation.
Is it the focal length or the magnification that actually drives this effect?
Magnification (subject size relative to the frame) is the more fundamental underlying variable, and focal length and subject distance both feed into it — two very different focal-length-and-distance combinations that produce the same magnification will produce very similar depth of field, which is the deeper reason behind the pattern.