The maximum distance is the amount of pipe you have. You should be concerned with the minimum. That is established by your building or fire department. It will be so many feet from the building or any open flame, which is what your heater is. Probably at least 20 feet.