Depth of field by subject distance#
40 mm at f/16 on APS-C (23.5×15.6 mm), circle of confusion 20 µm. “Background blur” is the size of an out-of-focus light at infinity as a percentage of frame width.
| Focus distance | Near limit | Far limit | Total DoF | Front / behind | Background blur |
|---|---|---|---|---|---|
| 30.0 cm (0.98 ft) | 28.5 cm | 31.6 cm | 3.1 cm | 47% / 53% | 1.64% |
| 50.0 cm (1.64 ft) | 45.8 cm | 55.1 cm | 9.3 cm | 45% / 55% | 0.93% |
| 75.0 cm (2.46 ft) | 65.7 cm | 87.4 cm | 21.7 cm | 43% / 57% | 0.60% |
| 1.00 m (3.28 ft) | 83.9 cm | 1.24 m | 39.9 cm | 40% / 60% | 0.44% |
| 1.50 m (4.92 ft) | 1.16 m | 2.12 m | 95.8 cm | 35% / 65% | 0.29% |
| 2.00 m (6.56 ft) | 1.44 m | 3.29 m | 1.85 m | 30% / 70% | 0.22% |
| 3.00 m (9.84 ft) | 1.88 m | 7.35 m | 5.47 m | 20% / 80% | 0.14% |
| 4.00 m (13.1 ft) | 2.23 m | 19.2 m | 17.0 m | 10% / 90% | 0.11% |
| 5.00 m (16.4 ft) | 2.51 m | 625 m | 622 m | 0% / 100% | 0.09% |
| 7.00 m (23.0 ft) | 2.93 m | ∞ | ∞ | — | 0.06% |
| 10.0 m (32.8 ft) | 3.34 m | ∞ | ∞ | — | 0.04% |
| 15.0 m (49.2 ft) | 3.76 m | ∞ | ∞ | — | 0.03% |
| 20.0 m (65.6 ft) | 4.01 m | ∞ | ∞ | — | 0.02% |
| 30.0 m (98.4 ft) | 4.29 m | ∞ | ∞ | — | 0.01% |
| 50.0 m (164 ft) | 4.55 m | ∞ | ∞ | — | 0.01% |
| 100 m (328 ft) | 4.76 m | ∞ | ∞ | — | 0.00% |
Try other settings#
40 mm at other apertures (subject at 3 m)#
Other focal lengths at f/16#
Same lens settings on other formats#
When to use it#
At f/16, a 40 mm lens on APS-C is a natural choice for landscapes and architecture where front-to-back sharpness matters. Focused at 3 m you get 5.47 m of sharp zone; for maximum front-to-back sharpness focus at 5.04 m and everything from 2.52 m to infinity will be acceptably sharp.
See also the f/16 aperture guide.
Frequently asked questions#
What is the depth of field of a 40mm lens at f/16?
On APS-C, focused at 3 m, it is 5.47 m; at 1 m it is 39.9 cm.
What is the hyperfocal distance for 40mm f/16?
5.04 m (16.5 ft) on APS-C. Everything from 2.52 m to infinity is acceptably sharp.
Last updated October 03, 2026 · How we calculate · Sources