Gas pipe sizing calculator
Type the longest run from the meter to the farthest appliance and each gas appliance's input in BTU per hour to get the Schedule 40 pipe size for the main and for each branch, by the IFGC longest length method and Table 402.4(2). It works for natural gas below 2 psi with a 0.5 in. w.c. drop.
Free, no sign-up. Runs in your browser. Updated December 1, 2026.
Nothing you type is sent to Nexfield or anyone else.
How to use it
- Measure the longest run from the meter to the farthest appliance.
- Add each gas appliance with its input from the rating plate.
- Read the size of the main and of each branch, all from one row of the table.
How it works
Demand in cubic feet an hour = the appliances' input in BTU/h ÷ the gas's heating value (402.2; ICC's example uses 1,000 BTU per cubic foot).
Longest length method (402.4.1): use the row of Table 402.4(2) for the longest run, or the next longer row, to size every section of the system.
Each section takes the smallest pipe whose capacity in that row is at least its load: the main carries all the appliances, a branch its own appliance.
Natural gas only, Schedule 40 metallic pipe, an inlet pressure under 2 psi and a 0.5 in. w.c. drop, 10 to 350 ft and 1/2 to 3 in. Other pipe, propane, higher pressures and other drops use other tables or equations of the code. A section that feeds several appliances carries their sum; size it the same way. Gas piping work needs a permit almost everywhere, so check local code and the authority having jurisdiction.
Sources
Worked example with made-up numbers
These numbers are invented to show the math. They are not an industry average.
| Longest length | 60 ft |
|---|---|
| Appliance 1 appliance | Furnace |
| Appliance 1 input | 100,000 BTU/h |
| Appliance 2 appliance | Water heater |
| Appliance 2 input | 40,000 BTU/h |
| Appliance 3 appliance | Range |
| Appliance 3 input | 65,000 BTU/h |
| Appliance 4 appliance | Clothes dryer |
| Appliance 4 input | 35,000 BTU/h |
| Pipe from the meter | 1 in. |
| Total demand | 240 CFH |
| Total input | 240,000 BTU/h |
| Table row used | 60 ft |
| Appliance 1 branch | 3/4 in. |
| Appliance 2 branch | 1/2 in. |
| Appliance 3 branch | 1/2 in. |
| Appliance 4 branch | 1/2 in. |
Jobs on the plumber's phone, with notes and photos. Nexfield for technicians
Questions
What size gas line for 100,000 BTU at 50 ft?
3/4 in. At 1,000 BTU per cubic foot, 100,000 BTU/h is 100 CFH; in the 50 ft row, 1/2 in. carries 72 CFH and 3/4 in. carries 151.
What is the longest length method?
Find the longest run from the meter to the farthest outlet and use that row of the table, or the next longer one, to size every section of the system.
How do I turn BTU into cubic feet of gas?
Divide the input in BTU per hour by the gas's heating value. ICC's example uses 1,000 BTU per cubic foot; your supplier has the exact value.
What if my length is between two rows?
Use the next longer row. A 55 ft run uses the 60 ft row.
Does it work for propane?
No. Propane and other pressures use other tables of the code, which this calculator does not include.
Do I need a permit for gas piping?
ICC notes that, apart from a narrow exception for minor parts, gas piping work needs a permit.
Is what I type sent anywhere?
No. The calculator runs in your browser, and nothing you type is sent to Nexfield. "Copy link" puts your numbers in the link itself, after the # sign.
Related
- Water heater size calculator Peak hour demand in gallons and the first-hour rating a tank needs.
- Residential electrical load calculator A house's service load in amps by NEC 220.82, against today's panel.
- Voltage drop calculator Voltage drop and voltage at the load for a wire size, against 3% or your target.
- Free plumbing tools Water heater age and sizing, gas pipe sizing and plumbing paperwork.
- All free tools 91 calculators, lookups, PDF generators and text tools, free with no sign-up.