Hyperfocal Distance Calculator

Calculate hyperfocal distance from lens focal length, aperture, and circle of confusion.
Focusing here gives maximum depth of field for landscapes.

Hyperfocal Distance

The hyperfocal distance is the focus distance that gives maximum depth of field. When focused at the hyperfocal distance, everything from half that distance to infinity is acceptably sharp.

The formula: H = f² / (N × c) + f

Where:

  • H = hyperfocal distance
  • f = focal length (in mm)
  • N = f-number (aperture)
  • c = circle of confusion (in mm)

You will often see this written without the trailing + f. Dropping it is a fair simplification, because the focal length is tiny next to the hyperfocal distance, but it does mean two calculators can hand you slightly different numbers for the same lens. At 24mm f/11 the two forms give 5.7 ft and 5.8 ft. We keep the + f so this page and the depth-of-field calculator always agree.

Why it matters for landscape photography: Focusing at infinity wastes half your depth of field behind the infinity point, where nothing exists. Focusing at the hyperfocal distance extends sharpness much closer to the camera while keeping infinity sharp.

Example: With a 24mm lens at f/11 on a full-frame camera: H = 24² / (11 × 0.030) + 24 = 576 / 0.33 + 24 = 1,769 mm ≈ 5.8 feet

Focus at 5.8 feet and everything from about 2.9 feet to infinity is sharp. If you focused at infinity instead, everything closer than 5.8 feet would be blurry. The near limit is half the hyperfocal distance. That is an approximation, though a very close one at normal shooting distances.

Circle of confusion values:

  • Full-frame: 0.030 mm
  • APS-C: 0.020 mm
  • Micro Four Thirds: 0.015 mm

Smaller sensors have a shorter hyperfocal distance at equivalent framing, and this is one reason they produce images with greater apparent depth of field. The wording matters, because at the same focal length the effect runs the other way: a smaller sensor has a smaller circle of confusion, which is a stricter sharpness test, which pushes the hyperfocal distance further out.

Run the numbers on a 24mm at f/11. Full frame gives 5.8 ft. Micro Four Thirds, same lens, gives 11.5 ft, almost double. But you would not shoot 24mm on Micro Four Thirds to get a full-frame 24mm view, you would shoot 12mm, and 12mm at f/11 gives 2.9 ft. That is the comparison the shorthand is really making.

Practical tips:

  • Use Live View magnification to focus precisely at the hyperfocal distance.
  • Mark the distance on your lens barrel with a piece of tape for quick reference.
  • A wider lens and smaller aperture give a closer hyperfocal distance (more DOF).
  • Avoid apertures smaller than f/16 on most lenses due to diffraction softening.
  • For critical landscape work, focus stacking at wider apertures often produces sharper results than using very small apertures.

How we build and check this calculator

This calculator runs entirely in your browser, so the numbers you enter stay on your device. The math behind it is written by hand and tested against worked examples and standard references before the page goes live.

SuperGlobalCalculator is independently built and maintained. See how we build and verify our calculators.


Embed This Calculator

Copy the code below and paste it into your website or blog.
The calculator will work directly on your page.