I was told, 2/3 of the travel for compression, 1/3 for extension. As said above, axle stop should hit before shock bottoms out. http://www.monroe.com/downloads/install-instructions-guides/MonroeMountingLengthSpecifications.pdf
At the bottom ( page 77 ) are the mounting codes.