Actually, it is a very rough rule of thumbs and it is not exactly 400 ... ;-). Yes, it does work pretty well for mid-day and not too extreme water content in the air and temperatures away from dew point (and btw, is taught in basic weather class for PPL ;-) ...). Do not use it in early morning conditions.