Calculate Hyperfocal Distance: Maximum Depth of Field for Landscape and Architecture Photography

tutorials

Landscape photographers know the goal: from the rocks in the foreground to the mountains on the horizon, everything should be sharp. This is only possible by focusing on the hyperfocal distance — the point at which infinity is still rendered sharply at maximum depth of field, while at the same time the near limit of sharpness extends back to half the hyperfocal distance. The calculator determines this critical distance for any camera-lens combination.

Step by Step: How to Use the Hyperfocal Distance Calculator

  1. Select the camera sensor: Full-frame (35 mm, circle of confusion c = 0.029 mm), Canon APS-C (c = 0.019 mm), Nikon/Sony APS-C (c = 0.020 mm), Micro Four Thirds (c = 0.015 mm). Smaller sensors have smaller circles of confusion.
  2. Enter the focal length: The actual focal length of the lens in mm — e.g. 24 mm for a wide-angle lens, 50 mm for a standard lens. For zoom lenses, enter the focal length you are using.
  3. Enter the aperture: The aperture value (f-number) you are using — e.g. f/8 or f/11 for landscape photography. A smaller f-number (f/2.8) = less depth of field = shorter hyperfocal distance.
  4. Read the hyperfocal distance: Formula: H = (f² / (N × c)) + f. Focus at this distance (not at infinity!).
  5. Determine the depth of field range: In focus from H/2 (near limit) to infinity. Focusing at H/2 instead of H loses the infinity zone.

Practical Examples

Example 1 – Wide-angle landscape: Full-frame, 24 mm, f/8. H = (576 / (8 × 0.029)) + 24 = 2,503 mm ≈ 2.5 m. Focus at 2.5 m → sharp from 1.25 m to infinity. Ideal for sunsets with foreground interest.

Example 2 – Standard lens, street photography: APS-C (Nikon), 35 mm, f/11. c = 0.020 mm. H = (1,225 / (11 × 0.020)) + 35 = 5,602 mm ≈ 5.6 m. Focus at 5.6 m → sharp from 2.8 m. Perfect for street photography without refocusing.

Example 3 – Architecture with tilt-shift lens: Full-frame, 17 mm, f/16. H = (289 / (16 × 0.029)) + 17 = 639 mm ≈ 0.64 m. Focus at 64 cm → sharp from 32 cm to infinity. Enables extreme close-ups of floor details with a sharp building background.

Calculating Hyperfocal Distance: Maximum Depth of Field

Formula: H = (f² / (N × c)) + f. f = focal length; N = f-number; c = circle of confusion (full-frame: 0.029 mm). 24 mm lens, f/8: H = (576 / (8 × 0.029)) + 24 ≈ 2,507 mm = 2.5 m. Focus at H/2 = 1.25 m → sharp from 1.25 m to infinity!

Frequently Asked Questions (FAQ)

What is the circle of confusion and how large should it be?
The circle of confusion (CoC) is the maximum diameter at which a point in the image is still perceived as sharp. A common rule of thumb is c = sensor diagonal / 1,500. For full-frame: 43.3 mm / 1,500 = 0.029 mm. For larger output formats (posters), a smaller CoC should be used.

Why shouldn't I focus at infinity?
When focused at infinity, the entire near depth-of-field zone is "wasted" behind the infinity point. Focusing at the hyperfocal distance shifts the depth of field optimally, maximising the near range without losing the far range.

Does the hyperfocal distance change with a crop factor?
Yes. APS-C cameras have a crop factor of 1.5–1.6 and a smaller circle of confusion (approx. 0.019–0.020 mm). At the same focal length and aperture this gives a longer hyperfocal distance than full-frame — but proportionally also more depth of field due to the smaller sensor.