Just stumbled on this chain length calculator, have been using it backwards to figure out what gear combos are possible with a given chain length. This can be a headache if you've got short track ends or if you are using a big swing of chainring sizes (e.g., over-geared training).
Javascript Bicycle Chain Length Calculator