1 foot per psi. It depends on your line material, but that should be a good start. Maybe add a few feet because its easier to shorten a long line than lengthen a short line.
The general consensus at least around here is 10 ft of line...I moved up from 5 to 10 and am very happy with the results... @Pkrd is correct though it is easier to shorten up than lengthen