Depth of field · APS-C

40 mm f/8 depth of field on APS-C

Exactly how much is sharp with a 40 mm lens at f/8 on an APS-C camera, from 30.0 cm to 100 m.

10.0 m
Hyperfocal distance
5.02 m
Sharp from (focused at hyperfocal)
61 mm f/12.3
Full-frame equivalent
39°
Diagonal angle of view

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 distanceNear limitFar limitTotal DoFFront / behindBackground blur
30.0 cm (0.98 ft)29.2 cm30.8 cm1.6 cm49% / 51%3.27%
50.0 cm (1.64 ft)47.8 cm52.4 cm4.6 cm48% / 52%1.85%
75.0 cm (2.46 ft)70.0 cm80.7 cm10.7 cm46% / 54%1.20%
1.00 m (3.28 ft)91.2 cm1.11 m19.4 cm45% / 55%0.89%
1.50 m (4.92 ft)1.31 m1.76 m44.8 cm43% / 57%0.58%
2.00 m (6.56 ft)1.67 m2.49 m81.5 cm40% / 60%0.43%
3.00 m (9.84 ft)2.31 m4.26 m1.95 m35% / 65%0.29%
4.00 m (13.1 ft)2.87 m6.62 m3.76 m30% / 70%0.21%
5.00 m (16.4 ft)3.34 m9.92 m6.58 m25% / 75%0.17%
7.00 m (23.0 ft)4.13 m23.0 m18.9 m15% / 85%0.12%
10.0 m (32.8 ft)5.01 m2.5 km2.5 km0% / 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#

Near limit—
Far limit—
Depth of field—
Hyperfocal distance—
In front / behind—

40 mm at other apertures (subject at 3 m)#

ApertureTotal DoFHyperfocal
f/1.226.7 cm66.7 m
f/1.431.2 cm57.2 m
f/1.840.1 cm44.5 m
f/244.6 cm40.0 m
f/2.862.8 cm28.6 m
f/490.8 cm20.0 m
f/5.61.30 m14.3 m
f/81.95 m10.0 m
f/112.93 m7.31 m
f/165.47 m5.04 m

Other focal lengths at f/8#

Focal lengthSubject atTotal DoF
14 mm3.00 m∞
16 mm3.00 m∞
20 mm3.00 m∞
24 mm3.00 m15.7 m
28 mm3.00 m5.76 m
35 mm3.00 m2.73 m
40 mm3.00 m1.95 m
50 mm3.00 m1.17 m
85 mm3.00 m38.9 cm
105 mm3.00 m25.3 cm
135 mm3.00 m15.1 cm
200 mm10.0 m78.5 cm
300 mm10.0 m34.5 cm
400 mm10.0 m19.2 cm
600 mm10.0 m8.4 cm

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