Things You'll Need
Instructions
Compose the image. A photographer must know what he wants in his image before he can decide where to focus.
Determine which aperture (f-stop) to use. A large aperture will give a much narrower depth of field than a smaller aperture.
Find the lens focal length and the lens aperture f-stop.
Determine the circle of least confusion, which is the acceptable sharpness in an 8x10 print at normal viewing distance. The generally accepted numbers are .02 for digital cameras, .03 for 35mm cameras and .15 for 4-inch by 5-inch medium format cameras.
Plug those numbers into the hyperfocal distance formula: lens focal length times lens focal length divided by f-stop times diameter.