Depth of field and hyperfocal distance

Database › Physics › Optics › Optical design

OPT-0062FormulaUndergraduate

The range of distances that appear sharp grows with f-number and subject distance and shrinks with focal length: DOF ≈ 2Ncs²/f²; focusing at the hyperfocal distance f²/Nc keeps everything from half that distance to infinity sharp.

$${\rm DOF}\approx\frac{2Ncs^2}{f^2}\ \ (f\ll s\ll H),\qquad H\approx\frac{f^2}{Nc}$$

Explanation

$c$ is the acceptable blur (circle of confusion) on the sensor, $N$ the f-number, $s$ the focus distance. Points nearer or farther than $s$ image as blur discs whose diameter grows with aperture $D=f/N$; requiring the disc to be smaller than $c$ gives the near and far limits. Stopping down (larger $N$) increases DOF proportionally but eventually diffraction ($\sim2.44\lambda N$) limits sharpness.

Small-sensor cameras have short focal lengths for the same field of view, hence large DOF; portrait photography uses long focal lengths and wide apertures to blur the background. Microscopes have tiny DOF ($\sim\lambda n/{\rm NA}^2$).

Example 1

A 50 mm lens at $f/8$ is focused at 3.0 m with $c=0.030$ mm. Estimate the depth of field and the hyperfocal distance.

Solution

${\rm DOF}\approx\frac{2(8)(3.0\times10^{-5})(3.0)^2}{(0.050)^2}\approx1.7$ m; $H\approx\frac{(0.050)^2}{8\times3.0\times10^{-5}}\approx10$ m, so focusing at 10 m makes everything from 5 m to infinity acceptably sharp.

Example 2

How does the depth of field change when the lens is stopped down by one stop?

Solution

One stop multiplies $N$ by $\sqrt2$, so DOF grows by $\sqrt2$ (and the exposure halves).

Related entries