Skip to content
FiftyCalc Free calculators for all 50 states

Hyperfocal Distance Calculator

Test cases replayed : 2 of 2 match · Methodology · No outside source listed

Enter your lens focal length, aperture and circle of confusion to find where to focus so everything from half that distance to infinity looks sharp.

Result

Sample figures

Hyperfocal distance—m

Hyperfocal distance (mm) —

  • Hyperfocal distance (ft)—
  • Nearest sharp distance when focused at the hyperfocal distance (m)—

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Hyperfocal Distance Calculator

Focal length, in mm: enter 1 or more. Prefilled example: 24.

Aperture (f-number, e.g. 8 for f/8): enter 0.5 or more. Prefilled example: 8.

Circle of confusion, in mm: enter 0.001 or more. Prefilled example: 0.03.

Affiliate link

This is an affiliate link. As an Amazon Associate I earn from qualifying purchases. This does not change the result.

Search Amazon for camera lenses. Visit Amazon

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Focal length, in mm: enter 1 or more.
  2. Aperture (f-number, e.g. 8 for f/8): enter 0.5 or more.
  3. Circle of confusion, in mm: enter 0.001 or more.
  4. Read the result: Hyperfocal distance; the panel also shows Hyperfocal distance (mm), Hyperfocal distance (ft) and Nearest sharp distance when focused at the hyperfocal distance (m).

How this calculator works

H = f² ÷ (N × c) + f, where f is the focal length, N the f-number and c the circle of confusion, all in millimeters. This is the standard thin-lens depth-of-field result: focused at H, the depth of field runs from H ÷ 2 to infinity.

The circle of confusion is the largest blur spot that still looks like a point in the final image. It depends on the sensor or film size and on how large the picture will be viewed; smaller values give a longer, stricter hyperfocal distance.

Millimeters are turned into feet at 304.8 mm per foot (1 ft = 0.3048 m exactly, NIST SP 811 Appendix B, read 2026-10-27).

The formula

  1. Hmm=f2N×c+f
  2. Hm=Hmm1,000
Symbols used in the formula
SymbolMeaningUnit
fFocal lengthmm
NAperture (f-number, e.g. 8 for f/8)
cCircle of confusionmm
HmmHyperfocal distancemm
HmHyperfocal distancem

Worked example

Focal length24 mm
Aperture (f-number, e.g. 8 for f/8)8
Circle of confusion0.03 mm
Hyperfocal distance (mm)2,424
Hyperfocal distance (ft)7.9528
Nearest sharp distance when focused at the hyperfocal distance (m)1.212
  1. Hmm=2428×0.03+24=2,424
  2. Hm=2,4241,000=2.424

Hyperfocal distance 2.424 m

Each step uses the unrounded value of the step before it; figures on this page are rounded for display.

Frequently asked questions

What is the hyperfocal distance of a 24 mm lens at f/8?

With a 0.03 mm circle of confusion it is about 2.42 m (7.95 ft); focus there and everything from about 1.21 m to infinity is acceptably sharp.

Does a smaller aperture shorten the hyperfocal distance?

Yes. H falls roughly in proportion to 1 ÷ N, so stopping down from f/8 to f/16 about halves it.

Related calculators