Depth of Field in Photography
Depth of field (DOF) is the distance in front and beyond the object that is in focus. This tutorial will teach you about how to use Depth of Field in your own photography.
Depth of Field in Photoshop
In case you’re looking for a way to imitate Depth of Field in Photoshop (rather than photography, as this tutorial illustrates), we’ve got a great tutorial that will teach you how to enhance your graphics with depth of field in photoshop here at Tutorial9!
A short depth of field can be very useful when you want to isolate your object from the background, such as when taking portraits or macro photography. A large depth of field is great when you photograph landscapes and overall when you want every detail to be in focus.
Control the Depth of Field
There are three variables that affect DOF, the size of the Aperture, the distance to the object and what lens you’re using. (There is a fourth thing that affects the DOF, but that’s the size of the sensor and unless you have two cameras with different sensor sizes this isn’t something to take into account.)

As you can see in the illustration above, a lower f-number equals a shorter depth of field. A higher f-number will give you focus over a longer distance — when you’re having a hard time getting the correct focus it might be a good idea to extend your DOF by changing the aperture.

The distance between you and the object is also important, the closer you are to the object the shorter the DOF. If you’re photographing a person but needs to have a high f-number you can still get a very short DOF by keeping the distance between you and the person to a minimum.

The last thing you can do to affect your DOF is to change the lens. A wide-angle lens has a much greater DOF than a telephoto lens; the most extreme wide-angle and fish-eye lenses don’t even have to focus because they are so sharp on every aperture for the entire DOF (making for excellent scenic shots).
It’s important to know that the depth of field is greater behind the object than in front of it. If you want to photograph, let’s say 20 kids standing in a line, and you want as many of them as possible to be in focus, but you’re unable to have a small aperture, you should focus on the 6th-7th kid in line, which would balance the field of focus about right (depending on your distance to the kids). If you would focus on the 10th kid, that is the one in the middle, the first few kids would be more out of focus than the kids at the back of the line.
Unlike some other parts of photography, the depth of field works in your favor almost every time. If you want to photograph landscapes you usually have a wide-angle lens — the object is far away and you use a high f-number — all these things together gives you a depth to infinity. And if you’re photographing macro you’re close to the object, you have a telephoto lens and often a low f-number — all these things will give you a very short depth which will make your object stand out and make the background soft and non-distracting.
Bokeh
The word Bokeh derives from the Japanese word Boke which means “blur” or “fuzzy“, and that’s just what the term refers to in photography. The out of focus areas in the photograph look very different depending on the depth of field as well as the lens used, some lenses produces much better bokeh than other lenses. The shape of the aperture is one of the most important parts together with the quality of the optics when it comes to how the out of focus areas appear.

The photograph above is meant to illustrate what bokeh is. The lens used was the Canon 50mm f/1.8 which isn’t considered to be a good bokeh lens due to it’s 5 aperture blades.
Now What?
You’ve reached the end of this post. Seeing you made it this far means you might be interested in these related articles and resources:
Free Goodies. Delivered to You.
Subscribe to Tutorial9, and we'll deliver you the newest freebies and tutorials for free.
Subscribe By Email Subscribe By RSSWith the help of these structured lessons, you'll be a master of Photoshop in no time!
Most Popular Posts
Write for Tutorial9
- Do you want to get paid $150 for writing at Tutorial9?
- Are you a talented Photoshopper, Blogger, or Photographer?
- Want to help thousands of others by sharing your knowledge?
If so, we're interested in you, and we'll pay you. Find out how to write for Tutorial9.

25 Comments Leave a Comment
I’m loving the constant stream of tutorials.
All these photography ones inspire me to go out and spend a few more bucks on a high quality camera. Instead of the little Sony T series ones.
all of these photography tuts are great good job Fredrik!
I have read a lot of articles about DOF, but this one is no doubt the easiest, simplest, the best one to understand! THANKS YOU!
cool tutorials man.
ur really helping me undertsand photography so i’m not as nooby as i used to be.
i dont have any idea about photography..im really greatfull of all your tutorials,Iv learn alot..i just own a point and shoot but now im confident enought of getting my self a DSLR (but still in learning stage,i think a g9 will do)..thanks for tutoring.
@doncarlito, I’m glad to hear that you find the tutorials helpful! Just wanted to point one thing out, that you might already know, the Canon G9 is not a DSLR camera. It’s a great camera with many powerful features, but it shouldn’t be confused with a DSLR camera. You probably knew that, but I just wanted to make sure since it’s important to know.
I think a G9 will be a great camera to learn more about photography with.
You’re diagrams depicting how those 3 things can effect your photos are priceless Fredrik. Thanks so much for yet another incredible Photography Tutorial.
question… is there a lens that has f/22 aperture? what kind?
forgive my ignorance…
Fezly, more or less every lens can use the aperture f/22. Most lenses can be stopped down to apertures in the range around f/22-32. So for example lenses can have the range f/2.8-22 or f/1.4-32 (but this is often not written on the lens, you can find this information on the companies websites or such).
Very informative! I was unsure about ways to maximize DOF as it applies to focusing beyond subjects rather than in front of..Now i know
Also, anyone interested in unbiased research with reagard to Canon lense performance..Check out William Castleman’s website. By trade he is a professor of Veteranarian science & the University of Florida…. But he is obviusly a great photographer as well
His findings reagarding the Canon 50 mm 1.8 (a 74$ lense) vs the 1.2 (1600$) is shocking.. .. I have the 1.8 and find it is a great lense for the value
i glad to read this tutorial, i learn a lot of tips for being a photographer, I was newbies for photographer, this site will help me for stepping stone to become a professional photographer. More power to people at beyond of this site.. GOD bless
THANKYOU, I am a total novice and was told I need to know about DOF (get me using the lingo:p), this was an easy to understand article.
Thank you for the tutorial. I have a question regarding the “Changing Lenses” section. You write, “If you want to photograph, let’s say 20 kids standing in a line, and you want as many of them as possible to be in focus, but you’re unable to have a small aperture…” Do you mean “but you’re unable to have a large aperature”? A large aperature would mean you were able to get all of the children in focus, wouldn’t it?
@Eva:
Yeah, you’re right. I was thinking about a low f-number and got lost in my own thought there I guess.
Three cheers for a site worth bookmarking! Decent website really do come and go and are lost in the ether of the net, but your tutorials are truly gold! The information here is clear, concise and truly timeless! I’ve been doing a lot of reading after getting my hands on my first dSLR (nikon d40), f/number relating to depth of field was something I just couldn’t seem to really get a handle on. A lot of sites go into the heavy math equations and that’s fine and all, but it was a bit superfluous. You broke down DoF so well I clearly understand it in a single read
After reading your article, I picked up my cam and snapped about five million shots, specifically watching the DoF with f/number adjustments. Trial and Error is great and all, but when an article like this explains it so clearly I just can’t help but be amazed! Thank you so much for the tutorial here
You’ve saved me countless hours of trial and error ^_^
I love your site! I found it by accident and so glad I did. It has a personal feel unlike other sites in which everyone claims to be an expert, you speak to the people! Thanks for that!
Randee
Hi,
I liked these tutorails. But i dont own a digi camera. For a beginner which camera do u suggest?
Firstly, I want to go for gud one and economical one. Later, move to SLR and the likes.