Depth of Field

From near to infinity

         – A fresh look at Depth of Field (DoF) and how to quickly estimate it.

IMG_0880_396x175copyright
Copyright Chris Wildey, Shaftesbury Camera Club. All rights reserved.

 

And if anyone is interested, we have a unique and elegant Depth of Field slide rule calculator  for instant hyper-focal distances and DoF for any camera and every lens focal length-aperture combination!  It is extremely quick and easy to use and is a great learning tool, being of more practical use than anything you can find on the web or elsewhere.  When working close to the Hyperfocal Distance, it gives the traditional Near Point and Far Point distances.  At the same time, it gives the distances in front of and behind the true focus which is so much more useful when working closer than the Hyperfocal Distance, e.g. macro work!  It works for apertures from f/1 to f/128 (but ignores diffraction effects) and focal lengths from less than 10mm to well over 1000mm, and all cameras up to medium and large formats.

————————————————-

Depth of Field (DoF) describes how far in front of the main subject, and how far behind it, your images are acceptably sharp.  Sometimes you want very large DoF.  For example landscapes may need a foreground object such as a tree stump in sharp focus while keeping the distant horizon equally sharp.  At other times you may need a very shallow DoF so that perhaps one flower is sharply in focus with others either closer or further away nicely blurred.

  • In summary, for landscapes requiring maximum DoF, use a wide angle lens and fairly small aperture such as f/11 or even smaller.  For minimum DoF, use a medium telephoto at its full aperture focused as close as possible to the camera.  

Small cameras with their small sensors have a much wider DoF than 35mm or APC-S cameras.  Very large format cameras have an extremely small DoF which is one reason why professionals use complex tilt-and-shift lenses.  Non-zoom lenses normally have a depth of field scale marked on the focus ring that help by showing large apertures such as f/2.8 have a narrow DoF while smaller ones (f/16, f/22, etc) are much wider.

For details about DoF theory, online calculators, and free software for making charts, see www.dofmaster.com .  This web site explains about the Circle of Confusion (CoC) and Hyperfocal Distance (HD).  Another excellent reference is http://en.wikipedia.org/wiki/Depth_of_field .  The CoC for 35mm format cameras (e.g. Canon 5D) is normally taken to be 0.030mm and 0.019mm for APS-C cameras (e.g. Canon 60D, 600D).  The CoC is determined by the human eye’s resolution when looking at a print at normal viewing distances; if you intend to crop heavily or print a very large poster, you would need to use a smaller CoC.  The CoC for a APS-C sensor is only some 4 or 5 times the pixel spacing so there would be no point in using a CoC of less than say 0.010mm where diffraction effects will also limit the sharpness that can be obtained.  For small compacts with their very short focal lengths, small sensors and tiny pixel spacing, the CoC can be as small as 0.004mm or about one tenth of the diameter of human hair.

For a more gentle introduction to Depth of Field concepts, you may prefer to look at http://www.cambridgeincolour.com/tutorials/depth-of-field.htm 

The Hyperfocal Distance is calculated using the actual focal length of the lens, the camera’s CoC and the selected aperture.  This is why many photographers prefer to use Av mode.  The importance of HD, the Hyperfocal Distance, is that if the lens is focused at this distance, then everything beyond this all the way to the far distance will be acceptably sharp.  Furthermore, the DoF will extend to halfway in front of the HD.

  • A lens focused at its Hyperfocal Distance will be in focus from half that distance to infinity

For example, a lens focused at its Hyperfocal Distance of 16 metres will show everything from 8 metres to infinity in focus.  If you want a tree stump 1.5 metre away to be in focus, you will need HD to be no more than 3 metres which for a APS-C DSLR 50mm lens means using f/45: this is impractical due to diffraction effects so using a wider angle shorter focal length 30mm lens means you only need f/16 – a much more practical setting.

A less recognised fact is that any lens focused at or close to infinity will show everything beyond the Hyperfocal Distance as in focus.
 
It is important to realise that images do not suddenly jump in and out of focus at the Depth of Field: the change of sharpness is quite slow and the overall sharpness effect will vary according to your viewing and printing conditions: if you print large or crop heavily, or stand very close to the image, choose a smaller reference value for Circle of Confusion.

Shallow Depth of Field: Knowing HD can also help to get a shallow DoF, e.g. portraits or when you need to separate the subject from a cluttered background.  However do note that the term “Depth of Field” relates to acceptable sharpness so if you want to throw background or foreground objects significantly out of focus, they will need to be several times further away than this calculated “Depth of Field”.  The Japanese have a term for the aesthetic quality of this out-of-focus effect – “bokeh”  http://en.wikipedia.org/wiki/Bokeh

Experience is by far the best guide to controlling DoF, plus using the DoF preview button on your SLR if the illumination is bright enough.  However a rule of thumb applies when you are focussing at or less than 1/10th of HD:-

  • focus distance 1/10th of HD, the DoF will be 1/10th of your focus distance in front & behind.
  • focus distance 1/20th of HD, the DoF will be 1/20th of your focus distance, and so on.

Remembering all this can be tricky so some people print out a hyperfocal chart tailored for each of their lenses.

Quickly calculating HD for APS-C lenses:  If you pride yourself on mental arithmetic, there is a convenient way of remembering the Hyperfocal Distances for APS-C zoom lens(es) which generally have focal length markings fitting the following sequence:

 18…24…35…50…70…100…135…200 mm

The Hyperfocal Distances for an aperture f/8 and APS-C (i.e. CoC of 0.019mm) matching these form a simple and well known geometric progression where each term is twice the one preceeding it…

  2,  4,  8,  16,  32,  64,  128,  256, … metres.

 So you just need to remember the combined sequence…

2@18, 4@24, 8@35, 16@50, 32@70, 64@100, 128@135, 256@200  at  f/8

 For other apertures, e.g. for f/16 just multiply the HD by 8/16 (i.e. half) or for f/4 multiply by 8/4 (i.e. two).

 For other cameras, the same sequence can be used but it is necessary to choose a different reference aperture.  For example, a full frame SLR camera with CoC = 0.030mm follows the sequence at f/5.0 although it might be easier to approximate this to f/5.6.

I hope this hasn’t confused you, and I’m always pleased to answer questions or queries.

      Chris