What this Hyperfocal Distance Calculator does
The Hyperfocal Distance Calculator estimates the focusing distance at which the farthest part of a scene is acceptably sharp while objects from roughly half that distance to infinity are also acceptably sharp. It applies a common photographic approximation using three values: lens focal length, aperture f-number, and circle of confusion. The result is expressed in meters.
Hyperfocal distance is useful when a photograph needs broad depth of field, such as a landscape with nearby rocks and distant mountains, or a street scene where subjects may enter the frame at different distances. The estimate gives a starting point for manual focus and planning. It does not predict pixel-level sharpness in every output, because acceptable focus depends on viewing size, enlargement, sensor or film format, and other conditions.
This calculator uses the approximation H = f² / (N × c), with focal length f and circle of confusion c entered in millimeters, and aperture N entered as its f-number. The result is converted from millimeters to meters. For example, a 50 mm lens at f/8 with a 0.03 mm circle of confusion gives about 10.42 m.
How to use the Hyperfocal Distance Calculator
Enter the values for the lens and image format you are using. The calculation is straightforward, but the circle of confusion deserves care because it represents an assumption about what will appear acceptably sharp.
- Focal length: Enter the lens focal length in millimeters. Use the focal length relevant to the image, especially if the lens is zoomed.
- Aperture: Enter the f-number, such as 8 for f/8. A larger f-number means a smaller aperture opening.
- Circle of confusion: Enter a positive value in millimeters that is suitable for your sensor or film format and intended output.
After entering the values, read the result in meters. Focus at approximately that distance when using the conventional hyperfocal method. Then check important near objects through the viewfinder or using image playback at an appropriate magnification. The estimate can guide setup, but field checks help account for the scene and camera.
How the Hyperfocal Distance Calculator formula works
The formula is H = f² / (N × c). Here, H is hyperfocal distance, f is focal length, N is the aperture f-number, and c is the circle of confusion. Because focal length and circle of confusion are both entered in millimeters, the calculation first produces a distance in millimeters. Dividing by 1,000 converts that value to meters.
For a worked example, suppose the inputs are 50 mm, f/8, and 0.03 mm. Square the focal length: 50 × 50 = 2,500. Multiply aperture by circle of confusion: 8 × 0.03 = 0.24. Divide 2,500 by 0.24 to get approximately 10,416.67 mm. Divide by 1,000, giving 10.42 m after rounding to two decimal places.
The formula assumes positive values. Lower f-numbers or smaller circle-of-confusion values increase the computed distance, while higher f-numbers or larger circle-of-confusion values reduce it. This mathematical relationship is a consequence of the approximation and should not be interpreted as a complete optical model of a particular lens.
Use cases for the Hyperfocal Distance Calculator
Photographers can use a hyperfocal estimate as one part of a focusing workflow in scenes where depth of field matters across a wide distance range.
- Landscape photography: Estimate a focus distance when the composition includes both a foreground feature and a distant horizon.
- Travel and street scenes: Set a focus distance in advance when subjects may appear quickly at varying distances.
- Tripod work: Compare likely focus distances while composing a static scene, then inspect the important foreground and background areas.
- Night photography: Plan a focus point before working in low light, while still verifying focus on the camera or with a test frame.
In each case, first identify the nearest subject that must appear acceptably sharp. A hyperfocal distance estimate often places the near limit at about half the calculated distance, but this is an approximation under the selected circle-of-confusion assumption. If a critical foreground subject is closer, focusing at the calculated distance may not meet the intended result.
Other factors to consider when calculating hyperfocal distance
The circle of confusion is not a universal fixed value. It is an estimate of the blur circle that will still appear acceptably sharp in a particular viewing context. Sensor or film format, final print or display size, viewing distance, and personal sharpness standards can all affect the choice. Supply a value appropriate to your format and intended output rather than treating the default as correct for every camera.
Lens behavior and shooting conditions also affect practical sharpness. Diffraction becomes more noticeable at smaller apertures, while lens aberrations, focus errors, camera movement, subject movement, and atmospheric haze can soften an image. The calculator does not model these effects, nor does it account for focus breathing or variations in a lens's marked focal length.
For a reliable workflow, use the result as a planning estimate, focus carefully, and review the scene's most important distances. If the near foreground is especially close, focus stacking or a different composition may be worth considering as photographic techniques, depending on the subject and whether movement is present. Nikon's photography glossary discusses the hyperfocal distance concept and its dependence on acceptable sharpness: Nikon photography glossary.
Frequently asked questions
What does hyperfocal distance mean?
It is the focus distance that, under a chosen circle-of-confusion assumption, makes distant objects appear acceptably sharp while extending the near acceptable-focus limit to about half that distance. It is a practical depth-of-field concept rather than a guarantee of uniform sharpness.
Why does the calculator ask for a circle of confusion?
The value sets the assumed limit for acceptable blur. That limit depends on the imaging format and how the photograph will be viewed. Choose a suitable value for your sensor or film and intended output.
Should I enter 8 or f/8?
Enter 8. The field expects the numeric aperture f-number. Likewise, enter 2.8 for f/2.8.
Does the result mean everything will be perfectly sharp?
No. It estimates acceptable depth of field under a simplified formula. Focus accuracy, lens characteristics, movement, diffraction, and viewing conditions can change the apparent result. Inspect the image when critical detail matters.
Why does a shorter focal length usually give a shorter hyperfocal distance?
Focal length is squared in the approximation. With aperture and circle of confusion held constant, reducing focal length reduces the calculated hyperfocal distance. The comparison assumes the same units and the same circle-of-confusion criterion.