Question: how many btu can a 1 gas pipe deliver?
Answer: You can see that, in a typical gas system, a tankless water heater with a capacity of 199,900 BTU will require a 1-inch pipe size for a 20 ft branch length (based on the 0.3 in w.c. pressure drop in Table 2).