Home · Math · Plane Geometry · Hyperfocal Distance Calculator
Hyperfocal Distance Calculator
Hyperfocal distance of a lens from focal length, f-number and circle of confusion: focus there and everything from half that distance to infinity is acceptably sharp.
What this calculator does
Hyperfocal distance of a lens from focal length, f-number and circle of confusion: focus there and everything from half that distance to infinity is acceptably sharp. Every figure on this page is computed from the formula or definition stated below, with no hidden rounding steps, and the method notes name the exact convention where more than one exists.
The formula and method
The hyperfocal distance is H = f^2/(N c) + f, with f the focal length, N the f-number and c the circle of confusion, all in millimetres, converted here to metres. The circle of confusion depends on sensor size and viewing standards - 0.029 mm is a common full-frame figure; it is left as your input.
Focusing at H makes the far depth-of-field limit infinity and the near limit about H/2. Smaller c (stricter sharpness) pushes H further away.
Worked example
With the example inputs this page opens with (focal length (mm) 24, f-number n 8, circle of confusion (mm) 0.029), the result is 2.51 — hyperfocal distance. Change any figure and the result updates with the same formula.
Quick reference
| Focal length (mm) | Hyperfocal distance |
|---|---|
| 12 | 0.63 |
| 19.2 | 1.61 |
| 24 | 2.51 |
| 30 | 3.91 |
| 36 | 5.62 |
| 48 | 9.98 |
Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.
Common questions
How does the Hyperfocal Distance Calculator work?
Hyperfocal distance of a lens from focal length, f-number and circle of confusion: focus there and everything from half that distance to infinity is acceptably sharp. Focal length - f-number - Circle of confusion -> Hyperfocal distance (m). The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.
What inputs does the Hyperfocal Distance Calculator need?
Focal length - f-number - Circle of confusion -> Hyperfocal distance (m). Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.
Is the Hyperfocal Distance Calculator free to use?
Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.