Natural Gas Pipe Sizing Calculator — UPC 1208.4 / IPC 402.4
Size natural-gas piping (Schedule 40 steel) by the UPC Table 1208.4.1 longest-run method. Enter the total connected CFH load and longest run to get the minimum pipe size at 0.5 psi inlet pressure.
By TradeCalc, Plumber Calculators — Code-Referenced — UPC Table 1208.4.1, IPC Table 402.4(1), UPC Chapter 12
⚠️ Results are for informational purposes only. Verify against applicable codes and manufacturer specifications before use. Always consult a licensed electrician/HVAC contractor and your local AHJ (Authority Having Jurisdiction) before performing work.
Guides are drafted with AI assistance and reviewed by our editors.
Related Calculators
How to Size Natural-Gas Piping (UPC Longest-Run Method)
Why Gas Pipe Sizing Matters
Undersized natural-gas piping causes appliance pressure drop, which starves furnaces, water heaters, and ranges of the fuel they need. Symptoms include yellow-burning flames, sooting, slow recovery on water heaters, and furnaces that lock out on low-pressure switches. The Uniform Plumbing Code (UPC) and International Plumbing Code (IPC) address this with capacity tables that give the maximum CFH (cubic feet per hour) each pipe size can carry at a given longest-run length, so the system never sees more than the allowable pressure drop (typically 0.5 in w.c. for residential 0.5 psi / 7 in w.c. service).
The Longest-Run Method
Step 1 — Longest run: Measure the actual pipe distance (along the run) from the gas meter or regulator to the farthest appliance. Round up to the next code-table length (10, 20, 30, ... ft).
Step 2 — Total CFH: Sum the connected gas load of every appliance on the system. Convert BTU/hr to CFH by dividing by 1,000 (natural gas ≈ 1,000 BTU/ft³). Example: 200,000 BTU/hr furnace = 200 CFH.
Step 3 — Read the table: At the longest-run row, find the smallest pipe size whose CFH capacity ≥ the total CFH load. That is the minimum pipe size for that run.
For branch piping, repeat with the branch’s CFH (not the total) and the branch’s own longest run back to the meter. The trunk run carries the full load; each branch is sized for its own downstream appliances.
Worked Example
Scenario: A 1,800 ft² home has a 100,000 BTU/hr furnace, a 40,000 BTU/hr water heater, a 65,000 BTU/hr range, and a 30,000 BTU/hr dryer on the same gas service. The farthest appliance is 50 ft from the meter. Size the trunk.
- Total BTU/hr = 100k + 40k + 65k + 30k = 235,000 BTU/hr
- Total CFH = 235,000 / 1,000 = 235 CFH
- Longest run (rounded up to next table value) = 50 ft
- Read UPC Table 1208.4.1 row "50 ft": 1/2"=55, 3/4"=114, 1"=215 (too small), 1-1/4"=440 (✓)
- Minimum trunk size = 1-1/4 in Schedule 40 black iron
Spare capacity at 1-1/4" = (440 − 235) / 235 = 87% — comfortable headroom for a future gas fireplace or tankless water heater without re-piping.
Practical Tips
- Always round the run UP. If your actual longest run is 42 ft, use the 50 ft row, not the 40 ft row. A 42-ft run on a 40-ft row will see a larger pressure drop than the table allows.
- BTU ÷ 1,000 = CFH for natural gas. Natural gas averages about 1,000 BTU per cubic foot. Propane is ~2,500 BTU/ft³ and uses different tables — IPC Table 402.4(4) for propane at 11 in w.c.
- CSST is not steel. Corrugated stainless steel tubing (CSST) and PEX-gas have manufacturer-specific sizing tables that differ from UPC/IPC metallic pipe tables. Use the manufacturer’s published capacity chart for those materials.
- Future-proof the trunk. Adding spare capacity to the trunk run (one trade size larger than the minimum) costs little upfront and avoids re-piping when a tankless water heater or gas fireplace is added later.
- 2 psi systems use a different table. Higher-pressure residential systems (2 psi service with line regulators) use IPC Table 402.4(2) and allow much smaller pipes for the same CFH — but every appliance needs its own regulator.
Code References
UPC Table 1208.4.1, IPC Table 402.4(1), UPC Chapter 12