This calculator will calculate the drop or rise in inches, the difference in elevation, from a slope expressed in inches per foot.
a 40 foot length of pipe requires a 1/8" drop per foot 40 * 1/8 = 40/8 = 5The required drop from start of the pipe to the end is 5"