A preliminary size for Schedule 40 steel at low pressure. The adopted fuel gas code, the gas supplier and the appliance installation instructions govern. A licensed installer does the work and the pressure test.

Maintained by BuildSolver · Updated

Calculator · Fuel gas

Gas pipe sizing calculator

A gas line has to carry the full input of every appliance at once while losing no more than half an inch of water column. On the 60 ft row of the code table, 1/2 inch steel carries 65 cfh, a lot less than the 172 cfh it carries at 10 ft. Enter the longest run and the input of each appliance to get the size of every branch and of the main, read from the 2021 IFGC tables the way Appendix A does it. The default is the code's own example house. For the combustion air the same appliances need, use the combustion air calculator.

  1. Choose natural gas or propane. Only Schedule 40 steel at low pressure is sized here.
  2. Enter the pipe length from the meter or regulator to the farthest appliance, plus any fitting allowance.
  3. Type the input rating from each rating plate. The result gives the main from the meter and the branch to each appliance.

Schedule 40 steel, under 2 psi, 0.5 in. w.c. drop, 2021 IFGC longest length method. A preliminary size. The appliance instructions, the gas supplier and the local inspector govern.

Only Schedule 40 steel at low pressure is sized here. The other choices explain where their tables are.

On propane, an appliance listed in cfh, a standby generator for one, goes in as cfh x 2,500 BTU/h: Generac's 142 cfh is 355,000 BTU/h.

The gas supplier publishes the local figure, which can be lower at high elevation. 1,000 is the value in the IFGC examples. An appliance listed in cfh goes in as cfh x 1,000 BTU/h, or cfh x this value when it is above 1,000, and the result shows the conversion.

Pipe length from the meter or regulator to the farthest appliance. This one length sizes the main and every branch.

Extra length for a run with four or more fittings, from IFGC Table A102.2.

Nameplate input, not output. The example is the IFGC Appendix A house: furnace, water heater, range and dryer.

Example result for the default inputs

Natural gas, Schedule 40 steel, 0.5 in. w.c. drop, longest run 60 ft

Main line from the meter or regulator

1 inch

Total connected load

245 cfh

Calculation details
Appliance 1 branch, 100,000 BTU/h = 100 cfh3/4 inch
Appliance 2 branch, 35,000 BTU/h = 35 cfh1/2 inch
Appliance 3 branch, 75,000 BTU/h = 75 cfh3/4 inch
Appliance 4 branch, 35,000 BTU/h = 35 cfh1/2 inch
Table and row usedIFGC 2021 Table 402.4(2), 60 ft row
1/2 inch on this row carries up to65 cfh, less than the main load
3/4 inch on this row carries up to137 cfh, less than the main load
1 inch on this row carries up to257 cfh, enough for the main
1-1/4 inch on this row carries up to528 cfh, enough for the main
Gas demand245,000 BTU/h / 1,000 BTU per cu ft = 245 cfh
Reference, A104 low-pressure formula, 1 inch at 60 ft257 cfh (the table row governs)
AltitudeAbove 2,000 ft, IFGC 402.2 requires the gas flow to be adjusted for altitude. This page does not make that adjustment.

For estimation purposes only. Consult a licensed engineer for final designs.

Get this result as a PDF, free account

Sign up with your email. Back on this page in the same browser, your inputs are filled in. No card.

How the pipe size is found

The longest length method in IFGC Appendix A sizes every part of a low-pressure system from one row of the capacity table. You convert each appliance input to the unit of the table, pick the row for the longest run, and read across for the first size that carries the load. The form returns the main from the meter and the branch to each appliance. For a section in between, enter the total input it feeds as one appliance with the same longest run. The main line in that result is your section.

Gas demand
cfh = input BTU/h / heating value BTU per cu ftNatural gas tables are in cubic feet per hour. At 1,000 BTU per cu ft, a 100,000 BTU/h furnace is 100 cfh. The propane table is in thousand BTU/h, so a propane load goes in as input / 1,000 with no heating value.
Load of a section
load = sum of the inputs downstream of that sectionIFGC 402.2 sizes for every appliance at full input at the same time. The main from the meter carries all of them, a branch carries only its own appliance. A section in between carries the appliances past it. Enter their total as one appliance with the same longest run, and the size the result shows for the main line is the size of that section.
Row
row = the longest run, or the next longer rowMeasure from the point of delivery to the farthest outlet and add the fitting allowance if you use one. A 52 ft run is read on the 60 ft row. That one row sizes the whole system, branches included.
Size
size = smallest pipe with capacity >= load on that rowNo interpolation. If the load sits between two capacities, the larger pipe wins. A load equal to a printed capacity fits that pipe.
Reference formula
Q = 2313 x D^2.623 x (dH / (Cr x L))^0.541IFGC Appendix A104 low-pressure formula. D is inside diameter in inches, dH the 0.5 in. w.c. drop, L the length in feet, Cr 0.6094 for natural gas and 1.2462 for propane (IFGC Table 402.4). The result shows it next to the table answer for natural gas. The table row is what sizes the pipe.

The code's example house, and single appliances

IFGC Appendix A106.1 sizes a house with a furnace, a water heater, a range and a dryer, 60 ft from the point of delivery to the farthest outlet. Every line goes through the same function as the form. The form shows the outlets and Section 3, the main. Sections 1 and 2 come out the same way if you enter their total input as one appliance, and the main line of that result is the section.

IFGC Appendix A106.1 Example 1, sizes from this calculator and from the code
LineInput, BTU/hLoad, cfhThis pageIFGC A106.1
Outlet A, clothes dryer35,000351/2 in1/2 in
Outlet B, range and oven75,000753/4 in3/4 in
Section 1, outlets A and B110,0001103/4 in3/4 in
Section 2, water heater and furnace135,0001353/4 in3/4 in
Section 3, the whole house245,0002451 in1 in

Section 2 carries 135 cfh and 3/4 inch carries 137 cfh on the 60 ft row, so it stays at 3/4 inch with 2 cfh to spare. Add one more small appliance to that section and it goes to 1 inch.

One appliance on its own line, natural gas at 1,000 BTU per cu ft. The furnace and tank inputs are examples. The two DOE rows sit at the limits in 10 CFR 430.2. A gas storage water heater is rated at 75,000 BTU/h or less and a gas tankless water heater under 200,000 BTU/h.

Steel gas pipe size for one appliance at 20, 50 and 100 ft
ApplianceLoad, cfh20 ft run50 ft run100 ft run
Furnace, 80,000 BTU/h input (example)801/2 in3/4 in3/4 in
Tank water heater, 40,000 BTU/h input (example)401/2 in1/2 in1/2 in
Gas storage water heater at the DOE limit, 75,000 BTU/h751/2 in3/4 in3/4 in
Tankless water heater, 199,000 BTU/h (just under the DOE limit)1993/4 in1 in1-1/4 in

On a 50 ft run the tankless heater needs 1 inch where the 40,000 BTU/h tank gets by on 1/2 inch. On propane the same tankless takes 3/4 inch at 50 ft, because each cubic foot of propane carries more heat. When a tank is swapped for a tankless, check the old branch and the main against the new total.

IFGC Table 402.4(2), natural gas, cfh, 1/2 to 2 inch. The full table runs to 12 inch and 2,000 ft.

IFGC 2021 Table 402.4(2) excerpt, natural gas capacity in cubic feet per hour
Length1/2 in3/4 in1 in1-1/4 in1-1/2 in2 in
10 ft1723606781,3902,0904,020
20 ft1182474669571,4302,760
30 ft951993747681,1502,220
40 ft811703206579851,900
50 ft721512845838731,680
60 ft651372575287911,520
80 ft561172204526771,300
100 ft501041954006001,160
125 ft44921733555321,020
150 ft4083157322482928
200 ft3471134275412794

IFGC Table 402.4(28), propane after the regulator at 11.0 in. w.c., thousand BTU/h, 1/2 to 2 inch.

IFGC 2021 Table 402.4(28) excerpt, propane capacity in thousands of BTU per hour
Length1/2 in3/4 in1 in1-1/4 in1-1/2 in2 in
10 ft2916081,1502,3503,5206,790
20 ft2004187871,6202,4204,660
30 ft1603366321,3001,9403,750
40 ft1372875411,1101,6603,210
50 ft1222554809851,4802,840
60 ft1102314348921,3402,570
80 ft941973727631,1402,200
100 ft841753306771,0101,950
125 ft741552926008991,730
150 ft671402655438141,570
200 ft581202274656971,340

Codes and data sources

Limitations of this calculator

  • A preliminary size. The adopted code, the gas supplier, the appliance installation instructions and the local inspector govern the installed system. A licensed gas fitter or plumber pulls the permit, installs the pipe and runs the pressure test.
  • Schedule 40 steel only, at an inlet pressure under 2 psi with a 0.5 in. w.c. drop. CSST, copper, polyethylene, 2 psi systems and other pressure drops have their own tables and are not sized here.
  • Natural gas is read from Table 402.4(2), built on a specific gravity of 0.60. IFGC Appendix A102.4 lets gas of 0.70 or less use the tables directly. Heavier gas needs the gravity multiplier, which this page does not apply.
  • Propane is read from Table 402.4(28), for pipe between a single or second-stage regulator at 11.0 in. w.c. and the appliance. Pipe between the first and second stage regulators uses a different table.
  • Every section uses the longest run. The branch length method (IFGC 402.4.2) can allow smaller branches and is not used here.
  • All appliances are counted at full input at once, as IFGC 402.2 sets out. Diversity is allowed only where it can be established, and this page does not apply it.
  • IFGC 402.2 requires the flow to be adjusted for altitude above 2,000 ft. This page does not make that adjustment.
  • Sizes stop at 4 inch and rows at 2,000 ft. Fitting losses count only if you enter an allowance. Meter and regulator capacity are not checked.
  • Written to the 2021 IFGC. Some jurisdictions adopt a different edition, local amendments, NFPA 54 or the Uniform Plumbing Code for fuel gas, so check what your inspector enforces.

Common gas pipe sizing mistakes

  1. Sizing a branch by its own short length. With the longest length method the farthest outlet sets one row for the whole system. A water heater 10 ft from the meter is still sized on the row for the longest run in the house.
  2. Entering the output rating. The tables size for gas burned, so the number is the input rating on the plate. An 80,000 BTU/h input furnace at 96 percent AFUE still burns 80,000 BTU/h of gas.
  3. Adding a tankless heater to the old water heater line. The old line was sized for the tank. A 199,000 BTU/h tankless burns about 5 times the gas of a 40,000 BTU/h tank, and on a 50 ft run it needs a 1 inch branch where the tank needed 1/2 inch. Rerun the main from the meter with the new total too.
  4. Reading the propane table in cubic feet. The propane table lists thousands of BTU per hour, not cfh. Look up a 199,000 BTU/h input as 199 in that table. A generator listed in cfh of propane is cfh x 2,500 BTU/h, so Generac's 142 cfh for the 24 kW at full load is 355,000 BTU/h, 355 in that table.
  5. Using steel capacities for CSST or copper. Nominal sizes do not match inside diameters across materials. Each material has its own table, and CSST goes by the EHD number in the manufacturer's tables.
  6. Leaving out appliances planned for later. IFGC 401.8 asks for pipe sized to supply the full number of outlets for the intended purpose. If a range or generator is planned, put it in the sum now.

Common questions about gas pipe size

What size gas line do I need for a furnace?

It depends on the furnace input and the longest run in the system. On natural gas at 1,000 BTU per cu ft, an 80,000 BTU/h input furnace is 80 cfh. On the 50 ft row of IFGC Table 402.4(2) a 1/2 inch pipe carries 72 cfh, so the branch is 3/4 inch. At 20 ft, 1/2 inch carries 118 cfh and the same furnace takes 1/2 inch.

What size gas line does a water heater need?

Take the input from the rating plate. A gas storage water heater, as DOE defines it in 10 CFR 430.2, has an input of 75,000 BTU/h or less, and a 40,000 BTU/h tank on a 50 ft run takes 1/2 inch steel. A gas tankless water heater is rated under 200,000 BTU/h by the same rule. At 199,000 BTU/h it takes 1 inch at 50 ft and 1-1/4 inch at 100 ft on natural gas.

Which length do I use for each section?

The length from the meter or regulator to the farthest outlet, for every section. That is the longest length method of IFGC 402.4.1. Each section is then sized for the load it carries on that one row. The form shows the main and each appliance branch. For a section that feeds two or three appliances, enter their total input as one appliance with the same longest run. In that result the main line stands for your section, and the size shown there is the section's size.

How do I convert BTU to cubic feet per hour?

Divide the input in BTU/h by the heating value of the gas in BTU per cubic foot. At 1,000 BTU per cu ft, 245,000 BTU/h is 245 cfh. Your gas supplier publishes the local heating value.

How is propane different?

Propane is sized from IFGC Table 402.4(28), which lists capacity in thousands of BTU per hour for pipe after the second stage regulator at 11.0 in. w.c. Because propane carries more heat per cubic foot, the same input needs less pipe. The 199,000 BTU/h tankless example takes 3/4 inch on propane at 50 ft.

Do fittings change the size?

They can. IFGC Appendix A103.1 calls for an equivalent length allowance from Table A102.2 on segments with four or more fittings. Add it in the fitting field, and the run may move to a longer row.

Can I use this for CSST, copper or a 2 psi system?

No. Those have their own tables, and CSST is sized by the manufacturer's EHD tables. This page sizes Schedule 40 steel at low pressure only.

Does the calculator account for altitude?

No. IFGC 402.2 requires the gas flow to be adjusted for altitude above 2,000 ft, and the result says so on every run. Above that elevation, use the heating value your gas supplier gives for your area, follow the high altitude section of the appliance instructions and ask the supplier or the inspector how they want the adjustment made.

Used on the same job

Get the heating load in chat

The chat does not size gas pipe. It runs the free whole-house Manual J heating and cooling load, so you know how much heat the house needs at its design temperature. The input on the rating plate of the furnace you install is the number that comes back to this page.

Open the chat