Chapter 10Part 2: Focus and depth
Sharp from here
to infinity
Hyperfocal distance confuses almost everyone at first, because it's usually explained with formulas instead of what is physically happening. Move the focus below and watch the blur circles on the sensor grow and shrink.
Blur circle lab
Far right is infinity.
1/3 stop per step.
The mountain stays at infinity.
Blur circles on the sensor
Limit 0.03 mm
Dashed ring: the largest blur circle that still looks sharp. Green is inside it; amber is too big.
Sharp zone
Sharp from
- Near limit
- Far limit
- Hyperfocal (H)
What's physically happening
Normal focus
Suppose you're photographing a person 3 m away, with a mountain 100 m behind them. You focus on the person.
Hyperfocal focus
Instead of focusing on the person, you focus farther away, at the hyperfocal distance H. Here H is 10 m.
When focused at H, infinity is "just sharp enough", and everything from H/2 to infinity appears acceptably sharp. With H at 10 m, that is everything from 5 m to the horizon.
A real example
A 24 mm lens at f/11 on a full-frame camera has a hyperfocal distance of about 1.7 m. Focus at 1.7 m, and everything from about 0.85 m to infinity looks sharp. A rock 1 m away and a mountain 10 km away both appear sharp.
This is why landscape photographers love hyperfocal distance.
Seeing it as blur circles
Imagine the sensor tolerates a tiny blur circle. Anything that lands on the sensor as a circle smaller than that limit looks sharp to your eye.
Hyperfocal is chosen so the blur circle from infinity is exactly at the acceptable limit. The mystery is really just controlling how large those blur circles are on the sensor.
Why does H/2 appear?
When focused at H, objects beyond H create a tiny blur, and objects closer than H create a tiny blur too. The maths works out so the nearest acceptable point lands at H/2.
You can check it: the near limit is (H − f) × s ÷ (H + s − 2f) for a focus distance s. Put s = H and it simplifies to exactly H/2.
What hyperfocal is not
Many people think "hyperfocal means maximum sharpness." Not true. The sharpest point is always the focus point.
Hyperfocal is the focus distance that gives the largest depth of field while still keeping infinity acceptably sharp.
Calculating it
H = f2 ÷ (N × c) + f
f is the focal length, N the f-number and c the circle of confusion: the largest blur circle that still looks sharp. This page uses 0.03 mm, a common value for full-frame sensors.
For a 50 mm lens at f/8:
50² ÷ (8 × 0.03) + 50 ≈ 10,467 mm ≈ 10.5 m
Sensor size, and why charts disagree
Smaller sensors are enlarged more for the same print, so they use a smaller c, about 0.03 ÷ crop factor. With the focal length held fixed, this pushes H farther: a 28 mm lens at f/16 on a 1.6× crop camera uses c ≈ 0.019 mm, giving about 2.6 m. But to keep the same framing you usually choose a shorter lens. At f/11, 24 mm on full frame gives H ≈ 1.77 m, while a similarly framed 16 mm on 1.5× APS-C gives H ≈ 1.18 m. See the sensor and viewing-size explanation.
The acceptable blur is a convention, not a law of physics. Published charts and apps use anywhere from 0.019 to 0.03 mm for full frame, so their numbers differ. A 100 mm lens at f/16 gives 20.9 m with 0.03 mm, but about 33 m with 0.019 mm.
What moves it
| Focal length | At f/8 | At f/16 |
|---|---|---|
| 24 mm | 2.42 m | 1.22 m |
| 50 mm | 10.47 m | 5.26 m |
| 70 mm | 20.49 m | 10.28 m |
Stopping down brings it closer: one stop divides it by about 1.4, and two stops (f/8 to f/16) halve it. Zooming in pushes it much farther, because the focal length is squared. At the same focal length, a stricter sharpness standard (a smaller c, for big prints or smaller sensors) also pushes it farther.
In the field
Tips
- If in doubt, focus a little beyond H, not short of it. Short of H, infinity turns soft. A little beyond costs only a little near sharpness.
- If the farthest thing is closer than infinity, a treeline for example, you can focus slightly closer than H and gain more foreground.
- Check on the camera. Zoom into the playback image at the nearest and farthest points. It is not always possible to get everything sharp.
- Focusing at infinity wastes depth of field. The near limit then sits at about H instead of H/2.
Try it in the lab
- Press Focus on the rock. The rock is sharp, but the mountain's blur circle is too big.
- Press Focus at infinity. The mountain is sharp, but the near limit sits at H, so the rock turns soft.
- Press Focus at hyperfocal. Both blur circles fit inside the limit, and the sharp zone runs from H/2 to ∞.
- Open the aperture to f/4, or zoom to 70 mm, and watch H move far away.
The lab holds the lens focal length fixed when you change sensors, so the framing would change on a real camera. It uses the thin-lens model with a circle of confusion of 0.03 mm ÷ crop factor. The scene is an illustration whose blur follows the calculation. Real lenses also have aberrations and diffraction, which this ignores.
When hyperfocal isn't enough: focus stacking
A flower 35 cm from a 24 mm lens and mountains on the horizon can't both be sharp in one shot at f/8: hyperfocal only reaches down to 1.2 m. Stopping down to f/22 brings it to about 0.45 m, but diffraction softens the whole picture. Instead, take several photos focused at different distances and merge the sharp parts.
How to shoot it
- Put the camera on a tripod and switch to manual focus and manual exposure, so nothing changes between shots.
- Focus on the nearest thing and take a photo. Turn the focus ring a little farther and take the next one.
- Keep going until you reach the hyperfocal distance. Each sharp zone should overlap the one before.
Merging the photos
Software lines up the photos and keeps the sharpest part of each: Photoshop (Auto-Blend Layers), Affinity Photo, Helicon Focus or Zerene Stacker.
Many cameras can take the series for you. Look for focus bracketing or focus shift in the menu. Wind or moving water between shots makes ghosts, so it suits still scenes.
Hyperfocal cheat card
Pick your sensor and print this card, or save it to your phone. Each cell is the hyperfocal distance: focus there and everything from half that distance to the horizon is sharp. Use the focal length marked on the lens.
Hyperfocal distances
| Lens | f/8 | f/11 | f/16 |
|---|
Focus at the distance shown; sharp from half of it to infinity. Photography 101, photography101.codekunda.com