What this Hyperfocal Distance Calculator does
The Hyperfocal Distance Calculator estimates how far to focus so that the acceptable depth of field reaches from roughly half the focus distance to infinity. It uses three inputs: focal length in millimeters, the lens aperture as an f-number, and the circle of confusion in millimeters. The output, labeled Hyperfocal Distance, is also in millimeters.
Photographers often use hyperfocal distance when a scene has important detail at several distances, such as a nearby rock in a landscape with distant mountains. The calculation gives a planning reference for choosing focus. It does not inspect a photograph or determine whether every object will look sharp on a particular screen or print. Sharpness depends on viewing conditions, the sensor, lens performance, focus accuracy, and other factors.
This calculator uses the standard thin-lens approximation, expressed as H = f² / (N × c) + f. Here, H is hyperfocal distance, f is focal length, N is the aperture f-number, and c is the circle of confusion. Keeping those units consistent matters. Since the entered focal length and circle of confusion are both in millimeters, the result is in millimeters.
How to use the Hyperfocal Distance Calculator
Enter the focal length you plan to use, the aperture you intend to set, and an appropriate circle of confusion for your camera and output conditions. The calculator accepts focal lengths from 8 to 800 mm, f-numbers from 1 to 64, and circle-of-confusion values from 0.005 to 0.05 mm. These limits allow a broad range of photographic setups, but they do not guarantee that every combination reflects a real lens or a preferred photographic standard.
- Focal length: Enter the lens focal length in millimeters. On a crop-sensor camera, decide whether you want the actual focal length or an equivalent focal length, and use a circle-of-confusion convention that matches that choice.
- Aperture: Enter the f-number, such as 8 for f/8. A larger f-number means a smaller aperture opening.
- Circle of confusion: Enter the assumed maximum blur-spot diameter, in millimeters, treated as acceptably sharp for the intended viewing conditions.
For a worked example, use a 35 mm lens at f/8 with a 0.02 mm circle of confusion. The formula gives H = (35² / (8 × 0.02)) + 35 = (1,225 / 0.16) + 35 = 7,656.25 + 35 = 7,691.25 mm, or about 7.69 m. That is the estimated distance at which to focus under these assumptions. The approximate near limit is half of that, about 3,845.63 mm, or 3.85 m.
How the Hyperfocal Distance Calculator formula works
The calculation squares focal length, divides by the product of aperture and circle of confusion, and then adds focal length. In symbolic form, H = f² / (N × c) + f. The squared focal-length term is why changing focal length can move the hyperfocal distance substantially. The aperture and circle-of-confusion values appear in the denominator, so increasing either value reduces the calculated distance, all else equal.
The equation is an optical approximation used for depth-of-field planning. It assumes a conventional model of a lens focused at a given distance and a chosen threshold for acceptable blur. It does not simulate a specific lens design, focus breathing, subject movement, or diffraction. The displayed result is rounded to two decimal places, while calculations may be interpreted more practically in meters or feet for field use.
The circle of confusion is especially important because it defines what “acceptably sharp” means. It is not a physical constant shared by every camera and output. A traditional value may be based on a camera format and expected print size and viewing distance. Large prints, close inspection, high-resolution sensors, or a different format may justify a different assumption. Use a value from a source appropriate to your camera and workflow.
Use cases for the Hyperfocal Distance Calculator
Hyperfocal focusing can help with scenes where a photographer wants broad depth of field without selecting focus on a distant background alone. Landscape photography is a familiar example, particularly when the foreground is important. Travel and documentary photographers may also use the estimate to prepare a focus distance before a scene develops.
The result is useful as a starting point for choices such as:
- Checking whether a foreground subject lies beyond the estimated near limit.
- Comparing depth-of-field estimates for two focal lengths or apertures.
- Planning a tripod composition where foreground and distant detail both matter.
- Deciding whether a single exposure is likely to cover the scene’s depth or whether focus stacking deserves consideration.
For example, if an important foreground object is closer than half the estimated hyperfocal distance, it may not fall within the calculator’s approximate acceptable range when focusing at H. You could adjust the composition, aperture, focus distance, or use multiple focus positions. Each choice has tradeoffs, so inspect a test image when sharpness is critical.
Other factors to consider when calculating hyperfocal distance
A calculator can make the arithmetic consistent, but the result depends on the inputs and the meaning of acceptable sharpness. Confirm whether the circle-of-confusion value suits your camera format and output. Also distinguish actual focal length from full-frame equivalent focal length. Combining an equivalent focal length with a circle of confusion intended for another format can produce a misleading estimate.
Depth of field is not a hard boundary where blur suddenly changes from sharp to unsharp. It is a gradual change in image detail. The formula marks a conventional threshold. A photograph intended for a small web display may tolerate blur that would be visible in a large print examined closely. Focus distance, subject distance, lens calibration, camera movement, and the way an image is enlarged all affect perceived sharpness.
A very small aperture can increase geometric depth of field while diffraction softens fine detail. A wider aperture may preserve more detail but reduce the depth that appears acceptably sharp. The calculator does not find an ideal aperture or account for diffraction. Consider the scene, exposure, lens, and output together, and review the image at an appropriate magnification. For a critical frame, take a test shot and verify the nearest and farthest important details.
Frequently asked questions
What does hyperfocal distance mean?
It is the focus distance that, under a chosen circle-of-confusion assumption, places the far depth-of-field limit at infinity. In the common approximation, focusing at that distance makes the near limit about half as far away. “Acceptably sharp” depends on the viewing standard used to choose the circle of confusion.
Why does the calculator ask for a circle of confusion?
The value sets the blur threshold used by the formula. Camera format and expected image size and viewing distance influence what threshold is appropriate. A smaller circle-of-confusion value generally produces a longer hyperfocal distance, all else equal.
Should I enter the lens focal length or its crop-equivalent value?
Use a consistent convention. The equation is commonly applied with actual focal length and a circle-of-confusion value suited to the camera format. Some depth-of-field tools use equivalent focal length and a corresponding full-frame assumption. Avoid mixing values from different conventions.
Does focusing at hyperfocal distance make everything sharp?
No. It estimates a range that meets a chosen blur criterion under a simplified model. It cannot guarantee sharpness at every distance or viewing size. Motion, focus error, lens behavior, diffraction, and image enlargement can all affect the result.
Can I use the estimate for close foreground subjects?
Use the approximate near limit, half the calculated hyperfocal distance, as a planning check. If a subject is closer, it may fall outside the estimated depth-of-field range. Try a different focus plan or make a test exposure and inspect the details that matter.