hyperfocal distance calculator

Hyperfocal Distance Calculator

Use this tool to quickly find the ideal focus distance for maximum depth of field in landscape photography, travel, and street scenes.

Smaller CoC values assume stricter sharpness standards.
Optional: if provided, near/far depth-of-field limits are calculated.

What is hyperfocal distance?

Hyperfocal distance is the closest distance you can focus your lens while still keeping objects at infinity acceptably sharp. In practical photography terms, focusing at the hyperfocal distance gives you the widest depth of field for a given focal length and aperture. This is why it is so useful for landscape photography, cityscapes, architecture, and travel images where you want sharp foreground and background detail.

How to use this calculator

  • Select your camera sensor format preset (or enter a custom circle of confusion).
  • Enter focal length in millimeters.
  • Enter aperture as an f-number (for example: f/5.6, f/8, f/11).
  • Click Calculate to get the hyperfocal distance in meters and feet.
  • Optionally enter your current focus distance to estimate near and far depth-of-field limits.

The formula behind the tool

H = f² / (N × c) + f

Where:

  • H = hyperfocal distance
  • f = focal length (mm)
  • N = aperture (f-number)
  • c = circle of confusion (mm)

The calculator performs all math in millimeters and then converts results to meters and feet for convenience.

Why circle of confusion matters

The circle of confusion (CoC) defines what we consider “acceptably sharp” in the final image. A smaller CoC assumes stricter viewing conditions (large prints, close inspection), which increases hyperfocal distance. A larger CoC is more forgiving and decreases hyperfocal distance.

Typical CoC values

  • Full frame: around 0.030 mm
  • APS-C: around 0.019–0.020 mm
  • Micro Four Thirds: around 0.015 mm
  • 1-inch sensor: around 0.011 mm

Practical example

Suppose you shoot with a full-frame camera at 24mm and f/8. The hyperfocal distance is about 2.42 m. If you focus at roughly 2.42 m, the depth of field will extend from around half that distance (about 1.21 m) to infinity. This is a classic setup for wide-angle landscape photography.

Tips for real-world shooting

1) Use live view magnification

Even with a calculated value, lens markings and autofocus tolerances can vary. Zoom into live view and confirm edge sharpness.

2) Balance aperture and diffraction

Stopping down increases depth of field, but very small apertures (like f/16 or f/22 on many systems) can soften detail due to diffraction. Often f/8 to f/11 is a strong compromise.

3) Mind your foreground distance

Hyperfocal focusing is most useful when your nearest important subject is near the half-hyperfocal region. If your foreground is extremely close, focus stacking may deliver better results.

Common mistakes to avoid

  • Using the wrong sensor format or CoC assumption.
  • Assuming infinity focus always gives maximum usable depth of field.
  • Ignoring diffraction at very small apertures.
  • Trusting old lens distance scales without verification.
  • Forgetting that “acceptably sharp” is a viewing standard, not perfect sharpness.

Hyperfocal vs. focusing at infinity

If you focus directly at infinity, you may waste potential depth of field in front of the scene. Focusing at the hyperfocal distance shifts the depth-of-field range forward, often making foreground elements significantly sharper while still keeping distant objects clear.

Final takeaway

A hyperfocal distance calculator is one of the fastest ways to make better technical decisions in landscape and travel photography. Pair it with thoughtful composition, stable technique, and realistic sharpness expectations, and your images will look consistently stronger from front to back.

🔗 Related Calculators