Hyperfocal Distance Photography: Calculations & Focus

In this article I’m going to discuss the special focus condition called hyperfocal distance (HFD) and how you can employ it with today’s DSLR cameras to achieve the absolute greatest possible depth of field (DOF) for any given situation. Hyperfocal focus allows you to produce a depth of field that extends from the nearest possible point to the camera through to infinity.

Maximum depth of focus allows you to use relative subject scale as a creative aspect in your compositions while still keeping everything tack sharp. Since the relative size of objects projected on a flat plane (i.e., the film or the sensor) is dependent on their position relative to the camera. Objects close to the camera appear larger than distant objects. If you can focus on both, you’re able to produce a virtually tactile appearance of the near objects while making them scale noticeably larger than the distant objects. A good way to prove this to yourself is to place your camera next to a long fence while keeping everything in focus. Not only do you get a geometric convergence of parallel lines, but the close objects appear with maximum texture and detail.

Hyperfocal distance is that special focus condition in which clear focus is obtained from ½ the hyperfocal focus point to infinity. Put another way, if you know what the HFD is for the given lens focal length and f-stop and focus on it, then everything from ½ of that distance to infinity is in focus.

Now here’s the key point. HFD is calculated using only three numbers: the lens focal length, the f-stop used, and the circle of confusion.

The circle of confusion is a number you can get from a reference table and does not vary. As a practical matter if you want the DOF to extend from the closest possible point to infinity you’re going to be shooting at a small f-stop anyway so you don’t care about wider lens apertures. I’ve run the HFD table for a 50mm lens which I often use and have burned into my brain that at f/22 the HFD is 20 feet and that half of the HFD is 10 feet.

This then is my rule of thumb for this lens: at 50mm if I set the prime focus on 20 feet, I know that everything from 10 feet to infinity is dead sharp. By the rules of optics, I know that a 50mm lens, when focused on the HFD at f/22, produces a sharp image from 10 feet to infinity. I also know that I can’t get any closer than 10 feet and still have my focus extend to infinity; it will be something less, but not infinity. I don’t need any other tables or calculations for this lens when I’m at f/22, which I will be for landscape work. I have similar figures for all my other prime focal lengths and the whole thing fits on a laminated card that fits in my pocket!

To understand the implications of the above I recommend that if you have not already done so, go to dofmaster.com and print out a depth of field table for a 50mm lens. If you read the distance scale at the far left to 20 feet and then move right on the page to the f/22 column, you will see that the close focus point is 9 feet and 9.7 inches and the far focus point touches infinity. You can also tell from looking at an extract of the table below that if I focus on 18 feet my near focus point is 9 feet and 3.6 inches but my far focus point is 276 feet, far but not infinity! If I move to 20 feet which is the calculated HFD, I touch infinity. If I focus beyond 20 feet, my near focus point moves away from the camera and to infinity.

50mm lens at f/22

Focus Distance………………Near Focus Point……………Far Focus Point

18………………………………………….9′-3.6″……………………………276′

20………………………………………….9′-9.7″…………………………..Infinity

30………………………………………….11′-8″…………………………….Infinity

To round out your understanding of HFD, proceed to dofmaster.com and download their free HFD calculator. Input of all values required on the data screen is pretty straightforward except the circle of confusion which you should initially set at .019mm for most handheld digital cameras. If you want to know more about the circle of confusion, you can read further on their website. In any event, program the screen and output your HFD chart.

For my 50mm lens, setting the circle of confusion at .019mm, my chart reads the following and I calculate the near focus as ½ the HFD as:

f-stop………………HFD…………………….½ HFD

2.8…………………..150’……………………75′

4……………………….110’………………….55′

5.6……………………..80’…………………..40′

8…………………………55’……………………28′

11……………………….38’………………….19′

16………………………27’………………….14′

22……………………….20’………………….10′

I hope this has been helpful in understanding the useful arcana of focus in applied optics. Now go out there and shoot some (well focused) scenes.

hyperfocal street photography

photo by Sven Sven

Many thanks to Don Fleming for putting up and maintaining dofmaster.com, a wonderful site that has all sorts of free and info and goodies related to DOF and related subjects.

About the Author:
Jeremy Myers is a wedding officiant and is the owner of Lyssabeth’s Wedding Officiants at Marin Wedding Officiants and Monterey Wedding Officiants (montereyweddingofficiants dot com).

Like This Article?

Don't Miss The Next One!

Join over 100,000 photographers of all experience levels who receive our free photography tips and articles to stay current:

10 responses to “Hyperfocal Distance Photography: Calculations & Focus”

  1. Ian Drury says:

    I can’t seem to find a DOF & Hyperfocal chart for micro 4/3rds sensors and my particular cameras, a Pen-F and a Panasonic G9 listed anywhere.

  2. Nick says:

    Agree with Rick, this does not work. Very outdated

  3. Rick says:

    Just downloaded that app as well… Does Not Work. You need to take the reference to that app out of your article before someone else looses their money.. the developer has not updated the app since early 2008…

  4. MIchael says:

    In addition, an important variable is the intended use, the film/sensor size etc so the hyperfocal distance will be much less for a reasonable sized print. Just use a phone and publish a thumbnail to the web and no one will be able to tell what’s sharp and what isn’t.

  5. Eric says:

    Just purchased and installed the DOFMaster app.

    IT DOESN’T work!

    I can open each drop down but cannot select any other options than those defaulted to when I first open the app.

    If you are going to refer readers to an app, at least find one that works correctly.

  6. Wilba says:

    It’s a shame that you’ve perpetuated the “everything in focus” myth of hyperfocal shooting. In fact only things at the focus distance are in focus and everything else is out of focus, but a viewer with average eyesight viewing the image under standard conditions might not notice. You haven’t mentioned other factors like diffraction and object field effects which affect perceived sharpness.

    To the reader” don’t believe the hype (pun intended), look further than this naive advertisement for a deeply misunderstood and flawed technique.

  7. Vipul Kapadia says:

    One of the most amazing articles I have come across recently!!! I definitely will be suing this for landscape work. I am just a hobbyist but have always wondered how I can get maximum in focus. I have a couple of questions and I will highly appreciate it if you could answer them.

    (1) I have 24-85mm lens. When I input focal length in this formula (http://www.dofmaster.com/dofjs.html), do I put 24 or 85 or the actual focal length that I am using while taking the picture?

    (2) What are the implications of not sticking with f/22? Should I always go with the smallest aperture?

    (3) Lastly, for subject distance, do I replace 10 feet with the actual distance of the subject where I am focusing on to calculate HDF?

    Thank you .

  8. Lyn Scott says:

    My confusion with all of this hyperfocal distance comes in when I am using a zoom. What lens mm length do you use? The charts are not set for zooms, just prime.

  9. As always the images you choose to use are so incredible!

  10. Jolua says:

    It is amazing the way this effect works, these pictures are great. I really enjoy when I see a good picture with a foucs condition like this.

    The great thing about this is that now you are sharing a very practical way of calculating it, may be with some pratice I could get the same results that you are showing here!

    Thanks for the Article.

Leave a Reply

Your email address will not be published. Required fields are marked *