Depth-of-Field Calculator

To find the near, far, and hyperfocal distances select the desired Film Format, Focal Length, and Aperture and enter a value for Object Distance. Clicking the "Generate" button will calculate the near, far, and hyperfocal distances. In addition, a table showing the near and far distances for a variety of aperture and object distance combinations for the focal length you chose will be generated as a handy reference.

Film
Format
Focal
Length
Aperture Object
Distance
Near
Distance
Far
Distance
Hyperfocal
Distance
The unit of measure is meters  feet.

 

The formula used were extracted from the references supplied and are as follows:


Hyperfocal Distance = Focal Length of Lens 2 / (Aperture * Circle of Confusion Diameter)

Circle of Confusion Diameter (Zeiss formula) = Diagonal Measure of Film / 1730

Near Distance = (Hyperfocal*Object Distance) / (Hyperfocal + (Object Distance-Focal Length))

Far Distance = (Hyperfocal*Object Distance) / (Hyperfocal - (Object Distance-Focal Length))
      

References:

"Mastering Large-Format Depth-of-Field", by Gerry Russell, Mastering Black-and-White Photography, Vol. II (Annual Special #7), Darkroom and Creative Camera Techniques'

"Depth-of-Field of Camera Lenses", Photo-lab Index, 1971

Note: This originally came from http://www.par.univie.ac.at/~bob/photo/DOF.html. However, I found an apparent error in the formula used to calculate the Circle of Confusion - I updated this to use the Zeiss formula. In addition, changes were made to write the Depth of Field table to a new window formatted in a nice table for printing.