For small containers or really any vessel probably 1-1.5 inches is ideal. As close to the bung without it touching should be your goal. However, if you end up with less I think as long as the airlock is secure and full I wouldn't worry too much. You could also always top up with a bit of cider/juice/water.