Home/Calculator Tools/Hyperfocal Distance Calculator
🎯

Hyperfocal Distance Calculator

FREE

Where to focus for sharpness from half that distance to infinity

Free · No sign-up required
Loading...

What the hyperfocal distance calculator does

Focus a lens at the hyperfocal distance and everything from half that distance to infinity is acceptably sharp — the maximum depth of field the lens and aperture can give. Landscape, street and architectural photographers use it to set focus once and shoot without refocusing. Enter the focal length, aperture and circle of confusion (or sensor format) and the calculator returns the hyperfocal distance and the near limit of sharpness. Runs in your browser.

The formula

H = f² / (N × c) + f f = focal length (mm), N = f-number, c = circle of confusion (mm) Near limit when focused at H = H / 2 35 mm at f/11 on full frame (c = 0.03): H = 1225 / (11 × 0.03) + 35 = 3,747 mm ≈ 3.7 m → focus at 3.7 m: sharp from 1.9 m to infinity

Hyperfocal distances at a glance (full frame, c = 0.03 mm)

Focal lengthf/5.6f/8f/11f/16
16 mm1.5 m1.1 m0.8 m0.6 m
24 mm3.4 m2.4 m1.8 m1.2 m
35 mm7.3 m5.1 m3.7 m2.6 m
50 mm14.9 m10.5 m7.6 m5.3 m
85 mm43 m30 m22 m15 m

Divide by about 1.5 for APS-C (c = 0.02) or by 2 for Micro Four Thirds (c = 0.015) when using the same actual focal length — the stricter circle of confusion pushes the distance out, but the shorter equivalent lenses used on those formats bring it back in.

Using it in the field

  • Set the aperture first — f/8 to f/11 is the usual landscape choice, balancing depth against diffraction.
  • Focus at H using the lens distance scale, live view magnification on an object at about that distance, or by estimating (pace it out — 3.7 m is about four long strides).
  • Err on the far side. Focusing slightly beyond H costs a little near sharpness; focusing short of it costs infinity, which is usually worse. Many photographers focus at 1.5× H for safety.
  • Switch to manual focus once set, so the camera does not refocus on the next shutter press.
  • Check the foreground: if a key element is closer than H/2, either stop down, use a shorter lens, or focus stack.

Circle of confusion values

Formatc (mm)Basis
Full frame0.030Zeiss formula d/1440 on a 43 mm diagonal
APS-C0.020
Micro Four Thirds0.015
1-inch0.011
Medium format 44 × 330.037
Stricter (large prints, high-res sensors)Half the aboveDoubles H — more conservative

The standard values assume an 8 × 10 in print viewed at normal distance. For large prints or 100% viewing on a 45-megapixel sensor, use a smaller c (the calculator lets you type one) — the hyperfocal distance doubles and the near limit moves out accordingly.

When not to use the hyperfocal distance

  • When the main subject is at a specific distance and the background does not matter — focus on the subject.
  • When the closest important element is much nearer than H/2 — focus stacking or a tilt-shift lens gives better results than stopping down to f/22.
  • When infinity itself must be critically sharp (stars, distant mountains at 100%) — focus at infinity instead and accept a nearer near limit.
  • With very long lenses, where H is hundreds of metres and the concept stops being useful.

Frequently asked questions

Why does the hyperfocal distance get shorter at smaller apertures?

Depth of field grows as the aperture closes, so the point at which the far limit reaches infinity moves closer. At f/16 a 24 mm lens is hyperfocal at 1.2 m.

Is everything really sharp from H/2 to infinity?

Acceptably sharp by the circle-of-confusion standard — good on a print or a screen at normal size. Infinity will be slightly softer than the focus point; if the horizon matters most, focus a bit beyond H.

How do I set 3.7 m on a lens with no distance scale?

Use live view: magnify on something at roughly that distance and focus manually, or autofocus on it and switch to manual. A rangefinder app or a laser measure helps for precision.

Does image stabilisation or sensor resolution change H?

Stabilisation, no. Resolution only matters through the circle of confusion you choose — pick a smaller c for critical work.

How is this different from the Depth of Field Calculator?

That calculator takes a focus distance and reports near and far limits. This one solves for the special focus distance that puts the far limit at infinity.

Are my values stored?

No. The calculation runs in your browser.

More tools in this category

🖼
Aspect Ratio Calculator
Calculate and convert image aspect ratios
🔭
Focal Length Calculator
Full-frame equivalent focal length for any crop factor
📸
Depth of Field Calculator
Near and far limits of sharpness from lens, aperture and distance
Exposure Calculator
Exposure value from aperture, shutter and ISO, with equivalents
🏠
Mortgage Calculator
Calculate monthly mortgage payments and amortization
🏦
Loan Calculator
Calculate monthly loan payments and total interest