Depth of field by subject distance#
40 mm at f/8 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) | 29.2 cm | 30.8 cm | 1.6 cm | 49% / 51% | 3.27% |
| 50.0 cm (1.64 ft) | 47.8 cm | 52.4 cm | 4.6 cm | 48% / 52% | 1.85% |
| 75.0 cm (2.46 ft) | 70.0 cm | 80.7 cm | 10.7 cm | 46% / 54% | 1.20% |
| 1.00 m (3.28 ft) | 91.2 cm | 1.11 m | 19.4 cm | 45% / 55% | 0.89% |
| 1.50 m (4.92 ft) | 1.31 m | 1.76 m | 44.8 cm | 43% / 57% | 0.58% |
| 2.00 m (6.56 ft) | 1.67 m | 2.49 m | 81.5 cm | 40% / 60% | 0.43% |
| 3.00 m (9.84 ft) | 2.31 m | 4.26 m | 1.95 m | 35% / 65% | 0.29% |
| 4.00 m (13.1 ft) | 2.87 m | 6.62 m | 3.76 m | 30% / 70% | 0.21% |
| 5.00 m (16.4 ft) | 3.34 m | 9.92 m | 6.58 m | 25% / 75% | 0.17% |
| 7.00 m (23.0 ft) | 4.13 m | 23.0 m | 18.9 m | 15% / 85% | 0.12% |
| 10.0 m (32.8 ft) | 5.01 m | 2.5 km | 2.5 km | 0% / 100% | 0.09% |
| 15.0 m (49.2 ft) | 6.01 m | ∞ | ∞ | — | 0.06% |
| 20.0 m (65.6 ft) | 6.68 m | ∞ | ∞ | — | 0.04% |
| 30.0 m (98.4 ft) | 7.51 m | ∞ | ∞ | — | 0.03% |
| 50.0 m (164 ft) | 8.34 m | ∞ | ∞ | — | 0.02% |
| 100 m (328 ft) | 9.09 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 APS-C is a natural choice for landscapes and architecture where front-to-back sharpness matters. Focused at 3 m you get 1.95 m of sharp zone; for maximum front-to-back sharpness focus at 10.0 m and everything from 5.02 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 APS-C, focused at 3 m, it is 1.95 m; at 1 m it is 19.4 cm.
What is the hyperfocal distance for 40mm f/8?
10.0 m (32.9 ft) on APS-C. Everything from 5.02 m to infinity is acceptably sharp.
Last updated October 03, 2026 · How we calculate · Sources