Advanced Techniques

Depth of field (DOF)

Written by Digicamhelp Editor

Changing depth of field is a frequently used creative technique to control how much of a photo is in sharp focus.

depth-of-fieldDepth of field (DOF) refers to how much of a photo is sharp in front and back of where you focus on the main subject. DOF is primarily controlled by aperture size though other factors come into play such as the focal length of the lens and the distance the background is from the subject.

Photographers may consciously control depth of field for artistic purposes, aiming to achieve attractive background blur known as bokeh. For example, a shallow depth of field is often used when taking close up shots so the background is blurred and the main subject is in sharp focus.

More (deep) DOF


Photo with deep depth of field

Deep depth of field means that all or most of the picture is in focus from front to back. It is often used for capturing subjects in the distance, such as in landscape scenes.

The further away your camera is from the subject, the greater the depth of field.

Higher f-stop numbers obtained by using smaller apertures produce deep depth of field. Short focal lengths, such as when a lens is set at wide angle, help increase depth of field.

Less (shallow) DOF

Photo with shallow depth of field

Photo with shallow depth of field

Less depth of field means that a subject is in focus but objects in front and behind it appear out of focus. Less DOF is often desired when taking portrait, close-up and macro shots.

Lower f-stops (larger apertures) decrease DOF. Long focal lengths (zooming in) produce less DOF.

You can also make the background appear out of focus by placing the subject close to the camera and having the background far away.

If you can’t manually control aperture, use Portrait or Macro mode for shallow depth of field. For deep depth of field, use Landscape or Infinity mode.



  • ida, it’s very difficult to get a blurred background (I assume that’s what you’re asking) with a compact digital camera because of it’s small sensor. If your camera has semi-automatic modes, switch to aperture priority mode and use the widest aperture possible (low f-stop). Also, try some of these tips. Take some photos and experiment with some of the settings and focal lengths.

  • Hello, thank you for the tutorial on depth of field; however, I have a question. I am a student using a coolpix camera, how can I get the depth of field look you have in your video using my camera? Is this possible to do?

    Thank you very much

  • Wow!! i didn’t know about this until now and i thought it doesnt make any difference whether its on portrait or in landscape mode
    thank you 😀 this is really helpful

  • just wondering, is there a way , where we csn preassume/calculate the amount of subject we want sharp, i.e; if we want 2/3 of a perfume bottle sharp & rest blur .

  • To blur the background you will have to shoot with a large aperture, and follow some of the techniques listed in this article (focal length, distance subject is to the background} to achieve background blur. For portraits, a focal length equivalent between 80 and 135 is often used In low light, you’ll have to up the ISO but this may introduce noise into the photo. I think your lens has only a 3.5 aperture so you may want to consider getting or renting a faster lens with a lager aperture (F1.2, F1.4 or F1.8) It will give a better background blur, focus better in low light and you can use lower ISO numbers.

    Here’s an article about renting lenses. If you decide to rent, get the lens ahead of time to become familiar with it’s handling and capabilities BEFORE the wedding. Some lens rental places do not provide a manual unless you specifically request one.

    You may find these articles helpful:

    Wedding photography

    Wedding photography tips

  • I am working as wedding photogrpaher right now and using Canon EOS40 D Camera with 18-135 lens & mostly use it camera on manual mode.
    Can you please advise how can I take DOF portrait photography as I want my subject to be in focus and background in blurred.  Please confirm what mode should i should I use  Or Can this cam give the desired result and how?

  • Jasmine, try setting your camera to M Mode (Manual Exposure Shooting discussed on page 23 of the camera manual). Choose the widest aperture available, which is F3.5. It won’t give you the greatest shallow depth of field but there are other things you can do such as changing the focal length or the distance you stand from the subject. See our DOF quick guide for tips.

    Also try Soft Snap mode when shooting portraits or flowers.

  • I really like this effect and want tot try it on my Sony H55
    I see now there is no aperture control for this model.
    what is the best way to control DoF on this H55?

  • […] next photo challenge is going to require an understanding of this stuff…READ THIS and THIS and THIS. (ONE of ‘em will make sense to […]

  • Dan, For shots like the mug, zoom in get closer to the subject (though not close like a macro shot). If you’re shooting a portrait shot, move the subject a few feet away from the background, rather than having him or her stand close to it.

    Check out the Depth of field quick guide

    Here are a few examples of what you can expect from the s90. Check the EXIF data for the aperture used.

    btw, because the s90 has a small sensor (though larger than most compact cameras), don’t expect to achieve blurred backgrounds like you would with a DSLR. But you can get some blurred background by using the suggestions above. Experiment.

    Enjoy your new camera!

  • Hi, I just bought a Canon s90 and I’m having trouble getting shallow DoF from it. I am an Intro. Photo. student and I can’t get the same shallow depth at the lowest aperture, f2, in my practice shots. Everything stays in focus on shots I try, like with the teacups. Is there anything else I should be doing to get these types of shots?