Skip to content

What Is Hyperfocal Distance? How to Find and Use It

Granite rocks fill the bottom of the frame and lead to a narrow channel of white water, with the open sea and a distant shoreline under clouds on the horizon
Photo: Rocky Coastline And The Sea by Duncan Rawlinson. 17mm, f/14, 1/100, ISO 100. At 17mm and f/14 the hyperfocal distance is about a meter or less, so focusing there keeps the granite at the bottom of the frame and the far horizon acceptably sharp together.

Hyperfocal distance is the focus distance that gives you the most depth of field a lens and aperture can deliver: focus there, and everything from half that distance to the horizon looks acceptably sharp. It matters whenever you want something close, such as a rock at your feet, and something far, such as a mountain, sharp in the same photograph, because focusing on the horizon throws away half of the near sharpness you could have had.

A real example: a 24mm lens at f/11 on a full-frame camera has a hyperfocal distance of about 1.8 meters. Focus 1.8 meters away and the sharp zone runs from about 0.9 meters to infinity. Focus on the distant hills instead and it starts at 1.8 meters, so the rock 1.2 meters away goes soft.

This page builds the idea from the ground up: what “acceptably sharp” means, how to work out the distance, what it costs at the horizon, and how to use it in the field with or without numbers.

The idea in one picture: a sharp zone that ends at infinity

A lens focuses perfectly at only one distance. Things in front of and behind that distance blur a little, then more. The depth of field is the stretch where that blur stays too small to notice. As you focus farther away, the far edge of that stretch runs out faster than the near edge, and at one particular focus distance the far edge reaches infinity. That focus distance is the hyperfocal distance, usually written H.

Picture a line running out from the camera:

  • Focused at infinity: sharp from H to the horizon. Everything closer than H is soft.
  • Focused at H: sharp from H/2 to the horizon. The near limit has moved in to half the distance, and the horizon is still acceptable.
  • Focused closer than H: the near limit moves in a little more, but the far limit pulls back from infinity, so the horizon goes soft.

So H is the point of balance. Any closer and you lose the horizon; any farther and you give away foreground. That is the whole technique. Everything else on this page is about finding H and deciding when to break the rule on purpose.

Two definitions float around and they differ by one focal length, a few centimeters. One says H is the closest focus distance that keeps infinity acceptably sharp. The other says H is the nearest sharp point when the lens is focused at infinity. In practice they are the same number, and this page uses the first.

What “acceptably sharp” means, and why it changes the number

Hyperfocal distance is not a fixed property of a lens. It depends on how much blur you are willing to call sharp, a size called the circle of confusion, written c. A point slightly out of focus records as a tiny disc; if the disc is smaller than c, the viewer reads it as a point.

The usual value for a full-frame sensor is 0.03 mm, and about 0.02 mm for APS-C. Those values come from what a person with normal eyesight can see in a print about 8 by 10 inches held at reading distance. They are a convention, not a law of optics, and they matter in two ways:

  • A bigger print or a closer look needs a smaller c. A 0.03 mm disc is about five pixels wide on a 24 megapixel full-frame sensor and about seven pixels on a 45 megapixel one. At 100 percent on screen, that is visible softness. Halve c and H doubles.
  • Every calculator and app has a c built in. Two apps that disagree are almost always using different values of c, not different math.

So treat any hyperfocal number as “sharp enough for a normal print”. If you crop hard, print big, or inspect at 100 percent, plan for a stricter standard, as described below under the horizon trade-off.

How to calculate hyperfocal distance

Three things set H: the focal length, the aperture (the f-number), and the circle of confusion. The formula is:

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

Here f is the focal length in millimeters, N is the f-number, and c is the circle of confusion in millimeters, so H comes out in millimeters. The final + f is small next to the first term and quick calculations often drop it.

Worked example, 24mm at f/11, c = 0.03 mm: 24 × 24 = 576. Then 11 × 0.03 = 0.33. 576 ÷ 0.33 = 1,745 mm. Add 24 mm and H = 1,769 mm, about 1.8 meters (5.8 feet). Half of that, about 0.9 meters, is the near edge of the sharp zone.

The formula tells you how each setting behaves, which is worth more than any single number:

  • Focal length is squared. Double the focal length and H roughly quadruples. Going from 24mm to 50mm at f/11 moves H from 1.8 to 7.6 meters.
  • Aperture divides. H is inversely proportional to the f-number, so each full stop smaller (f/8 to f/11 to f/16) shortens H by about 30 percent, because the f-number grows by a factor of about 1.4.
  • A stricter c pushes H out in direct proportion.

Want the number without the arithmetic? The hyperfocal distance calculator works it out for your focal length, aperture and sensor, and the depth of field calculator gives the near and far limits for any focus distance.

Hyperfocal distances on full frame (c = 0.03 mm)

Each cell gives H, then in brackets the near limit of sharpness when you focus at H. Everything from the near limit to infinity is acceptably sharp. One meter is about 3.3 feet.

Focal lengthf/8f/11f/16
16mm1.1 m (0.54 m)0.79 m (0.40 m)0.55 m (0.27 m)
24mm2.4 m (1.2 m)1.8 m (0.88 m)1.2 m (0.61 m)
35mm5.1 m (2.6 m)3.7 m (1.9 m)2.6 m (1.3 m)
50mm10.5 m (5.2 m)7.6 m (3.8 m)5.3 m (2.6 m)

Read down a column and you see why hyperfocal focusing is a wide-angle technique. At 16mm and f/11, focusing under a meter away gives you everything from 40 centimeters to the horizon. At 50mm and f/11 the sharp zone cannot start closer than nearly 4 meters if the horizon is to stay sharp too.

Weathered pink and grey granite rocks in the foreground drop to blue sea breaking white against the shore, with a forested headland and a distant coastline beyond
Photo: Wineglass Bay Tasmania Australia 023 by Duncan Rawlinson. 17mm, f/8, 1/125, ISO 100. Shot at 17mm and f/8, where the hyperfocal distance is only about 1.2 to 1.8 meters depending on sensor size, so a modest aperture keeps the foreground granite and the far headland sharp without stopping down further.

Pick the two or three combinations you use most and memorize them. Many landscape photographers carry just one: their wide lens at f/8 or f/11. That is faster in the field than any app.

Crop sensors: same lens, different answer

Sensor size enters through the circle of confusion. A smaller sensor has to be enlarged more to make the same print, so it needs a smaller c, about 0.02 mm for APS-C. That gives a trap and a surprise.

  • The trap: the same 24mm lens at f/11 has H of about 2.6 meters on APS-C, against 1.8 meters on full frame. It looks as if the smaller sensor gives less depth.
  • The surprise: the comparison is unfair, because a 24mm lens on APS-C frames like a 36mm lens on full frame. For the same framing you would use about 16mm on APS-C. At 16mm, f/11 and c = 0.02 mm, H is about 1.2 meters, shorter than full frame’s 1.8 meters. Same picture, same f-number, more depth on the smaller sensor.

Not sure which sensor you have or what the multiplier is? Crop factor explains how sensor size changes framing, and full frame vs crop sensor compares the two in depth of field, noise and lens choice.

This is also why phones keep so much of a scene sharp: their tiny sensors use very short focal lengths, so the hyperfocal distance of a phone’s main camera is only a few meters even at its wide, fixed aperture.

The cost at the horizon, and when to focus beyond H

Here is the part most explanations skip. At the hyperfocal distance, infinity is not sharp. It is acceptably sharp, which means the blur at the horizon is exactly c, the largest blur you agreed to accept. The near limit sits at the same edge. Only the focus point itself is truly crisp. Hyperfocal focusing spreads one budget of blur across the whole scene, and the horizon gets the worst of it.

The blur at the horizon is roughly c × H / s, where s is your focus distance. So you can trade near sharpness for a crisper horizon, and the trade is predictable. For 24mm at f/11 on full frame (H = 1.8 m):

Focus atSharp fromSharp toBlur at the horizon
Infinity1.8 m (H)infinitynone
3.5 m (2 × H)1.2 m (two thirds of H)infinityhalf of c
1.8 m (H)0.88 m (H/2)infinityexactly c
0.88 m (H/2)0.59 m (H/3)1.8 m (H)twice c, visibly soft

Two practical rules come out of this table:

  • When the distance matters most, focus at about twice H. Mountains, a skyline or a sea horizon carrying the picture deserve better than borderline. Focusing at 2H halves the horizon blur and only moves the near limit from H/2 to two thirds of H.
  • When in doubt, err long, never short. Focusing a little beyond H costs a few centimeters of foreground. Focusing a little short of H softens everything from the far limit to the horizon, and distances are easy to misjudge, so build your margin on the far side.

The last row shows a pattern worth knowing. Focus at H/2 and you get H/3 to H; focus at H/3 and you get H/4 to H/2. These zones meet end to end with no gap, so frames focused at H, H/2 and H/3 together cover everything from H/4 to the horizon. That is a ready-made plan for a foreground too close for one frame, as described under focus stacking below.

The depth of field calculator below does the arithmetic for your own lens, aperture and sensor, including the hyperfocal distance, so you can check the numbers in this section before you go out.

Using hyperfocal distance in the field

With a number

  1. Set the aperture first. f/8 to f/11 is the usual landscape range on full frame. Check the table or a calculator for H.
  2. Find something at that distance. Pace it out, or judge it against your own height. A rock, a tuft of grass or a fence post 2 meters away is easy to estimate.
  3. Focus on it with autofocus or manual focus, then lock focus: switch the lens to manual, or use back-button focus, so the camera does not refocus when you recompose.
  4. Recompose and check. Use live view magnification on the nearest important object and on the horizon. If either is soft, see the fixes below.

Some cameras show the focus distance in the viewfinder or on screen, and some lenses have a distance scale and depth of field marks on the barrel. Both help, but treat a lens scale as approximate. Many modern lenses focus electronically, the scale is coarse near infinity, and the depth of field marks were often engraved for a looser standard than today’s sensors show.

Without any numbers

There is a visual method that needs no arithmetic and sets the sharpness standard by your own eye. Set your aperture. Focus on the horizon. Magnify the horizon in live view. Now turn the focus ring slowly toward closer distances, watching the horizon. The moment it starts to soften, turn back a hair. You are now focused as close as you can be while keeping the distance sharp to your own standard, which is the hyperfocal distance for that standard. Focus peaking makes this easier to see.

Try it in the camera simulator: get the nearest rocks and the far horizon both sharp without going past f/16. Focusing on the horizon will not do it.

When one focus point cannot do it

If the nearest thing you care about is closer than H/2, no single focus distance will cover the scene at that aperture. You have four honest options: step back, widen the lens, stop down a little (watching for diffraction), or take several frames focused at different distances and blend them, which is focus stacking. Stacking is common in landscape work with a flower or rock only 30 centimeters from the lens.

Building a picture around something close to the lens? Foreground interest covers how to choose and place it so the near-to-far depth actually reads in the frame.

Long lenses: when hyperfocal stops being useful

Sand dunes lit orange at sunrise with low fog lying across them and a mountain range rising behind, all compressed into flat layers
Photo: Great Sand Dunes Sunrise by Duncan Rawlinson. 360mm, f/8, 1/250, ISO 400. At 360mm and f/8 the hyperfocal distance is several hundred meters, but every layer here, from the scrub in front to the mountains, is likely well beyond it, so simply focusing on the dunes keeps the whole scene sharp.

Because focal length is squared, a telephoto lens has an enormous hyperfocal distance. At 360mm and f/8 on full frame it is about 540 meters. You will rarely have both a foreground and a horizon in a long-lens frame, and when every subject is already far away, as in a layered view of distant hills, you simply focus on the subject that matters and the rest falls inside the depth of field. Hyperfocal focusing belongs to wide-angle lenses and scenes with real near-to-far depth. With a telephoto, think about depth of field around the subject instead.

Hyperfocal focusing and zone focusing

Zone focusing means pre-setting the focus so a chosen band of distances is sharp, then shooting without waiting for autofocus. Hyperfocal focusing is one particular zone: the one whose far edge is infinity. Street photographers often prefer a closer zone. With a 28mm lens at f/8, H is about 3.3 meters; focusing at about 2.5 meters instead gives roughly 1.4 to 10 meters, a band that matches where people actually walk, and keeps the near edge closer than H/2 would allow. Pick the hyperfocal setting when the horizon belongs in the picture, a closer zone when it does not.

Shooting people on the move rather than landscapes? Street photography shows how a pre-set zone lets you shoot the moment without looking at the screen.

Check your eye: one of these two photos is sharp from the near foreground to the horizon. Pick it, then read why.

Which photo is sharp from the foreground to the horizon?
Photo: Sunset at Ladyfinger Peninsula by Duncan Rawlinson Photo: Delicate Grass with Blurred Mountain by Duncan Rawlinson

Common mistakes and misconceptions

Focusing on the horizon “to be safe”. The horizon will be perfectly sharp, but the sharp zone now starts at H instead of H/2, so you have given away half the near depth. With 24mm at f/11 that is the difference between sharp from 0.9 meters and sharp from 1.8 meters. Fix: focus at H, or at 2H if the horizon carries the picture.

Believing everything from H/2 to infinity is equally sharp. Only the focus point is truly crisp. Both ends are at the limit of acceptable. Fix: put the most important near object a little inside the zone, not right at its edge, and focus beyond H when the distance matters.

Treating hyperfocal distance as a property of the lens. It changes with every change of focal length, aperture or sharpness standard. Fix: rework it after zooming or changing aperture. A zoom set to 35mm instead of 24mm more than doubles H.

Assuming “focus one third into the scene” is the same thing. The rule ignores focal length and aperture, and it is right only by coincidence. In a scene that runs to infinity, “one third of the way in” has no meaning at all. Fix: use the table, a calculator or the visual method.

Stopping down to f/22 for maximum depth. At f/22 the diffraction blur spot is itself about 0.03 mm across, as large as the entire full-frame blur budget, so the whole frame softens even where focus is perfect. At f/11 it is about half that. Fix: stay near f/8 to f/11, at or just past the sweet spot of most full-frame lenses, and let the focus distance do the work.

Trusting the number at 100 percent on a high-resolution sensor. A c of 0.03 mm spans several pixels, so a correctly calculated photo can look soft when magnified. Fix: use a smaller c in your calculator for demanding output, or focus at 2H.

Blaming focus for every soft landscape. Correct focus does nothing about wind in the grass, a shaky tripod or a long shutter speed. Fix: check whether the softness is the same everywhere (shake) or grows with distance from the focus point (focus). Camera shake and using a tripod cover the first case.

Want to see the trade-off before you go out? The camera simulator shows the hyperfocal distance for your settings on its Landscape scene, with a challenge to get a near boulder and the far canyon sharp together.

Try this: three frames, one scene

Find a scene with something about 1 meter from the camera, such as a fence post, a rock or a bench, and something far away, such as a skyline or a tree line. Put the camera on a tripod or a steady surface. Set a wide focal length, around 24mm on full frame or 16mm on APS-C, and f/11. From the table, H is about 1.8 meters on full frame (about 1.2 meters for 16mm on APS-C). Then take three frames without moving the camera:

  1. Focus on the horizon.
  2. Focus on something at H.
  3. Focus on something at twice H.

Open all three at 100 percent and compare the near object and the horizon in each. How to judge it: frame 1 should have a perfect horizon and a soft near object; frame 2 should have both acceptable but neither crisp; frame 3 should have a crisper horizon than frame 2 and a near object that is a little softer, or still acceptable if it is beyond two thirds of H. If frame 2’s near object is soft, it is closer than H/2: measure it. On a phone you cannot set the aperture, but tapping to focus on the near object and then on the horizon shows the same trade-off. The whole exercise takes about 10 minutes and tells you which focus distance you trust on your own lens.

Hyperfocal distance questions

Is hyperfocal distance the same as focal length?

No. Hyperfocal distance is a distance from the camera to a point in the scene, in meters or feet. Focal length is a property of the lens, in millimeters, and it is one of the three things that set the hyperfocal distance, along with the aperture and the circle of confusion.

Why does the sharp zone start at half the hyperfocal distance?

For a lens focused at distance s, the near limit of depth of field is about H × s / (H + s). Put s equal to H and this becomes H × H / 2H, which is H / 2. At that same focus distance the far limit reaches infinity, so no other focus distance gives a deeper sharp zone.

Should I use f/16 or f/22 to get more depth?

Usually not. f/16 shortens H by about 30 percent compared with f/11 but adds diffraction softening that shows at 100 percent on most modern sensors, and at f/22 diffraction alone uses up the whole sharpness budget. If f/11 at H cannot reach your foreground, stepping back or focus stacking will usually give a sharper result.

Does hyperfocal focusing work for night skies?

Only partly. Stars are at infinity and are tiny points, so the slight blur that is acceptable for a mountain shows clearly on them. For stars, focus at infinity checked with live view magnification, and shoot the foreground as a separate frame if it is close.

Do I need to measure the distance exactly?

No. Being a little long is safe: you lose a few centimeters of foreground and gain a sharper horizon. Being short is the error to avoid, because it softens the distance. Judging 2 meters by eye and checking with magnification is accurate enough.

Why does my app give a different hyperfocal distance from this table?

It is almost always using a different circle of confusion. Some apps set c from the camera model, some from print size, some from pixel size. A smaller c gives a longer distance. Neither number is wrong; they assume different standards of sharpness.

Ready to check yourself? The hyperfocal distance and depth of field quiz tests the near limit, the horizon trade-off and the effect of each setting.