Calculate Depth of Focus for Cameras
copyright: Lindolfi
Enter Values:

Viewing Distance to Photo (mm): 250 mm is reading distance
Photo Length (mm): 150 mm is standard  postcard length
Resolution human eye in degrees: 0.02 is about right
Film Longest Dimension (mm): 36, 56, 68, 88, 112, 120 and 244 are current values in mm .
Scanned Resolution in dpi: the scanned value or double the value of linepairs per mm. on film
Focal length lens (mm): the real value, do not include crop factor!(
Stop number: from camera
Focus distance lens to object (mm): estimate or use measuring tape

Lens opening (mm) the real opening of the lens
Size of 1 unit (mm) in photo visible eye limited
Size of 1 unit (mm) in film visible eye limited
Size of 1 unit (mm) due to diffraction limitation due to small opening
Size of 1 real unit (mm) in chip the real size
Limiting unit in film (mm) image unit that  is just visible
Image distance (mm) distance lens to chip
Image distance further (mm) distance lens to image of object further from camera
Image distance closer (mm) distance lens to image of object closer to camera
Object distance further (mm) distance object-lens further from camera
Object distance closer (mm) distance object-lens closer to camera
Depth of Focus (mm) final result

Hyperfocal Distance (m) focus distance for which the image will be in focus up to infinity

Met dank aan Helco van Keeken