Depth of Field Calculator
Pick sensor, focal length, aperture and focus distance — get the total depth of field, the near and far limits and the hyperfocal distance, instantly.
Your camera & lens
How depth of field is calculated
Depth of field is derived from the hyperfocal distance (H) and the focus distance (s):
From the hyperfocal you get the near limit and the far limit, and their difference is the total depth. The circle of confusion is taken as the sensor diagonal ÷ 1500 (0.029 mm on full frame), a common convention; with 0.030 mm, another value widely used on full frame, the depth comes out slightly larger. A narrower aperture, shorter focal length, farther subject and smaller sensor all increase depth.
Depth of field example at f/1.8
A 50 mm f/1.8 on full frame, focused at 2 m:
- Hyperfocal ≈ 48.20 m; total depth ≈ 16.2 cm.
- Sharp from 1.92 m to 2.08 m, with 78 mm in front of the subject — nicely blurred background.
Stop down to f/8 and the depth grows to 74.4 cm (1.69 m to 2.44 m). In macro it shrinks to almost nothing: a 100 mm f/2.8 at 0.5 m gives just 3.2 mm of sharp zone.