What hyperfocal distance is
Hyperfocal distance is the focus distance that gives the greatest depth of field for a given lens, aperture and sensor. When you focus at that distance, the zone of acceptable sharpness runs from about half the distance to infinity.
The term sounds technical, but the idea is simple. A lens focused on a point a certain distance away will keep objects from roughly half that distance out to the far horizon reasonably sharp. Focusing any closer or farther leaves a narrower zone, or wastes sharpness on the far distance.
Why it matters
Landscape and architecture photographers often want the nearest object and the distant background both in focus. Hyperfocal distance gives a dependable starting point for that. Instead of guessing where to focus, you set the focus to a known distance and then check the near edge.
It is also useful in low light or fast situations where you do not have time to focus carefully. If you know the hyperfocal distance for your settings, you can set it quickly and shoot.
The formula
The usual formula is:
H = f + (f × f) / (N × c)
Here, H is the hyperfocal distance, f is the focal length, N is the f-number, and c is the circle of confusion. The circle of confusion is the largest blur spot that still looks like a point at the size and viewing distance you expect. It is a measure of acceptable sharpness, and it depends on the sensor.
For a full-frame camera, c is commonly taken as about 0.03mm. Smaller sensors use smaller values, roughly in proportion to their size. Different sources may give slightly different numbers, so check the value your calculator uses.
A worked example
Take a 50mm lens at f/8 on a full-frame camera, with c set to 0.03mm.
- f × f = 50 × 50 = 2,500
- N × c = 8 × 0.03 = 0.24
- (f × f) / (N × c) = 2,500 / 0.24 ≈ 10,417mm
- H = 50 + 10,417 ≈ 10,467mm, or about 10.5 meters
Focusing at about 10.5 meters gives a zone of sharpness from about 5.2 meters to infinity. If the nearest object in your scene is beyond 5.2 meters, the whole scene will be acceptably sharp at that setting.
With a 24mm lens at the same f/8 setting, the hyperfocal distance is much shorter, about 2.4 meters, and the zone runs from about 1.2 meters to infinity. A wide lens brings the near limit much closer to the camera, which is why wide-angle lenses are popular for landscapes.
Using it in the field
You do not need to calculate the number on location. Three simple ways to use it:
- A depth-of-field scale on a manual lens. Line up the infinity mark over the aperture you have set, then read the distance opposite the focus index. That is the hyperfocal distance. Some lenses print the scale, and many do not.
- A depth-of-field calculator. Enter your focal length, aperture and sensor, and it returns the hyperfocal distance and the near and far limits. Phone apps and websites do this well.
- A rough estimate. Focus about one-third of the way into the scene, as a quick approximation.
Whichever way you use, check the near edge of the frame on your screen at full size. The formula assumes a certain print size and viewing distance. A larger print or closer viewing may show softness that the calculation allowed.
What the numbers depend on
The circle of confusion is a choice, not a fixed fact. A smaller value makes the focus range look tighter and the hyperfocal distance farther. A larger value gives more apparent depth and a shorter hyperfocal distance. The standard value of about 0.03mm for full frame is a reasonable default for normal prints and screen viewing.
Smaller sensors use smaller values, so the same lens and aperture will have a different hyperfocal distance on a crop-sensor camera than on a full-frame body. If you switch cameras, recalculate or use a calculator that knows your sensor.
Limits
Hyperfocal distance is a guide, not a guarantee. A few things can limit it:
- Very narrow apertures bring diffraction, which can soften the whole image, so the extra depth may not be worth the loss of sharpness.
- If the nearest object is closer than the near limit, it will be soft even if the distant scene is sharp.
- A lens may not be sharp at every aperture, especially at its widest and narrowest settings.
For scenes with a very close foreground, focus stacking is often the better tool.