Hyperfocal Distance Calculator

Calculate hyperfocal distance and depth of field limits for sharper landscape and architectural photographs.

Lens and Focus Settings
Enter focal length, aperture, circle of confusion, and current focus distance.

About Hyperfocal Distance

Hyperfocal distance is the nearest focus distance at which objects at infinity remain acceptably sharp for a selected focal length, aperture, and circle of confusion. When a lens is focused at that distance, the depth of field extends from approximately half the hyperfocal distance to infinity. Landscape, street, travel, and architectural photographers use this relationship when they need foreground detail and distant scenery to appear sharp in one frame. The calculator uses the standard thin-lens equation H equals focal length squared divided by aperture times circle of confusion, plus focal length. All three values in that equation use millimeters, and the displayed answer is converted to meters. A shorter focal length, smaller aperture opening represented by a larger f-number, or larger accepted circle of confusion reduces the hyperfocal distance. A longer lens or wider aperture increases it. The near and far focus limits are then calculated from the chosen subject focus distance. Circle of confusion represents the largest blur spot considered acceptably sharp in the final image. A commonly used value for full-frame 35 mm cameras is 0.03 mm, while APS-C cameras often use roughly 0.02 mm and Micro Four Thirds cameras roughly 0.015 mm. These are conventions rather than absolute physical boundaries. Large prints, close viewing, high-resolution sensors, and significant cropping may justify a smaller value and therefore a more conservative result. Depth of field does not make every point equally sharp. The exact focus plane remains sharpest, while detail gradually softens toward the calculated limits. Diffraction can also reduce fine detail at very small apertures, so stopping down indefinitely is not always ideal. Use this result as a practical planning guide, confirm the scene with magnified live view when possible, and allow extra margin when the nearest subject is critical. Measuring or estimating the actual subject distance carefully improves the usefulness of both limits. Lens markings may be approximate, so field testing remains valuable.

Hyperfocal Examples

SettingsHyperfocal distanceUse case
24 mm, f/11, CoC 0.03 mm1.77 mWide landscape
35 mm, f/8, CoC 0.03 mm5.14 mStreet scene
50 mm, f/8, CoC 0.03 mm10.47 mNormal lens

How to Use the Calculator

  1. Enter the lens focal length in millimeters.
  2. Enter the working aperture as an f-number.
  3. Choose a circle of confusion suitable for the camera format.
  4. Enter the actual focus distance and calculate the depth-of-field limits.

Frequently Asked Questions

What is hyperfocal distance?

It is the closest focus setting that keeps infinity acceptably sharp. Focusing there produces the greatest practical depth of field toward the horizon.

Which circle of confusion should I use?

A traditional full-frame value is 0.03 mm, APS-C is about 0.02 mm, and Micro Four Thirds is about 0.015 mm. Use a smaller value for demanding enlargements or close viewing.

Why is the far limit infinity?

The far limit reaches infinity when the selected focus distance is at or beyond the hyperfocal distance. The near limit still shows where acceptable sharpness begins.

Does sensor resolution change the result?

Resolution is not directly in the conventional formula. However, high-resolution output may motivate a smaller circle of confusion and a stricter sharpness standard.

Should I always focus exactly at hyperfocal distance?

Not necessarily, because the main subject may deserve the sharpest focus plane. Hyperfocal focusing is most useful when broad near-to-far sharpness matters more than peak sharpness at one distance.