Depth of field by subject distance#
40 mm at f/8 on full frame (36×24 mm), circle of confusion 30 µ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.9 cm | 31.2 cm | 2.3 cm | 48% / 52% | 2.14% |
| 50.0 cm (1.64 ft) | 46.8 cm | 53.7 cm | 6.9 cm | 47% / 53% | 1.21% |
| 75.0 cm (2.46 ft) | 67.8 cm | 83.9 cm | 16.2 cm | 45% / 55% | 0.78% |
| 1.00 m (3.28 ft) | 87.4 cm | 1.17 m | 29.4 cm | 43% / 57% | 0.58% |
| 1.50 m (4.92 ft) | 1.23 m | 1.92 m | 69.0 cm | 39% / 61% | 0.38% |
| 2.00 m (6.56 ft) | 1.55 m | 2.83 m | 1.29 m | 35% / 65% | 0.28% |
| 3.00 m (9.84 ft) | 2.08 m | 5.40 m | 3.32 m | 28% / 72% | 0.19% |
| 4.00 m (13.1 ft) | 2.51 m | 9.85 m | 7.34 m | 20% / 80% | 0.14% |
| 5.00 m (16.4 ft) | 2.87 m | 19.5 m | 16.7 m | 13% / 87% | 0.11% |
| 7.00 m (23.0 ft) | 3.42 m | ∞ | ∞ | — | 0.08% |
| 10.0 m (32.8 ft) | 4.01 m | ∞ | ∞ | — | 0.06% |
| 15.0 m (49.2 ft) | 4.62 m | ∞ | ∞ | — | 0.04% |
| 20.0 m (65.6 ft) | 5.01 m | ∞ | ∞ | — | 0.03% |
| 30.0 m (98.4 ft) | 5.46 m | ∞ | ∞ | — | 0.02% |
| 50.0 m (164 ft) | 5.89 m | ∞ | ∞ | — | 0.01% |
| 100 m (328 ft) | 6.25 m | ∞ | ∞ | — | 0.01% |
Try other settings#
40 mm at other apertures (subject at 3 m)#
Other focal lengths at f/8#
Same lens settings on other formats#
When to use it#
At f/8, a 40 mm lens on full frame is a natural choice for landscapes and architecture where front-to-back sharpness matters. Focused at 3 m you get 3.32 m of sharp zone; for maximum front-to-back sharpness focus at 6.71 m and everything from 3.35 m to infinity will be acceptably sharp.
See also the f/8 aperture guide.
Frequently asked questions#
What is the depth of field of a 40mm lens at f/8?
On full frame, focused at 3 m, it is 3.32 m; at 1 m it is 29.4 cm.
What is the hyperfocal distance for 40mm f/8?
6.71 m (22.0 ft) on full frame. Everything from 3.35 m to infinity is acceptably sharp.
Last updated October 03, 2026 · How we calculate · Sources