Hyperfocal Distance Calculator

Find the hyperfocal distance for maximum depth of field at any aperture

Calculates hyperfocal distance from focal length, aperture, and circle of confusion so photographers can set focus for maximum front-to-back sharpness. Shows the near focus limit in metres and feet for landscape and street work. It runs free in your browser on Gera Tools, with nothing uploaded.

Last updated Source: Gera Tools

What is hyperfocal distance?

It is the closest focus distance at which objects all the way to infinity remain acceptably sharp. Focusing there gives the greatest possible depth of field for a given focal length and aperture.

Hyperfocal focusing is the landscape photographer’s secret to front-to-back sharpness. By focusing at one precise distance, you capture everything from roughly half that distance all the way to the horizon in acceptable focus. This calculator finds that distance for your exact lens, aperture, and sensor.

How it works

The hyperfocal distance depends on three things: focal length, aperture, and the circle of confusion (the largest blur spot that still reads as sharp). The formula is:

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

where f is the focal length in millimetres, N is the f-number, and c is the circle of confusion in millimetres. The result H comes out in millimetres, so divide by 1000 for metres.

The circle of confusion scales with sensor size — a full-frame camera uses about 0.030 mm, APS-C around 0.018–0.020 mm, and Micro Four Thirds about 0.015 mm — because smaller sensors are enlarged more to reach the same print size.

Worked example

A 24 mm lens at f/8 on full frame (c = 0.030 mm):

H = 24² ÷ (8 × 0.030) + 24 = 576 ÷ 0.24 + 24 = 2400 + 24 = 2424 mm ≈ 2.4 m

Focus at 2.4 m and everything from 2.4 ÷ 2 = 1.2 m to infinity is sharp.

Tips

Wider focal lengths and smaller apertures both shorten the hyperfocal distance, making it easier to keep the whole scene sharp. But avoid going past f/11–f/16, where diffraction softens the entire frame. For critical landscape work, many photographers focus slightly beyond the hyperfocal point to guarantee infinity is crisp at the cost of a little foreground sharpness.

Circle of confusion: the variable you control

The circle of confusion (CoC) is the key threshold that defines “acceptable sharpness” for your output. It scales with how much you enlarge the image from the sensor to the final print or display, so there is no single correct value for any sensor. Common starting points:

FormatTypical CoC (mm)Notes
Full-frame (36×24 mm)0.030Standard for normal print viewing
APS-C (Canon, ~22×15 mm)0.019
APS-C (Nikon/Sony, ~24×16 mm)0.020
Micro Four Thirds (17×13 mm)0.015
Medium format (44×33 mm)0.035–0.040

For large prints viewed close up, or images displayed at 100% on a high-resolution monitor, use a smaller CoC than the default — for example 0.020 instead of 0.030 on full-frame. This will give a longer computed hyperfocal distance, requiring you to focus further away to achieve the same front-to-back sharpness standard.

Hyperfocal distance in practice

For a 24 mm lens at f/8 on full frame, the hyperfocal distance is about 2.4 m. For a 50 mm lens at f/8 on the same body, it is over 10 m. This is why wide-angle lenses make landscape photography forgiving: the hyperfocal distance is short enough that focusing even at a few metres achieves front-to-back sharpness, while a 50 mm or longer lens requires careful focus placement or a narrower aperture to achieve the same result.

A common field technique: use a depth-of-field scale on a manual lens to set the far limit of acceptable focus to infinity, which automatically places the focus point at the hyperfocal distance. On autofocus lenses without a scale, use this calculator to determine the focus distance and set it manually before shooting.