For a 1.25-inch pipe, the horizontal distance of the pipe should not be longer than 30 inches (5 feet) to the vent. A 1.5-inch pipe should have a maximum length of 42 inches (3.5 feet). However, this may vary with state,