For determining chain length I shift to the big chain wheel and biggest cog and shorten as much as possible without the chain going straight as it passes through the deraileur.
Parker's site has some good instruction on this.
http://www.parktool.com/repair/readhowto.asp?id=26