What size gas line for a tankless water heater?
The gas line size for a tankless water heater is 3/4 inch Schedule 40 pipe on runs up to 30 feet, then 1 inch from 40 to 90 feet, then 1-1/4 inch from 100 to 200 feet. A typical residential tankless water heater is rated 199,000 BTU per hour, which is 199 CFH of natural gas, and the required pipe grows with the length of the run because capacity falls as gas travels.
Required gas line size for a tankless water heater at every run length
Whole-house gas tankless units cluster just under 200,000 BTU because that is the largest common non-commercial rating. Measure the longest run from the gas meter to the appliance, round that measurement up to the next row, and read the size. Rounding down is the single most common way a line ends up undersized. Demand here is fixed at 199 CFH; only the length changes.
| Longest run | Smallest pipe that works | Its capacity | Margin over 199 CFH |
|---|---|---|---|
| 10 ft | 3/4 inch | 360 CFH | 161 CFH spare |
| 20 ft | 3/4 inch | 247 CFH | 48 CFH spare |
| 30 ft | 3/4 inch | 199 CFH | 0 CFH spare |
| 40 ft | 1 inch | 320 CFH | 121 CFH spare |
| 50 ft | 1 inch | 284 CFH | 85 CFH spare |
| 60 ft | 1 inch | 257 CFH | 58 CFH spare |
| 70 ft | 1 inch | 237 CFH | 38 CFH spare |
| 80 ft | 1 inch | 220 CFH | 21 CFH spare |
| 90 ft | 1 inch | 207 CFH | 8 CFH spare |
| 100 ft | 1-1/4 inch | 400 CFH | 201 CFH spare |
| 125 ft | 1-1/4 inch | 355 CFH | 156 CFH spare |
| 150 ft | 1-1/4 inch | 322 CFH | 123 CFH spare |
| 175 ft | 1-1/4 inch | 296 CFH | 97 CFH spare |
| 200 ft | 1-1/4 inch | 275 CFH | 76 CFH spare |
Where the size steps up
The answer is not one size. It is 3/4 inch through 30 feet, then 1 inch through 90 feet, then 1-1/4 inch through 200 feet. Each step happens at the first column where the smaller pipe can no longer carry 199 CFH within the code allowance of 0.5 inches water column. Anyone quoting a single size for a tankless water heater without asking how far the run is has skipped the half of the calculation that actually varies.
Worked examples at the four most common runs
Each of these shows the full NFPA 54 lookup for that distance, the nearby sizes and the margin:
- Gas line size for a tankless water heater at 20 feet — 3/4 inch
- Gas line size for a tankless water heater at 40 feet — 1 inch
- Gas line size for a tankless water heater at 60 feet — 1 inch
- Gas line size for a tankless water heater at 100 feet — 1-1/4 inch
If a second appliance shares the run
The code sizes the total connected load, so this is where undersized lines come from. At 60 feet a tankless water heater alone needs 1 inch. Add a 100,000 BTU furnace to the same pipe and the connected load becomes 299,000 BTU, or 299 CFH, which needs 1-1/4 inch at that same 60 feet — a size up from the single-appliance answer. Size the pipe for everything that will ever hang off it.
Propane instead of natural gas
Propane carries 2,516 BTU per cubic foot against natural gas at 1,000, so the same tankless water heater draws only 79 CFH on LP. PlumbCalc returns 1/2 inch at 20 feet and 3/4 inch at 100 feet. Those figures are deliberately conservative — they are read off the natural gas table, so they come back equal to or larger than a dedicated LP table would give. Confirm any LP work against an LP table and local code.
Before you cut any pipe
These figures come straight from NFPA 54 Table 402.4(2) for Schedule 40 metallic pipe, natural gas at 0.60 specific gravity, inlet pressure under 2 psi and an allowable pressure drop of 0.5 inches water column. That is the ordinary residential case, and it is the same table the PlumbCalc gas line sizing calculator uses.
Two things change the answer on a real job. First, the code sizes the total connected load on a run, not one appliance in isolation — if a second appliance shares the pipe, add its BTU rating before you size. Second, a 2 psi system, a CSST or copper material, or a longer allowable pressure drop all use different tables entirely. Size to the longest run, size to the full load, and confirm against your local code and the appliance data plate before installing.
The governing standard is the National Fuel Gas Code, published as NFPA 54 and adopted in most of the United States — see the National Fuel Gas Code for background on the code itself.
Related sizing references
Frequently asked questions
What size gas line does a tankless water heater need?
A typical 199,000 BTU tankless water heater draws 199 CFH of natural gas and needs 3/4 inch up to 30 feet, 1 inch from 40 to 90 feet, 1-1/4 inch from 100 to 200 feet, in Schedule 40 metallic pipe. The size depends on the longest run from the meter, so measure the run before you buy pipe.
Why does the run length change the gas line size for a tankless water heater?
Gas loses pressure to friction as it travels, and NFPA 54 Table 402.4(2) is built around a fixed allowable drop of 0.5 inches water column. A longer run spends that allowance sooner, so the same diameter delivers fewer CFH. That is why the table has a column for every length from 10 to 200 feet.
What if my tankless water heater is rated higher than 199,000 BTU?
Use the rating on the appliance data plate, never the typical figure. Divide the real BTU input by 1,000 for natural gas to get CFH demand, then read down the column for your run length until you reach a capacity that meets it. The PlumbCalc gas line sizing calculator does exactly that in one step.
Can a tankless water heater share a gas line with another appliance?
Yes, but you must size for the combined load. At 60 feet the tankless water heater alone needs 1 inch; add a 100,000 BTU furnace and the 299 CFH total needs 1-1/4 inch. Add every BTU rating on the run together before you look at the table.
Does this cover CSST, copper or a 2 psi system?
No. These sizes are Schedule 40 metallic pipe on an ordinary under-2-psi residential system with a 0.5 inch water column drop. CSST, copper tubing and polyethylene each have their own capacity tables, CSST varies by manufacturer, and a 2 psi system with appliance regulators uses a different table entirely and usually allows smaller pipe over long runs.