OnSumoTools

Hyperfocal Distance Calculator

Find where to focus for maximum sharpness from foreground to infinity.

Lens and sensor

Hyperfocal distance

2.48 m

Sharp from 1.24 m to infinity

Focus your lens at 2.48 m for maximum landscape sharpness. Everything from 1.24 m to infinity should look acceptably sharp.

Aperture sweep

Hyperfocal and near limit for every standard f-stop at your focal length.

f-stopHyperfocalNear limit
f/1.414.19 m7.09 m
f/29.93 m4.97 m
f/2.87.09 m3.55 m
f/44.97 m2.48 m
f/5.63.55 m1.77 m
f/82.48 m1.24 m
f/111.81 m0.90 m
f/161.24 m0.62 m
f/220.90 m0.45 m

Circle of confusion values are standard estimates. Very large prints or strict sharpness needs may require a smaller CoC.

How does the Hyperfocal Distance Calculator work step by step?

Hyperfocal distance is the closest focus distance where depth of field still reaches infinity at your chosen aperture. The formula uses focal length, f-number, and circle of confusion for your sensor. Focus at that distance and the near sharp limit is half the hyperfocal value.

What does a typical Hyperfocal Distance Calculator result look like?

A 24 mm lens at f/8 on full frame (CoC 0.029 mm) gives a hyperfocal distance near 2.48 m. Focus there and the scene should look sharp from about 1.24 m to infinity.

Related tools

Frequently asked questions

  • What is hyperfocal distance?

    Hyperfocal distance is the closest focus distance at which objects from half that distance to infinity appear acceptably sharp at a given aperture and focal length. When you focus your lens at the hyperfocal distance, you maximize depth of field for that aperture setting. It is the foundation of zone focusing used in street photography and landscape work where you want the sharpest possible image across a wide range of distances without using a small aperture that risks diffraction softness.

  • How do I use hyperfocal distance in practice?

    Calculate the hyperfocal distance for your focal length, aperture, and camera's circle of confusion value, then manually set your lens focus ring to that distance. For example, a 24mm lens at f/8 on a full-frame camera has a hyperfocal distance of approximately 6 meters. Focused at 6 m, everything from 3 m to infinity is sharp. In the field, use the depth-of-field scale on your lens barrel if present, or pre-set focus using a tape measure or distance scale on manual lenses.

  • Does hyperfocal distance change with aperture?

    Yes, it changes significantly. A smaller aperture (higher f-number) shortens hyperfocal distance, bringing the near-sharp boundary closer to the camera. At f/2.8 with a 24mm lens on full frame, hyperfocal distance is approximately 24 meters -- only objects from 12 m to infinity are sharp. At f/11, hyperfocal drops to about 6 meters, giving sharp focus from 3 m to infinity. Stopping down increases sharpness range until diffraction limits kick in around f/16.

  • How does sensor size affect hyperfocal distance?

    Smaller sensors have a smaller circle of confusion value, which produces a shorter hyperfocal distance -- meaning more of the scene falls within the sharp zone at equivalent settings. A Micro Four Thirds camera uses a circle of confusion of roughly 0.015 mm versus 0.030 mm for full frame. This means an MFT camera achieves a shorter hyperfocal distance at the same focal length and aperture, giving it an inherent depth-of-field advantage for landscape and documentary work. This is one practical reason compact cameras appear to have greater depth of field than full-frame cameras.

  • What is circle of confusion and why does it matter?

    The circle of confusion (CoC) is the maximum diameter of a blur spot that the human eye perceives as a sharp point when viewing a final print or display at a standard size and distance. It is the tolerance threshold used in depth-of-field and hyperfocal calculations. A smaller CoC means stricter sharpness standards and a shorter calculated hyperfocal distance. For full-frame 35mm sensors the standard value is 0.030 mm, derived from a print viewed at 25 cm from 8x10 inches. If you crop heavily or print very large, use a smaller CoC value to get more accurate results.

  • When should you NOT use hyperfocal focusing?

    Avoid hyperfocal technique when you need the sharpest possible rendering of a specific subject -- portraiture, product photography, macro work, and any scene where a clearly defined foreground or background subject matters more than overall sharpness. Hyperfocal distance optimizes for acceptable sharpness across a range, which means your primary subject at any given distance is never at the lens's true point of maximum sharpness. It is also counterproductive when subject isolation via shallow depth of field is the artistic goal.

Sharp from here to the horizon

Scenery photographers want a lot of the scene sharp, from a rock a few meters away all the way to distant mountains. Hyperfocal distance is the focus setting that makes that happen. Focus there and everything from half that distance to infinity looks acceptably sharp.

Enter your focal length, aperture and sensor type, and the calculator gives the hyperfocal distance and the near limit, in meters or feet.

The formula, simply

H equals focal length squared, divided by the aperture number times the circle of confusion. The near limit of sharpness is half of H. Focus at H and the sharp zone runs from H/2 out to infinity.

Say H works out to 4 meters. Focus at 4 meters and things from 2 meters to the horizon are in acceptable focus.

What changes it

Aperture. A smaller opening, like f/11, brings H closer to you and extends the zone. Open it up to f/2.8 and H moves far away. A nine-stop table shows the numbers side by side so you can pick the aperture that fits the scene.

Focal length. Wider lenses have far shorter hyperfocal distances. At 16mm, you might focus just over a meter away. At 200mm, H can be hundreds of meters.

Sensor size. Smaller sensors use a smaller circle of confusion, which changes the answer. Pick your camera format so the math matches.

What is the circle of confusion?

It's the largest blur spot you'd still call sharp when viewing a print at a normal size. A bigger sensor allows a bigger value. It's a judgment, not a physical law. If you plan to print huge or crop a lot, use a stricter value.

In the field

Set your aperture, look up H, then turn the focus ring to that distance. Many modern lenses have no distance scale, so you may need to focus on an object at that distance, or use live view and pace it out. Stop down a little extra for a safety margin.

When not to use it

Skip hyperfocal focusing when a subject must be critically sharp, like a portrait or a close-up of a flower. The method gives you acceptable sharpness everywhere and perfect sharpness nowhere. For a wide scenic shot with a key foreground element, focus stacking may serve you better.