Skip to content
Calc.

Hyperfocal Distance Calculator

Find the hyperfocal distance for your lens, aperture and sensor format: focus there and everything from half that distance to infinity is acceptably sharp, the standard landscape technique.

Last updated: May 2026

Hyperfocal distance

1.77 m

Formula below · 2 sources (largeformatphotography.info, cambridgeincolour.com)

Compare with similar

About this calculator

The hyperfocal distance H is the focus distance at which the far limit of depth of field just reaches infinity:

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

with focal length f and circle of confusion c in millimetres and N the f-number. Focused at H, everything from H ÷ 2 to infinity is acceptably sharp, which is the largest possible zone of sharpness for that lens and aperture.

The circle of confusion is set by the sensor format: about 0.030 mm for full frame, 0.020 mm for APS-C and 0.015 mm for Micro Four Thirds. Smaller formats use shorter lenses for the same view, so their hyperfocal distances end up shorter.

Practical notes: focus slightly beyond H rather than in front of it, because missing short leaves infinity soft. If you will make large prints or inspect at 100%, calculate with a smaller circle of confusion (for example half the default), which roughly doubles H.

How to use

Enter the lens's real focal length, the aperture and your sensor format. Example (the defaults): 24 mm at f/11 on full frame. H = 24² ÷ (11 × 0.03) + 24 = 576 ÷ 0.33 + 24 = 1,769.5 mm, so 1.77 m (5.8 ft). Focus at 1.77 m and everything from 0.89 m to infinity is sharp. Example 2: 16 mm at f/8 on APS-C (c = 0.020 mm): H = 256 ÷ 0.16 + 16 = 1.62 m, sharp from 0.81 m. Example 3: 50 mm at f/8 on full frame: H = 10.47 m, so a 50 mm lens is a poor choice for near-to-far landscapes.

Frequently asked questions

How do I focus at the hyperfocal distance in the field?

Focus on something at about the hyperfocal distance (a rock or tree you can pace out), or set the distance on the lens scale if it has one. On cameras without a distance scale, magnified live view on a point at the right distance works. Err on the far side.

Should I just use f/22 for maximum sharpness?

Usually not. Diffraction softens the whole frame past about f/11 on full frame and f/8 on APS-C. Hyperfocal focusing at f/8–f/11 normally gives a sharper overall result than f/22; if the foreground is closer than H ÷ 2, consider focus stacking instead.

Is the hyperfocal distance different for a crop camera?

For the same lens and aperture a crop camera has a longer hyperfocal distance (its smaller circle of confusion is stricter). For the same framing it is shorter, because you use a shorter focal length. Always enter the actual focal length written on the lens.

Related calculators

Sources & references

How we check our calculators

Think a result is wrong? Report a problem with this calculator.