Rope length for replacing valve springs.

If your gentle and the piston is at TDC, you can skip the rope. And to anwser, 18 inches is enough, with about 8-10 in the hole