4 min read

Hyperfocal Distance Explained: Sharp Landscapes Every Time

Hyperfocal distance is the focus distance that makes everything from half that distance to infinity acceptably sharp. Focus there and you get the most depth of field the lens and aperture can give. It is the standard way to keep a landscape sharp from foreground to horizon with a single frame.

An example

Hyperfocal Distance Visualization

∞
0m Camera
0.9m Near Limit
1.8m Focus Here!
∞ Infinity
Blurry ━━━━ Sharp Zone ━━━━

Take a 24 mm lens at f/11 on full frame. The hyperfocal distance is about 1.8 m. Focus there and everything from 0.9 m to infinity is acceptably sharp. Focus at infinity instead, which is what happens if you autofocus on a mountain, and the near limit moves out to 1.8 m, so anything closer than that is soft. Hyperfocal focusing pulls your focus point a little closer so the near limit comes in while infinity stays inside the sharp zone.

How to use it

Work out the hyperfocal distance for your focal length and aperture, from the table below or the calculator. Use f/8 to f/11 for most scenes, since smaller apertures start to cost sharpness through diffraction. Switch to manual focus and set the distance, using the scale on the lens if it has one, or by focusing on something you estimate is at the right distance and then locking focus. Magnify live view to check the foreground and the horizon, then compose without touching focus again.

Hyperfocal distances on full frame

Focal lengthf/8f/11f/16
16 mm1.1 m0.8 m0.6 m
24 mm2.5 m1.8 m1.3 m
35 mm5.3 m3.9 m2.7 m
50 mm10.9 m7.9 m5.5 m

The nearest sharp distance is half the figure shown. These use the standard circle of confusion for full frame, about 0.029 mm.

"Acceptably sharp" is a convention

At the hyperfocal distance, objects at infinity sit exactly on the edge of what counts as acceptable. If you want infinity crisper, focus a little beyond it. For the 24 mm f/11 example, focusing at 2.5 m instead of 1.8 m cuts the blur at infinity to about 73 percent of the acceptable limit, at the cost of moving the near limit from 0.9 m to about 1.06 m. For large prints and high-resolution sensors, the standard value is optimistic. If you demand no more than two pixels of blur at 100 percent on a 45 MP sensor, the 2.5 m hyperfocal distance for a 24 mm lens at f/8 becomes 8.2 m. The circle of confusion post explains why.

Sensor size

Be careful with this one, because it is often stated backwards. With the same lens and the same f-number, a smaller sensor has a longer hyperfocal distance, because its definition of sharp is stricter. A 24 mm lens at f/11 has a hyperfocal distance of 1.8 m on full frame and about 2.8 m on APS-C. But if you compare lenses that frame alike, a 16 mm on APS-C against a 24 mm on full frame, the smaller sensor's distance is shorter, about 1.25 m against 1.8 m. In practice you pick the lens for the framing, so smaller sensors do get the benefit. Calculate for your own camera either way.

When it works and when it doesn't

It suits landscapes with foreground interest, cityscapes, interiors and quick street work. It is no use for portraits, where you want shallow focus, and it breaks down for close foregrounds. Nothing nearer than half the hyperfocal distance will be sharp, so a rock 40 cm from a 24 mm lens at f/11 needs a second frame, as the focus stacking post explains. And with telephoto lenses the distances become huge: a 200 mm lens at f/11 has a hyperfocal distance of about 126 m, so the sharp zone starts 63 m away.

Common mistakes

Autofocusing on the background is the main one, since it puts focus at infinity and loses the foreground. Stopping down to f/22 for extra depth costs sharpness everywhere, and f/8 to f/11 usually gives a better result. And forgetting that the figures depend on the camera. For street work, a zone-focus distance of 2 to 4 m often serves better than the strict hyperfocal point, as the zone focusing post shows.

The formula

H = f² / (N x c) + f, where f is the focal length, N is the f-number and c is the circle of confusion, all in millimetres. Halve c and H doubles, which is why stricter standards push the near limit out so quickly.

Related reading: What is Depth of Field?, Aperture vs Distance: What Affects DOF More?, Best Aperture for Landscape Photography.