Near and far limits, hyperfocal distance and a visual diagram, for any camera and lens
One-click settings for common photography scenarios
Depth of field is the distance between the nearest and farthest points that look acceptably sharp. Four things set it: the aperture, the focal length, the distance to the subject and the sensor size. A wider aperture, a longer lens, a closer subject or a larger sensor at the same framing all make it shallower. The examples below come from the same formulas the calculator uses, with the standard circle of confusion.
| Setup | Sensor | Near limit | Far limit | Total depth | Hyperfocal | Calculator |
|---|---|---|---|---|---|---|
| 50 mm at f/2.8, subject at 3 m | Full frame | 2.74 m | 3.32 m | 57.7 cm | 31.00 m | Open |
| 85 mm at f/1.4, subject at 2.5 m | Full frame | 2.47 m | 2.53 m | 6.8 cm | 179.00 m | Open |
| 35 mm at f/8, subject at 3 m | Full frame | 1.92 m | 6.80 m | 4.87 m | 5.34 m | Open |
| 24 mm at f/11, focused at the hyperfocal distance | Full frame | 92.0 cm | โ | โ | 1.84 m | Open |
| 300 mm at f/4 with a 1.4x teleconverter, subject at 20 m | Full frame | 19.65 m | 20.37 m | 71.7 cm | 1092.49 m | Open |
| 50 mm at f/2.8, subject at 3 m | APS-C (1.5x) | 2.83 m | 3.20 m | 37.3 cm | 47.67 m | Open |
For a quick reference without the calculator, the hyperfocal distance chart lists full frame, APS-C and Micro Four Thirds lenses in metres and feet.
It uses the standard thin-lens depth of field formulas. The hyperfocal distance is H = fยฒ / (N ร c) + f, where f is the focal length, N the f-number and c the circle of confusion. With the subject at distance s, the near limit is s(H โ f) / (H + s โ 2f), and the far limit is s(H โ f) / (H โ s), or infinity once s reaches H.
The circle of confusion is the sensor diagonal divided by 1500, the convention for an 8ร10 inch print viewed from about 25 cm. That gives 0.029 mm on full frame, about 0.019 mm on Nikon, Sony and Fujifilm APS-C, 0.018 mm on Canon APS-C and 0.014 mm on Micro Four Thirds. The camera list stores the sensor height, and the calculator works out the diagonal from the format's aspect ratio. A teleconverter multiplies both the focal length and the f-number, so a 300 mm f/4 lens with a 1.4x converter is treated as 420 mm at f/5.6. The circle of confusion guide explains where the standard comes from.
The sensor diagonal divided by 1500: 0.029 mm on full frame. If you print large or inspect pixels closely, set a smaller value under Advanced Settings. Halving the circle of confusion halves the depth of field and doubles the hyperfocal distance.
Mostly because they use a different circle of confusion. Some use 0.030 mm or 0.025 mm for full frame, and some base it on the sensor height instead of the diagonal. Depth of field scales with the circle of confusion, so check which value a calculator assumes before comparing results.
Yes. At the same distance, a 1.4x converter makes the zone about 1.4 times shallower: a 300 mm f/4 lens at 20 m has about 1.0 m in focus, and with a 1.4x converter about 0.72 m. At the same framing it behaves like a native lens of the new focal length and f-number. The teleconverter guide has the details.
The formulas are accurate at normal distances. In close-up and macro work, where the subject is within a few focal lengths of the lens, use the magnification-based formula in the focus stacking guide, and remember that many lenses change their focal length slightly at close focus. Treat every result as a starting point and check a test frame.
Each guide explains one part of depth of field, with the numbers behind it. Browse all guides.