33
\$\begingroup\$

I can use a DoF calculator, or crunch the heavy math by hand if I really want to know exactly what my DoF is going to be... but most of the time knowing exactly is actually overkill, and taking the time to pull out a DoF calculator is impractical. I'm wondering if anyone knows of a 'rule of thumb' that is common for quickly figuring out a rough estimate of what my DoF will be when I'm in the field...

\$\endgroup\$

6 Answers 6

36
\$\begingroup\$

Depth of field formulas are indeed complex and nonlinear, but they still afford useful rules of thumb. For medium subject distances (not too close to the lens, compared to its focal length, and not so far away that the DoF extends to infinity), the DoF is approximately proportional to:

  • The f-stop.

  • The square of the distance.

  • The inverse square of the lens's focal length.

This assumes a given standard of blurriness (usually quantified as the diameter of the circle of confusion), which depends on your sensor, intended magnification of the ultimate images, your visual acuity, and many other things. For this reason I'm not going to recommend one rule for everyone, but rather will explain how to develop your own rule(s) for your own purposes.

To make this aproximation work, you only need to know the DoF for a standard f-stop, a standard distance, and a standard lens, chosen in advance by you. For instance, let's set the diameter of the circle of confusion to 0.02 mm (a fairly small size, but not uncommon). Then, using an online DoF calculator, we obtain a depth of field of 1.59 m = 5.2 feet for a subject at 10 meters from a 100 mm lens at f/4. Using only these data (10m, 100mm, f/4, 5.2 ft), we can now anticipate the DoF for any similar exposure combination by making a series of simple adjustments. For example,

  • Doubling the f-stop from f/4 to f/8 should double the DoF from 5.2 to 10.4 feet. (Actual value: 10.66 feet.) Halving the f-stop from f/4 to f/2 should halve the DoF from 5.2 to 2.6 feet. (Actual value: 2.59 feet.)

  • Now, continuing from f/2, halving the subject distance to 5 meters should divide the DoF by four, giving 2.6/4 = 0.65 feet. (Actual value: 0.66 feet.)

  • Halving the lens's focal length from 100 mm to 50 mm should quadruple the DoF. Continuing from the previous result, it should go from 0.65 ft back to 2.6 feet. (Actual value: 2.62 feet.)

In this example we have worked out the DoF at 5 meters for a 50 mm lens at f/2 using simple multiplications and divisions and we have made only an inconsequential error of less than 1% in our estimate.

Thus, if you choose a standard combination of focal length, f-stop, and subject distance close to those about which you are usually concerned, you need only memorize a single DoF value which you can rescale as appropriate in the field.

Typically, you might work out the DoF for a trial shot and then use this rule of thumb to anticipate the effects of proposed changes (of distance to subject, aperture, and even choice of lens) on the DoF. This needn't even involve a calculation. For example, after examining an initial shot closely, you might decide you need twice the depth of field (even though you don't know exactly, as a number, what the current DoF really is). Your options therefore include:

  • Double the f-stop. (Watch out, though, for diffraction blurring once the aperture gets smaller than a few millimeters!)

  • Move back from the subject to increase its distance to the lens by about 40% (1.4^2 = 2 more or less).

  • Use a lens of about 0.7 times the focal length (0.7^2 = 1/2 more or less). E.g., change from a 50 mm to a 35 mm lens.

Although the first option is so quick you might forgo any calculation and just try it, the next two could be sufficiently cumbersome or time-consuming that having this rule of thumb might just be useful ;-).

Note that the approximation breaks down for macro photography and landscape photography. In both cases one usually has more time to prepare and test shots so perhaps having a quick rule of thumb is less important in those situations.

\$\endgroup\$
5
  • 1
    \$\begingroup\$ You mention it but I'll remind that DoF is also dependent upon the final print dimensions and intended viewing distance. DoF can be very forgiving on a 5x7" print versus one a 16x20". This will also change during any digital editing that crops and zooms the original image, resulting in a more shallow DoF than originally calculated. \$\endgroup\$ Commented Mar 7, 2012 at 16:45
  • \$\begingroup\$ I'm sorry, how does DoF possibly change with output size? Resizing the image merely resizes it; if DoF appears to change at all, that is because something is affecting the appearance of the image itself, making it either fuzzier or sharper in various places. Yes, that sort of thing occurs to some extent as a result of resampling a digitized image, but that should be considered a (tiny) artifact of the process, not a real change in DoF. \$\endgroup\$
    – whuber
    Commented Mar 7, 2012 at 17:40
  • 1
    \$\begingroup\$ This definition: "assumes a given standard of blurriness (usually quantified as the diameter of the circle of confusion)." When you make a large print those little circles of confusion become larger circles of confusion. If you view that print from 1 foot away they're really big and fuzzy circles to you, and if you move 20 feet back they are really small circles that look focused. Cropping and enlarging a print for composition will also makes those circles larger, etc. So you have to keep final presentation in mind when estimating depth of field. \$\endgroup\$ Commented Mar 7, 2012 at 17:58
  • \$\begingroup\$ Ah, now I understand. What I think you meant to say is that the standard of blurriness depends on how the image will be viewed. No disagreement there. But that doesn't really affect the DoF you choose! The reason is that the standard of blurriness enters into consideration as the size of the circle of confusion relative to the image itself. That ratio does not change upon resizing. It does suggest that if you intend to severely crop the image, then you might aim for a smaller circle of confusion and thereby choose a (slightly) greater DoF at the time you are taking the photo. \$\endgroup\$
    – whuber
    Commented Mar 7, 2012 at 18:26
  • 1
    \$\begingroup\$ You capture the meaning and got the part that really counts. Thank you for summarizing the practical part so well =) \$\endgroup\$ Commented Mar 7, 2012 at 20:04
5
\$\begingroup\$

Depending on the brand and type of lens, it may be right on the lens itself -- there may be a set of lines between the aperture ring and the focus ring/focal distance indicator that will give you an indication of the "acceptable" circle of confusion range at various f-stops (usually at two-stop intervals). (It's sometimes called the hyperfocal distance indicator -- set the infinity mark at or within the range of the far-distance bracket, and everything should be more-or-less in focus from infinity to the distance indicated at the near-focus bracket for that f-stop.) If you are after a max DoF, there's good evidence supporting a strategy based on focusing at infinity and allowing the size of the aperture to determine the minimum resolved object size. F'rinstance, a 35mm lens set to f/22 and focused at infinity will adequately resolve objects to a resolution of (35/22=) 1.6mm. (See The Ins and Outs of Focus for details.)

\$\endgroup\$
4
\$\begingroup\$

There's no simple rule of thumb due to the inhearent nonlinearity in the equations.

The DOF marks on lenses are in my opinion a waste of time. First off they are based on an approximate formula that doesn't take into account the asymettric nature of dpeth of field (at close distances the DOF extends further infront of the subject and at larger distances it extends further behind). Secondly the distance scale is highly nonlinear and marked infrequently so you have to guess the distance which corresponds to the mark.

So once you've guessed the distances you want in focus, and guessed what distances the DOF marks actually correspond to, and fed the guesses into an approximation, what you get back probably isn't a lot of use.

With most things such as exposure I would also recommend avoiding rules of thumb and just shoot, eventually you will get a feel and be able to regularly get it close first time.

DOF is more complicated and in some cases downright deceptive. You will develop a rough idea but that's not usually good enough. Even now, if I'm concerned about focus I will check and reshoot. Every time.

Shoot an image review it and look at what is in focus and what isn't. Why settle for guesses and approximations, when you can have the actual answer in front of you in seconds!

\$\endgroup\$
6
  • 4
    \$\begingroup\$ I think given Whuber's superb answer, there are some basic rules of thumb that can give a photographer in the field some general useful approximations. They may not be perfectly accurate, however accuracy can be arrived at heuristically by tweaking the focus ring, once you know what in your scene is generally in the depth of field. \$\endgroup\$
    – jrista
    Commented Dec 28, 2010 at 21:06
  • 1
    \$\begingroup\$ I agree but given the choice of a good approximation and the actual answer I'd choose the actual answer every time! \$\endgroup\$
    – Matt Grum
    Commented Dec 28, 2010 at 21:46
  • 3
    \$\begingroup\$ I think the DOF scale does reflect the asymmetry of the DOF, because the distance scale is non-linear. For example, with the lens set to the hyperfocal distance, the far extent is infinite while the near extent is finite--clearly asymmetric. At closer distances, N:F approaches, but does not reach, 1:1. \$\endgroup\$
    – coneslayer
    Commented Apr 8, 2011 at 13:53
  • 1
    \$\begingroup\$ I agree with @Matt that the DoF marks on autofocus lenses (if they appear at all) are useless. On manual focus lenses, though, it's a different story, especially for hyperfocal distances. In landscapes, for instance, you can just set the focus so infinity falls at the far DoF limit for the aperture and thereby maximize the amount of the scene that will be acceptably focused. \$\endgroup\$
    – whuber
    Commented Apr 8, 2011 at 20:11
  • 1
    \$\begingroup\$ @MarkFisher At the same time, the DoF can be calculated to 1:1 within a limit of measurement of one one-hundredth of an inch to focus distances well in front of the lens. A 300mm lens at f/4 must be focused at a distance of 133 inches (3,378 mm) or further before the calculated difference between near DoF and rear DoF is .01 inches! \$\endgroup\$
    – Michael C
    Commented Feb 26, 2017 at 22:47
2
\$\begingroup\$

Canon users who have installed Magic Lantern on their cameras can enable a depth of field display as described in the Magic Lantern user guide. The display includes the near and far distance from the point of focus.

\$\endgroup\$
1
\$\begingroup\$

I don't think there is just a general rule of thumb because of the number of variables such as aperture, focal length, circle of confusion, etc. If the lens, itself, has DoF markings, that's great, but many do not. So, one option, is to do the basic calculations ahead of time for your favourite lenses and put them on a cheat sheet, maybe an index card for each lens, and then quickly refer to it as you need. If you have a few seconds to do a simple calculation, then you probably have enough time to do a quick reference if the appropriate card is kept handy. Heck, doing that may show a pattern for each lens that you can use to derive your own simple formula.

\$\endgroup\$
0
\$\begingroup\$

One of the things that finally "clicked" with me and DOF is to think of DOF as dependent on magnification -- not distance or focal length.

For example, 20' at 100mm has the same DOF as 10' at 200mm. Think about macro: Distance doesn't change the DOF -- the degree of magnification of the subject on the sensor does.

What this does for me is I think about the size of the person in the frame and mostly ignore the focal length in my f-stop estimates. I intuitively know what DOF I'll get from a headshot vs a full body shot at f2.8 -- and that is independent of distance or focal length.

I know the backgrounds will be significantly different between long and short, but I can see that easily in the view finder.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.