Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

kallisti

macrumors 68000
Original poster
Apr 22, 2003
1,751
6,670
For landscape photography, one frequent goal is to get everything in focus from near to far. Creating the largest depth of field (DOF) possible. The hyperfocal distance is that focus point that creates the largest DOF that includes infinity for a given aperture with "acceptable" sharpness at all distances within the DOF.

DOF has two major determinants: focal length and subject distance. Focal length affects DOF in an inverse way. The shorter the focal length, the larger the DOF. Subject distance affects DOF in a direct way, the closer the subject the shallower the DOF. The further away the subject is, the larger the DOF will be.

In the days before Live View or EVFs (i.e. film and early digital), it wasn't possible to set focus to the hyperfocal distance at the time of capture. There were formulas one could use to try to set this focus distance and hope you got it right.

With modern digital cameras the process is much easier.

(1) Set your aperture. Good starting points are f/5.6, f/8, f/9, f/11. Depending on the lens, sharpness starts to degrade around f/8 secondary to diffraction. Apertures smaller than f/11 will degrade sharpness for pretty much any lens. "Good" lenses will be optimal at f/5.6 (or sometimes at even wider apertures). But you may not be able to create the DOF you want without stopping down further.

(2) Change to manual focus.

(3) Set focus to the minimum focus distance via the focus ring.

(4) Zoom in to an area at infinity either in Live View or with your EVF if your camera has this option. Zoom in to the highest magnification possible.

(5) Manually adjust your focus ring moving out towards infinity. Stop when the zoomed in area that is at infinity in LV or your EVF becomes sharp.

(6) Done. You are now at the hyperfocal distance for your aperture. In many situations you won't be at infinity focus. Which is great--more of the foreground will be in focus than if you had just manually placed focus at infinity. That's the whole point of this exercise! If shooting handheld, you can now change your composition at will knowing that objects in the background at infinity will be sharp and you have the largest DOF possible for your aperture. Just don't touch the focus ring or change the aperture!!

CAVEATS

The above is a good general way to easily get the largest DOF that includes infinity. But like many things in life, reality is sometimes a bit more complex and nuanced.

The above assumes a lens with a flat field regarding focus. Many, many lenses don't actually have a flat field of focus. Instead they have what is called field curvature. This means that as you move from the center to the edge of the frame, the area of focus can move forward or backwards. "Good" lenses minimize this. But it is very, very common in many, many lenses. Which is annoying. So you follow the above advice confident that you understand optics in a theoretical sense about what should happen regarding DOF, but your actual lens doesn't follow the rules and produce the images you expect. Sometimes focus in the corners jumps forward compared to the center. Sometimes it jumps backwards. Sometimes the zone of focus changes in the not-center but not-corner regions. There are all kinds of weird field curvature behaviors. Again, annoying and frustrating.

On one level, the best advice is to know your lens. Know if it has significant field curvature. If shooting on a tripod, set the hyperfocal distance as described above, but also look across the frame to see if everything important is in focus. Sometimes stopping down further than you initially intended can get all of the important stuff in focus. Or you may have to find the "happy medium" regarding aperture and where you place focus with your particular lens.
 

Clix Pix

macrumors Core
Thank you for this! Perfect timing for me, as I've recently gotten a new wide-angle lens and am intending to take a crack at shooting some landscapes once I get myself to a place like the botanical gardens or some other scenic location. I'd been thinking the other day about hyperlocal distance and wondering if I remembered how to do it! LOL! Thankfully my new lens does not have -- shouldn't have -- significant field curvature, so that will not be a concern, although of course I will be checking carefully anyway just to be sure.
 

kallisti

macrumors 68000
Original poster
Apr 22, 2003
1,751
6,670
There is one other caveat to be aware of, which relates to something called focus shift.

In an ideal world, the plane of sharp focus would stay constant independent of aperture when set manually at an open aperture. The DOF would expand as you stop down (i.e. change to a smaller aperture), but anything in focus at an open aperture would stay in focus at smaller apertures. Or to be more precise, the plane of sharp focus wouldn’t change but only get bigger in a predictable way as you stop down. This isn’t the case for some (many?) lenses.

Instead what can happen is that the plane of sharp focus actually changes (moving closer or further away) depending on your aperture. Sometimes the increased DOF from stopping down can “mask” this behavior, leaving the subject in focus but resulting in a zone of sharp focus that isn’t what one would expect (i.e. the foreground doesn’t sharpen up to the degree expected or the background doesn’t sharpen up to the degree expected). It is important to be aware of focus shift for all photography when one is using manual focus. Don’t assume that the DOF will expand around your manually set focus point at an open aperture in the “theoretical” way you might expect if you stop down to a smaller aperture. For some lenses it will, for others it won’t.

In the context of this thread, it is always best to set your aperture first and then set focus manually as described in my initial post above. If you need to stop down to get a larger DOF, you should then go through the manual focus process again for your new aperture. It’s quick and easy enough to do.
 
Last edited:

dimme

macrumors 68040
Feb 14, 2007
3,264
32,155
SF, CA
I have a few older manual focus lens that I use for landscape photography. They have a hyperfocal distance scale stamped on to the lens. It's a very handy tool and a great technique to know.
 

Darmok N Jalad

macrumors 603
Sep 26, 2017
5,425
48,317
Tanagra (not really)
Pretty nice tip to remember.

If you’re shooting a prime, that might make it harder to do with no zooming, but that’s where focus peaking can be very handy. I have my camera set to peaking on a custom button, but it also will do it automatically in manual focus mode. Seeing the blue (for my camera) peaking helps me see just how much of the scene is in focus. Wide-angle lenses seem to be pretty forgiving, and it’s usually the foreground that is missing focus. That can really leave landscape shots lacking!
 

bunnspecial

macrumors G3
May 3, 2014
8,352
6,495
Kentucky
Can I be the grumpy stickler and say that DOF is an artificial concept?

There exists one plane of sharp focus, and depending on aperture and magnification relative to the plane of sharp focus, the focus falls off. There are limits of what we consider "acceptably sharp" for a given rendering, but we're still just putting parameters on "okay, this is good enough."

Lenses with DOF scales are often calculated based on acceptable sharpness in an 8x10 print from I think a 3ft viewing distance. Take that into account, and stop down more if you're printing bigger(at least up to the point that diffraction takes over and makes everything fuzzy).

Also, remember, the focal length doesn't matter. It's the magnification ratio between the sensor/film and the plane of focus. Typically we don't calculate magnification ratios for less-than-macro photos, but if you do much macro work you'll find that changing the focal length while keeping the subject the same size doesn't change DOF, it just changes working distance and perspective.

In a landscape photo, I find it best to ignore hyperfocal distance and instead just focus on what I want to emphasize most, then use a moderately small aperture to lessen the drop-off in focus from there. I'm usually happier with the outcome doing that vs. going for hyperfocal distance.

Grumpy mode off :)
 

Darmok N Jalad

macrumors 603
Sep 26, 2017
5,425
48,317
Tanagra (not really)
Can I be the grumpy stickler and say that DOF is an artificial concept?

There exists one plane of sharp focus, and depending on aperture and magnification relative to the plane of sharp focus, the focus falls off. There are limits of what we consider "acceptably sharp" for a given rendering, but we're still just putting parameters on "okay, this is good enough."

Lenses with DOF scales are often calculated based on acceptable sharpness in an 8x10 print from I think a 3ft viewing distance. Take that into account, and stop down more if you're printing bigger(at least up to the point that diffraction takes over and makes everything fuzzy).

Also, remember, the focal length doesn't matter. It's the magnification ratio between the sensor/film and the plane of focus. Typically we don't calculate magnification ratios for less-than-macro photos, but if you do much macro work you'll find that changing the focal length while keeping the subject the same size doesn't change DOF, it just changes working distance and perspective.

In a landscape photo, I find it best to ignore hyperfocal distance and instead just focus on what I want to emphasize most, then use a moderately small aperture to lessen the drop-off in focus from there. I'm usually happier with the outcome doing that vs. going for hyperfocal distance.

Grumpy mode off :)
Doesn’t seem grumpy to me. Just a well-reasoned and logical reply based on your research and experience!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.