Understanding Hyperfocal Distance
Hyperfocal distance is the closest focus distance a lens can be set to while still keeping objects at infinity acceptably sharp. Focus at the hyperfocal distance H and the zone of acceptable sharpness stretches from H/2 all the way to infinity — the largest possible depth of field for that focal length and aperture. Landscape and architecture photographers use it to get foreground-to-horizon sharpness without stopping the aperture down to the point where diffraction softens the whole image.
The formula
The standard thin-lens formula for hyperfocal distance is:
H = f² / (N × c) + f
- f — the lens focal length (mm)
- N — the f-number / aperture (e.g. 8 for f/8)
- c — the circle of confusion, the largest blur spot the eye still reads as a sharp point (mm)
Once you know H, the near and far limits of depth of field for any focus distance s follow from:
- Near limit: Dn = s(H − f) / (H + s − 2f)
- Far limit: Df = s(H − f) / (H − s), or infinity when s ≥ H
Setting s = H in these formulas gives exactly Dn = H/2 and Df = infinity, which is the classic hyperfocal rule of thumb.
Choosing a circle of confusion
The circle of confusion depends on sensor size, print size, and viewing distance — there is no single correct value, only a working convention. A commonly used figure is about 0.030mm for full-frame (36×24mm) sensors, scaling down for smaller sensors: roughly 0.019–0.020mm for APS-C and about 0.015mm for Micro Four Thirds. Smaller sensors need a smaller circle of confusion because their images must be enlarged more to reach the same final output size.
Reading the results
This calculator reports the hyperfocal distance itself, the near limit you would get by focusing exactly at that distance (with the far limit implicitly at infinity), and — using the focus distance you enter — the actual near and far sharpness limits for that shot. If your entered focus distance is at or beyond the hyperfocal distance, the far limit is infinity; focusing closer than the hyperfocal distance pulls the far limit in from infinity.