good guide ross , but how do you learn all of this without a computer working it out ? is there a way or is the best way to take multiple shots and just experiment until you get it right
After a bit of practise, you'll just get to know how much DoF you'll get in most situations. A bit of basic knowledge and practise will speed things along, so...
There are numerous factors affecting DoF, but quite a few of them are fixed and that leaves only three that you can control at the shooting stage. They are focal length, shooting distance, and f/number.
The first two are both aspects of magnification and if the subject is made larger on the sensor, DoF is reduced - ie use a longer lens, subject gets bigger, DoF is reduced; by the same token, move closer and the subject gets bigger and DoF is reduced. These two factors are equal and cancel each-other out, so if you use a longer lens, but also move back so the subject remains the same size in the frame, DoF stays the same.
In practise, the most useful DoF control is lens f/number, because most times the focal length is set by the framing you want, distance is fixed by your position, so f/number is the only option left. Low f/numbers like f/2.8 give less DoF, high f/number like f/16 gives more DoF.
One of the things that's a bit confusing is DoF is not linear. At close distance, it is very shallow, eg macro photography it is just a few mms, whereas in a distant landscape DoF is massive, can be miles. Try these three experiments to get a feel for what's going on, with kit lens at about 35mm. Use high ISO to avoid camera-shake.
1) Clothes pegs on a washing line, standing at a 3/4 angle looking down the length, focus on the middle peg about 2ft away and shoot at lowest f/number, then f/8, then f/16. Check and compare. DoF will be shallow and not easy to get everything sharp from near to far.
2) Get someone to lean against a fence or wall, same 3/4 angle, and frame them up from about 6ft with a half-body portrait. Same routine. You'll have more DoF control here, with options to make the background blurred or sharp.
3) Take a series of shots looking down the street, with some cars parked from near to far. Focus at about 4m, same routine. There won't be much DoF control here and everything will mostly be sharp.