Depth of field by subject distance#
40 mm at f/2 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) | 29.7 cm | 30.3 cm | 0.6 cm | 50% / 50% | 8.55% |
| 50.0 cm (1.64 ft) | 49.2 cm | 50.9 cm | 1.7 cm | 49% / 51% | 4.83% |
| 75.0 cm (2.46 ft) | 73.1 cm | 77.1 cm | 4.0 cm | 49% / 51% | 3.13% |
| 1.00 m (3.28 ft) | 96.5 cm | 1.04 m | 7.2 cm | 48% / 52% | 2.31% |
| 1.50 m (4.92 ft) | 1.42 m | 1.59 m | 16.5 cm | 47% / 53% | 1.52% |
| 2.00 m (6.56 ft) | 1.86 m | 2.16 m | 29.6 cm | 46% / 54% | 1.13% |
| 3.00 m (9.84 ft) | 2.70 m | 3.37 m | 67.4 cm | 44% / 56% | 0.75% |
| 4.00 m (13.1 ft) | 3.48 m | 4.70 m | 1.21 m | 43% / 57% | 0.56% |
| 5.00 m (16.4 ft) | 4.22 m | 6.14 m | 1.93 m | 41% / 59% | 0.45% |
| 7.00 m (23.0 ft) | 5.55 m | 9.47 m | 3.92 m | 37% / 63% | 0.32% |
| 10.0 m (32.8 ft) | 7.28 m | 16.0 m | 8.68 m | 31% / 69% | 0.22% |
| 15.0 m (49.2 ft) | 9.61 m | 34.2 m | 24.6 m | 22% / 78% | 0.15% |
| 20.0 m (65.6 ft) | 11.4 m | 79.5 m | 68.1 m | 13% / 87% | 0.11% |
| 30.0 m (98.4 ft) | 14.1 m | ∞ | ∞ | — | 0.07% |
| 50.0 m (164 ft) | 17.4 m | ∞ | ∞ | — | 0.04% |
| 100 m (328 ft) | 21.1 m | ∞ | ∞ | — | 0.02% |
Try other settings#
40 mm at other apertures (subject at 3 m)#
Other focal lengths at f/2#
Same lens settings on other formats#
When to use it#
At f/2, a 40 mm lens on full frame is a natural choice for environmental portraits, street and low light. Focused at 3 m you get 67.4 cm of sharp zone; for maximum front-to-back sharpness focus at 26.7 m and everything from 13.4 m to infinity will be acceptably sharp.
See also the f/2 aperture guide.
Frequently asked questions#
What is the depth of field of a 40mm lens at f/2?
On full frame, focused at 3 m, it is 67.4 cm; at 1 m it is 7.2 cm.
What is the hyperfocal distance for 40mm f/2?
26.7 m (87.6 ft) on full frame. Everything from 13.4 m to infinity is acceptably sharp.
Last updated October 03, 2026 · How we calculate · Sources