What the hyperfocal distance actually is
A lens focuses sharply at exactly one distance. Everything else is blurred, and depth of field is simply the zone in which that blur is small enough that a viewer reads it as sharp. The hyperfocal distance is the focus setting at which the far edge of that zone lands precisely at infinity — the closest you can focus while still holding the horizon.
The consequence is the useful part. Focus there and the near edge of the sharp zone sits at exactly half the hyperfocal distance. Focus any closer and you lose infinity; focus any further and you throw away foreground you could have had. It is, by construction, the deepest depth of field available at that focal length and aperture. That is why it is the default technique for landscape, architecture, real estate interiors and street photography with a pre-set lens.
The exact half relationship is not an approximation. Take the standard near-limit expression for a subject at distance s, which is s(H − f) ÷ (H + s − 2f), and substitute s = H: the numerator becomes H(H − f) and the denominator 2(H − f), leaving H ÷ 2 exactly. That is worth knowing because it makes field use trivial — you only ever have to halve one number.
The word doing the heavy lifting is acceptably. Sharpness here is a judgement about viewing, not a property of the optics, and it is encoded in a single number called the circle of confusion.
The formula, and the number everyone argues about
H = f² ÷ (N · c) + f. Each term behaves the way intuition suggests once you see it. Focal length enters squared, so doubling it quadruples the hyperfocal distance — a 50 mm lens needs four times the focusing distance of a 25 mm to hold infinity at the same aperture. The f-number enters in the denominator, so stopping down two stops from f/4 to f/8 halves the f²/(N·c) term, and with it the near limit. The trailing + f is a correction of a few tens of millimetres that only matters in macro work, but there is no reason to drop it — it is also why the halving is not quite exact. A 24 mm lens at c = 0.03 mm gives 576 ÷ (4 × 0.03) + 24 = 4,824 mm at f/4 and 576 ÷ (8 × 0.03) + 24 = 2,424 mm at f/8: the 4,800 mm term halves to 2,400 mm, while the 24 mm is added to both, so the total falls by slightly less than half.
The circle of confusion is the contested term. It is the diameter of the largest blur spot on the sensor that a viewer will still perceive as a point. It is not a property of the lens or the sensor; it is a property of how the picture will be looked at — print size, viewing distance and the observer's eyesight. Because a print is an enlargement of the sensor, a smaller sensor must be enlarged more, so its tolerable blur spot is proportionally smaller. That is why the value scales with the sensor diagonal.
The classic convention divides the diagonal by 1500, which corresponds roughly to a print viewed at a distance about equal to its diagonal by an observer resolving about one arcminute. For 35 mm film that gives 43.27 ÷ 1500 = 0.0288 mm, which is why you see 0.03 mm quoted everywhere. Divide by 1730 instead — the value Zeiss uses in its depth-of-field literature — and you get a stricter standard suited to large prints and heavy cropping. Divide by 1300 and you get a relaxed one for screen viewing.
None of these is right in an absolute sense. What matters is that you know which one you used, because a hyperfocal distance calculated with a relaxed standard and then examined at 100% on a monitor will look soft at the near limit. If you routinely pixel-peep, pick the critical setting and accept the longer focusing distances it produces.
Worked example: 24 mm at f/11 on full frame
You are shooting a coastal landscape with a 24 mm lens at f/11 on a full-frame body, using the standard sharpness convention.
- Circle of confusion. The 36 × 24 mm sensor has a diagonal of √(36² + 24²) = √1872 = 43.27 mm. Divide by 1500: c = 0.02884 mm.
- Focal length squared. 24² = 576 mm².
- Denominator. N · c = 11 × 0.02884 = 0.31729.
- Divide. 576 ÷ 0.31729 = 1,815.4 mm.
- Add the focal length. 1,815.4 + 24 = 1,839.4 mm, which is 1.84 m, or 6 ft 0 in.
- Near limit. 1.84 ÷ 2 = 0.92 m, about 3 ft.
So: set the lens to f/11, focus on something 1.8 m away, and everything from roughly 0.9 m to the horizon records as sharp by that standard. If your foreground rock is at 0.6 m instead, run the reverse formula: N = 576 ÷ (0.02884 × (2 × 600 − 24)) = 576 ÷ 33.93 = f/17. At that point you are close enough to diffraction on a high-resolution full-frame sensor that focus stacking is usually the better answer — the depth of field calculator lets you check the near and far limits for a stack.
How to use the number in the field
Focus by distance, not by hoping. Very few modern lenses have usable distance scales, and their focus-by-wire rings do not hold a setting reliably. The practical method is to autofocus on something you can identify at roughly the right distance — a rock, a fence post, a person you have paced out — then switch to manual so nothing moves. Pacing is accurate enough: hyperfocal focus is forgiving, and being 20% long costs you a little foreground rather than the horizon.
Err on the far side. If you are unsure, focus slightly beyond the hyperfocal distance rather than slightly inside it. Focusing too close is the expensive error, because it pulls the far limit in from infinity and softens the horizon, which is usually the most conspicuous part of a landscape. Focusing a little too far only nudges the near limit outward.
Do not stop down reflexively. The chart on this page shows the hyperfocal distance falling as the f-number rises, but the sharpness you gain at the near limit is traded against diffraction across the entire frame. The Airy disc diameter is 2.44 λ N; at 550 nm that is 0.0134 mm at f/10 and 0.0295 mm at f/22 — which at f/22 already exceeds the full-frame circle of confusion. The calculator flags the point where the two cross for your settings.
Know when hyperfocal is the wrong tool. If nothing is close, focusing at infinity gives a sharper horizon than hyperfocal focusing does, and there is no reason to compromise it. If something is very close and the horizon also matters, no single focus distance serves both and you should stack. Hyperfocal focusing occupies the middle ground, and that middle ground covers most wide-angle landscape work.
Hyperfocal distance in metres, full frame, c = 0.0288 mm
| Focal length | f/4 | f/8 | f/11 | f/16 |
|---|---|---|---|---|
| 16 mm | 2.23 m | 1.13 m | 0.82 m | 0.57 m |
| 24 mm | 5.02 m | 2.52 m | 1.84 m | 1.27 m |
| 35 mm | 10.65 m | 5.34 m | 3.90 m | 2.69 m |
| 50 mm | 21.72 m | 10.88 m | 7.93 m | 5.47 m |
| 85 mm | 62.71 m | 31.40 m | 22.86 m | 15.74 m |
On an APS-C body the circle of confusion is smaller, so the same lens at the same aperture has a longer hyperfocal distance than these figures. Change the format above and read the table the calculator generates for your camera.
Mistakes that undo the technique
- Entering a full-frame equivalent focal length. The formula wants the real focal length engraved on the lens. The format is accounted for separately, through the circle of confusion. Enter 24 mm for a 24 mm lens on APS-C, not 36 mm.
- Assuming the near limit is a third of the way in. The "focus a third into the scene" rule is a corruption of the fact that the near limit is half the focus distance. The two are not the same claim, and the one-third version has no derivation behind it.
- Trusting the depth-of-field scale on an old lens. Those scales were engraved for the print sizes and viewing habits of their era, generally a relaxed standard. They will look optimistic on a 45-megapixel sensor.
- Using one circle of confusion for every output. A frame destined for a metre-wide print and one destined for a phone screen do not deserve the same standard. Change the divisor rather than the technique.
- Forgetting that focus breathing changes the focal length. Many zooms and some primes shorten their true focal length as they focus closer. At hyperfocal distances the effect is small; in macro it is not.
- Stopping down past the diffraction crossover to gain a few centimetres of foreground. Beyond that point you soften everything to sharpen one thing. Stack instead.
Hyperfocal distance is measured from the sensor
The distance in the formula runs from the film or sensor plane — the marked φ symbol on most camera bodies — not from the front element. On a wide-angle lens at a hyperfocal distance of several metres the difference is immaterial. On a long lens focused close, or in macro work, it is not, and it is the same convention your camera's own distance readout uses.
Related tools and where each one belongs
The hyperfocal distance is one point on the depth-of-field curve, the point where the far limit reaches infinity. For any other focus distance you need the general near and far limits, which is what the depth of field calculator gives. If you shoot more than one format and want to compare framing rather than sharpness, the crop factor and equivalent focal length calculator converts between them, and the field of view calculator turns focal length into an angle and a subject width at a given distance.
Landscape work rarely stops at focus. Long exposures for water and cloud need the ND filter exposure calculator; night skies have their own constraint on shutter speed, handled by the 500 rule calculator. And when the file finally becomes a print, the circle of confusion you chose here should match the output you are actually making — the print size and DPI calculator tells you the resolution that print will really have.
One historical note worth keeping in mind: the hyperfocal technique was designed around film, contact prints and a viewer at arm's length. Sensors now out-resolve those assumptions comfortably, so the classic 1/1500 standard describes a good print rather than a good 100% view on screen. If your work is judged at pixel level, use the critical divisor and treat the resulting distances as the honest ones.
Key terms
- Circle of confusion
- The diameter of the largest blur spot on the sensor that a viewer still perceives as a point. Derived from print size and viewing distance, then scaled by the sensor diagonal.
- Near limit
- The closest distance rendered acceptably sharp for a given focus setting. When focused at the hyperfocal distance it is exactly half of it.
- Airy disc
- The diffraction pattern a point source forms through a circular aperture. Its diameter is 2.44 λN, so it grows as you stop down and eventually sets the limit on detail.
- Focus stacking
- Shooting several frames at different focus distances and blending the sharp regions. The standard answer when one aperture cannot cover the depth you need.
