A 3-inch drainage line requires a 6-foot lavatory distant from the soil stack. Therefore, keeping your toilet at least 9 feet away from the stack pipe is necessary. If your drainage pipeline diameter is around 4 inches, make sure your bathroom has 10 feet away from it.