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
Hyperfocal distancem
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.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
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.
- Focal length, in mm: enter 1 or more.
- Aperture (f-number, e.g. 8 for f/8): enter 0.5 or more.
- Circle of confusion, in mm: enter 0.001 or more.
- 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
| Symbol | Meaning | Unit |
|---|---|---|
| Focal length | mm | |
| Aperture (f-number, e.g. 8 for f/8) | ||
| Circle of confusion | mm | |
| Hyperfocal distance | mm | |
| Hyperfocal distance | m |
Worked example
| Focal length | 24 mm |
|---|---|
| Aperture (f-number, e.g. 8 for f/8) | 8 |
| Circle of confusion | 0.03 mm |
| Hyperfocal distance (mm) | 2,424 |
|---|---|
| Hyperfocal distance (ft) | 7.9528 |
| Nearest sharp distance when focused at the hyperfocal distance (m) | 1.212 |
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.