Hyperfocal Distance Calculator – Focus from Half That Distance to Infinity

Use the free tool below: your data never leaves your browser — all work happens on your device, and nothing is uploaded to any server.

What hyperfocal distance is

Hyperfocal distance is the focus distance that gives the greatest depth of field for a given lens, aperture, and sensor. Focus at the hyperfocal distance, and everything from half that distance to infinity looks acceptably sharp. That single fact makes it the most useful number in landscape photography, because it tells you exactly where to focus to keep both the foreground and the horizon sharp. This calculator gives the hyperfocal distance in metres and feet, plus the near limit, which is simply half the hyperfocal distance.

The formula behind it is simple once you see it. Hyperfocal distance depends on focal length squared, divided by aperture times circle of confusion, plus the focal length itself. A longer lens squares the effect, so a telephoto lens has a far larger hyperfocal distance than a wide lens at the same aperture. A narrower aperture shrinks it, which is why stopping down from f/2.8 to f/11 pulls the hyperfocal distance much closer and brings the foreground into focus. Sensor size enters through the circle of confusion, as it does for all depth-of-field math.

Why does focusing at the hyperfocal distance work better than focusing at infinity? Because depth of field extends roughly twice as far behind the focus point as in front of it. Focus at infinity, and half your depth of field falls beyond infinity, where there is nothing to photograph, while the near limit stays far away. Focus at the hyperfocal distance, and the far limit just reaches infinity, so the whole zone is useful, from half the hyperfocal distance right out to the horizon.

A worked example

Take a 50 mm lens at f/8 on a full-frame camera, with a circle of confusion of 0.030 mm. The hyperfocal distance is about 10.47 m, or about 34.3 ft, and the near limit is about 5.23 m. Focus at 10.5 m, and everything from about 5.2 m to infinity looks acceptably sharp. A foreground rock at 6 m and distant mountains will both be sharp, which is exactly the landscape result most photographers want.

Using hyperfocal distance in the field

Estimating 10 m by eye is a skill worth practising. Pace it out, use a known object, or focus on something at about the right distance and then lock focus. Many photographers focus about a third of the way into the scene as a rough shortcut, which often lands near the hyperfocal distance for wide lenses, but the calculator is more reliable, especially with longer lenses where the shortcut fails badly. Write down the hyperfocal distances for your most-used lens and aperture combinations and keep them in your camera bag.

Check the nearest foreground object first. If the closest thing you want sharp is nearer than half the hyperfocal distance, it will be soft no matter what you do at that aperture. Your options are to stop down further, which pulls the hyperfocal distance closer, to use a wider lens, or to move the camera back so the foreground is farther away. If none of those work, focus stacking, combining several photos at different focus distances, is the honest solution for a scene with both very near and very far subjects.

Limits and common mistakes

The most common mistake is treating hyperfocal distance as a guarantee. It is based on acceptable sharpness at normal viewing sizes, using conventional circle-of-confusion values. A photo that looks sharp as a small print may look soft when viewed large, and a viewer who looks closely will demand more than the standard allows. For critical work, focus a little beyond the calculated hyperfocal distance or stop down one extra stop as a safety margin, and check at 100 percent on screen.

Remember that these are educational optical calculators. Depth-of-field figures are estimates, not guarantees of sharpness, and circle-of-confusion values are conventional reference values that vary by sensor and print size. Use the hyperfocal distance as a field guide, check the result on screen, and adjust for the print size and viewing distance your photo will actually face.

Frequently asked questions

Do I need hyperfocal distance for portraits? Rarely. Portraits want shallow depth of field and a sharp subject, not maximum depth, so focus on the eyes and let the background blur. Hyperfocal distance matters for landscapes, architecture, and street scenes where near-to-far sharpness is the goal.

What if my lens has no distance scale? Many modern lenses lack a useful scale. Use the calculator to learn the distance, estimate it in the field, and focus on an object at about that distance. Autofocus on a mid-distance object and then lock focus works well.

Does hyperfocal distance change with ISO? No. ISO changes exposure, not optics. It only matters indirectly, because a higher ISO lets you use a narrower aperture in low light without a slow shutter speed.

Use the calculator above for your lens, aperture, and sensor, focus at the distance it gives for landscapes, and check that your nearest foreground sits beyond half that distance. One number, used well, sharpens a whole scene.

Related calculators

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top