Hyperfocal Distance Calculator - Landscape Focus Distance
Hyperfocal distance calculator for sharp landscape focus. Enter sensor size, focal length, and aperture to get the focus distance and near limit in meters.
Hyperfocal Distance Calculator
Results
What Is the Hyperfocal Distance Calculator?
A hyperfocal distance calculator is a landscape-photography planning tool that takes your camera's sensor format, lens focal length, and aperture, then returns the exact focus distance that maximizes depth of field. Set your lens to that distance and everything from half that distance out to infinity stays acceptably sharp in the final image.
- • Landscape Photography: Pre-focusing before a hike so you do not waste golden-hour minutes searching for focus on a tripod.
- • Astrophotography: Capturing both the foreground and the night sky in a single exposure.
- • Architecture and Cityscapes: Keeping street-level detail sharp while distant buildings remain crisp on a single frame.
- • Travel and Documentary: Working without time to refocus between quick scene changes in busy environments.
Most autofocus systems lock onto the nearest high-contrast object, which is rarely what landscape photographers want. Computing the hyperfocal distance ahead of time and manually setting the lens removes that guesswork so the photographer can spend time on composition instead of focus hunting.
Because the result depends on sensor size, focal length, and aperture, the calculator standardises a tedious table lookup into a single calculation that updates as you change lenses or swap between full-frame and APS-C bodies.
The calculator is also handy on overcast days when light changes quickly between frames. Pre-computing the focus distance means you can step away from the viewfinder to recompose or swap filters without losing the sharpness target you set up earlier.
If your landscape shoot spans hours rather than a single frame, plan the interval and storage alongside your focus plan with the Time Lapse Calculator.
How the Hyperfocal Distance Calculator Works
The calculator looks up the standard circle-of-confusion value for your sensor format, plugs your focal length and aperture into the standard hyperfocal formula, then derives the nearest acceptably-sharp distance for focus set at that hyperfocal point.
- f: Lens focal length, in millimetres. Enter this from the lens barrel or the camera menu.
- N: Aperture f-number. Smaller f-stops (f/11, f/16) push the hyperfocal distance closer to the camera.
- C: Circle of confusion in millimetres, looked up from the sensor-format table.
- H: Hyperfocal distance in the same units as f and C (here, millimetres).
- D_near: Closest acceptably-sharp distance when the lens is focused at H.
The far limit of acceptable sharpness when focusing at H is effectively infinity, which is why landscape photographers treat the technique as a way to set-and-forget their focus during long exposures.
A useful sanity check is to compare the formula result against a published table for your camera. If the calculator gives a hyperfocal distance that matches the table for the same focal length, aperture, and sensor, the implementation is correct. Any meaningful gap usually points to a different CoC convention rather than an arithmetic error in the formula.
50 mm lens on a full-frame camera at f/22
Sensor: 35mm full-frame, focal length 50 mm, aperture f/22.
C = 0.030 mm, H = 50 + 50^2 / (22 x 0.030) = 50 + 3787.88 = 3837.88 mm.
Hyperfocal distance: 3.84 m. Hyperfocal near limit: 1.93 m.
Focus the lens at 3.84 m, and anything from roughly 1.93 m to infinity will look acceptably sharp at typical print sizes.
According to Wikipedia, the hyperfocal distance H for a lens is calculated as H = f + f^2 / (N * C), where f is the focal length, N is the f-number, and C is the circle of confusion.
If you want to follow the same focal-length reasoning into image formation, the Thin Lens Equation Calculator solves the 1/f = 1/d_o + 1/d_i relationship that links object distance, image distance, and focal length.
Key Concepts Explained
Four ideas make the calculator useful rather than mysterious. Knowing each one lets you sanity-check the result on the back of the camera.
Hyperfocal Distance
The single focus distance that maximises depth of field, pushing the far limit to infinity. Setting focus at H is the centrepiece of landscape shooting technique.
Hyperfocal Near Limit
The closest object that stays acceptably sharp when focus is set at the hyperfocal distance. It is roughly half of H for most focal lengths.
Circle of Confusion
The largest blur circle a viewer will still perceive as a sharp point. Smaller sensors use a smaller CoC value, which is why sensor format changes the answer.
Focal Ratio (f-number)
Aperture setting N. Stopping down to f/11 or f/16 moves the hyperfocal distance closer to the camera and lengthens exposure time.
For a deeper look at how aperture opening changes light gathering, see the Aperture Area reference under our education resources.
How to Use This Calculator
Pick the values that match your camera and lens, then read the focus distance and near limit. Plan your tripod position before the shoot so the lens can be set manually.
- 1 Pick sensor size: Select the camera body you are shooting with. CoC follows the format, so this is the most important input.
- 2 Enter focal length: Type the lens focal length in millimetres. Wide-angle lenses (14-35 mm) are the most common landscape choice.
- 3 Set the aperture: Pick the f-number you plan to use. f/8 to f/16 is the usual landscape range; sweet spot sharpness varies by lens.
- 4 Note the focus distance: Read the hyperfocal distance in metres or feet. Tape the value on your lens or note it in your phone.
- 5 Switch to manual focus: Turn the lens to manual focus and set the focus ring to the hyperfocal distance. Auto-confirm on the live view at 100%.
On a Sony A7 IV (full-frame) with a 24 mm lens at f/11, the calculator returns a hyperfocal distance of about 1.77 m. With autofocus off and the lens set to that distance, anything from about 0.89 m to infinity stays sharp enough for an 8 x 10 print.
Pair the focus distance with a flight plan using the Drone Flight Time Calculator so the drone has enough battery for the aerial landscape frames.
Benefits of Using a Hyperfocal Distance Calculator
Knowing the hyperfocal distance saves time in the field and prevents two of the most common landscape mistakes: a soft foreground and a missed golden hour.
- • Front-to-back sharpness: Sets focus so the entire scene, from a nearby rock to distant mountains, stays within the depth of field on a single frame.
- • Faster field setup: Pre-calculating the focus distance lets you skip focus-stacking and avoids time spent focus-hunting in low light.
- • Consistent results across lenses: Lets you swap between a 16-35 mm and a 24-70 mm and still land on the right focus distance for each focal length.
- • Sensor-aware accuracy: Adapts the formula to full-frame, APS-C, Micro Four Thirds, and medium format bodies so the answer matches the format you actually shoot.
- • Better astrophotography: Pushes the near limit forward enough that foreground rocks or trees stay sharp while the Milky Way remains crisp in the same exposure.
When the shoots are done, use the Upload Time Calculator to estimate how long it takes to back up full-resolution landscape files.
Factors That Affect Your Results
The formula is exact, but real-world sharpness depends on how you print and how forgiving your eyes are. These variables nudge the result beyond what the calculator can compute.
Sensor size and CoC
Smaller sensors use a smaller circle of confusion, which pushes the hyperfocal distance farther from the camera and moves the hyperfocal near limit farther as well.
Focal length choice
Wide-angle lenses (14-35 mm) keep hyperfocal distances short, which is why they are the landscape standard.
Selected aperture
Stopping down to f/16 or f/22 brings the hyperfocal distance closer but introduces diffraction softness on many lenses; f/8 to f/11 is often the sharpest range.
Final print size
Larger prints and heavy crops demand a smaller effective CoC. If you plan to crop heavily, plan for a longer hyperfocal distance.
Viewer distance and acuity
Conventional CoC values assume 8 x 10 inch prints viewed at about 25 cm. Very large prints or close-up viewing push sharpness requirements upward.
- • Hyperfocal distance assumes the lens is focused exactly at H. If the focus ring is a few centimetres off, the near limit moves back toward the camera.
- • The formula treats CoC as a fixed constant per sensor format. For extreme crops or very large prints, run the formula again with a smaller custom CoC value.
- • Diffraction softening at very small apertures (f/22 and beyond) can wipe out the depth-of-field gains on high-resolution sensors.
Shooting at the calculated hyperfocal distance on its own is not a substitute for careful focusing on the target scene. Mirrorless cameras with focus magnification and live-view peaking make it much easier to nail the focus distance before the shot, but on older DSLR bodies, the only practical way to land on H is to use the lens distance scale after focusing on a target at the same distance.
Many landscape photographers pre-mark their lenses with tape at the hyperfocal distance for their most-used focal length and aperture combination. This shortcut keeps the workflow quick without sacrificing the depth-of-field benefit that makes the technique worth doing in the first place.
According to Cambridge in Colour, focusing at the hyperfocal distance places the depth of field from half that distance out to infinity, which is why landscape photographers lean on the technique for maximum sharpness front to back.
According to PhotoPills, hyperfocal distance is the most-used focusing technique in landscape photography because it lets the photographer maximize depth of field without recomputing for every shot.
Frequently Asked Questions
Q: What is hyperfocal distance in photography?
A: Hyperfocal distance is the focus distance at which a lens produces the deepest depth of field for a given focal length, aperture, and sensor size. Focusing at that distance keeps everything from about half the hyperfocal distance out to infinity acceptably sharp.
Q: How do I calculate the hyperfocal distance?
A: Use the formula H = f + f^2 / (N x C). The focal length f and circle of confusion C must share the same units (millimetres here), and N is the aperture f-number. The hyperfocal near limit follows from H as D_near = H^2 / (2H - f).
Q: Does sensor size change the hyperfocal distance?
A: Yes. Smaller sensors use a smaller standard circle of confusion, which pushes the hyperfocal distance farther from the camera and moves the hyperfocal near limit farther as well. Shooting the same lens on APS-C versus full-frame produces different hyperfocal values.
Q: What is the hyperfocal near limit?
A: The hyperfocal near limit is the closest subject that still appears acceptably sharp when focus is set at the hyperfocal distance. For most focal lengths, it works out to roughly half of H.
Q: What is the best aperture for landscape photography using hyperfocal distance?
A: Most landscape photographers land between f/8 and f/11. Stopping down further to f/16 or f/22 brings the hyperfocal distance closer but introduces diffraction softness on high-resolution sensors, especially in the corners of the frame.
Q: Should I always focus at the hyperfocal distance?
A: No. Hyperfocal focusing is ideal when you want a wide scene sharp from foreground to infinity. For portraits, products, and scenes with a clear subject, a shallower depth of field and focus on the subject produces a more intentional image.