Skip to content
TradeCalc

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

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.

  1. Total BTU/hr = 100k + 40k + 65k + 30k = 235,000 BTU/hr
  2. Total CFH = 235,000 / 1,000 = 235 CFH
  3. Longest run (rounded up to next table value) = 50 ft
  4. Read UPC Table 1208.4.1 row "50 ft": 1/2"=55, 3/4"=114, 1"=215 (too small), 1-1/4"=440 (✓)
  5. 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

Frequently Asked Questions

How do I convert BTU/hr to CFH for natural gas?
Natural gas averages about 1,000 BTU per cubic foot, so divide BTU/hr by 1,000 to get CFH. A 100,000 BTU/hr furnace = 100 CFH; a 40,000 BTU/hr water heater = 40 CFH. Sum all connected appliances to get the total CFH load the pipe must carry. For propane, divide by ~2,500 BTU/ft³ instead and use the propane table (IPC Table 402.4(4)).
What is the "longest run" in gas pipe sizing?
The longest run is the actual pipe distance (measured along the run, not the straight-line distance) from the gas meter or pressure regulator to the farthest appliance served. UPC 1208.4 and IPC 402.4 require it to be rounded UP to the next code-table length (10, 20, 30 ft…). All pipes on that run are sized using the table row for that rounded longest-run length, even if a particular branch is shorter.
Can I use this calculator for propane or CSST?
No. This calculator uses UPC Table 1208.4.1 / IPC Table 402.4(1), which covers Schedule 40 metallic pipe carrying natural gas at 0.5 psi inlet pressure (0.5 in w.c. pressure drop). For propane (different gas density and ~2,500 BTU/ft³), use IPC Table 402.4(4). For corrugated stainless steel tubing (CSST) or PEX-gas, the manufacturer publishes its own capacity chart — always use that, not the UPC metallic pipe table.
Why is my gas pipe size larger than my neighbor’s for the same appliances?
Three things drive pipe size: total CFH load, longest-run length, and allowed pressure drop. A neighbor with the same appliances but a shorter run (e.g. 30 ft vs your 80 ft) can use a smaller pipe because the table gives more capacity at the shorter length. A neighbor on a 2 psi service with line regulators can also use smaller pipes because higher inlet pressure allows more pressure drop. Compare apples to apples before assuming your sizing is wrong.