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.

Your numbers

From the meter to the farthest appliance, along the pipe.
Blank uses 1,000, the value in ICC's example; your gas supplier has yours.

Gas appliances

Appliance 1
The maximum input on the rating plate.
Appliance 2
The maximum input on the rating plate.
Appliance 3
The maximum input on the rating plate.

Result

Pipe from the meter
—
Total demand
—
Total input
—
Table row used
—
Appliance 1 branch
—
Appliance 2 branch
—
Appliance 3 branch
—
Appliance 4 branch
—
Appliance 5 branch
—
Appliance 6 branch
—

Nothing you type is sent to Nexfield or anyone else.

How to use it

  1. Measure the longest run from the meter to the farthest appliance.
  2. Add each gas appliance with its input from the rating plate.
  3. 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

Report a wrong result

Worked example with made-up numbers

These numbers are invented to show the math. They are not an industry average.

Worked example: the inputs, then the results
Longest length60 ft
Appliance 1 applianceFurnace
Appliance 1 input100,000 BTU/h
Appliance 2 applianceWater heater
Appliance 2 input40,000 BTU/h
Appliance 3 applianceRange
Appliance 3 input65,000 BTU/h
Appliance 4 applianceClothes dryer
Appliance 4 input35,000 BTU/h
Pipe from the meter1 in.
Total demand240 CFH
Total input240,000 BTU/h
Table row used60 ft
Appliance 1 branch3/4 in.
Appliance 2 branch1/2 in.
Appliance 3 branch1/2 in.
Appliance 4 branch1/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.