HVAC · Gas piping

Gas Pipe Sizing Calculator

Sizes every section of the system, not one pipe. Natural gas or undiluted propane, Schedule 40, computed from the fuel gas code's own equation, with the length method named and the code address for the book your jurisdiction adopted.

The short answer. Gas pipe is sized section by section, and each section carries its own appliance plus everything downstream of it. A 235,000 Btu/h house, a furnace with a water heater and a range and a dryer, with a 57 foot longest run and half an inch of water column to give away, takes 1 inch off the meter while the drop to the furnace is only 3/4 inch. Same system, different sections, different sizes.

Two things decide it and both are easy to get wrong: the LENGTH each section is sized at is set by the method you chose rather than by how long that piece of pipe is, and the load a section carries is everything downstream of it rather than the one appliance at its end. The safety lane here is carbon monoxide, not fire. An undersized pipe starves combustion.

Loading calculator...

What a single-pipe chart cannot tell you

The section carries what is downstream of it

The pipe between the meter and the first tee carries every appliance in the house at once, because the code sizes on the total connected load with every appliance at full capacity. Size that main on the furnace alone and it is short by the water heater, the range and the dryer together.

The length used is not the length of the pipe

Under the longest length method a six foot drop to a range is sized at the longest run in the whole house. That is the rule, not a rounding: sizing that drop at six feet is the single most common way a hand calculation comes out too small.

Schedule 40 natural gas, one straight run

Nominal size for a single run of Schedule 40 steel carrying natural gas at half an inch of water column, computed from the code equation. The load is in cubic feet per hour, which is what the equation consumes: divide your appliance total in Btu per hour by the heating value of the gas your supplier delivers. A real system is a tree rather than one run, so use the calculator above for anything with a branch in it.

A plus means the load is close to that size's limit. Those cells sit within one percent of the capacity the equation gives that size, which is exactly the band described further down this page, so the code's own published capacity table may already have stepped up to the next size there. Both answers are code-compliant and the larger one is never wrong to install. Every other cell either matches the table or comes out one size larger than it, which is the safe direction and never wrong to install.

Load (cfh)10 ft20 ft30 ft40 ft60 ft80 ft100 ft150 ft200 ft
501/21/21/21/21/21/23/43/43/4
1001/21/23/43/43/43/43/411
1501/23/43/43/411111-1/4
2003/43/411111-1/41-1/41-1/4
3003/41111-1/41-1/41-1/41-1/41-1/2
400111-1/41-1/41-1/41-1/41-1/4 +1-1/21-1/2
60011-1/41-1/41-1/41-1/21-1/21-1/2 +22
8001-1/41-1/41-1/21-1/222222 +

Schedule 40 undiluted propane, one straight run

The same run on undiluted propane, again at half an inch of water column and again in cubic feet per hour. Propane is two and a half times as dense as natural gas, so the same volume needs more pipe. It also carries far more heat per cubic foot, so the same appliance draws far fewer cubic feet per hour: convert with the heating value your supplier gives you before reading this table, and never carry a natural gas figure across. A plus means the same thing it does above: the load is within one percent of that size's limit, so the code's own table may already have stepped up.

Load (cfh)10 ft20 ft30 ft40 ft60 ft80 ft100 ft150 ft200 ft
501/21/21/21/23/43/43/43/41
1001/23/43/43/411111-1/4
1503/43/41111 +1-1/41-1/41-1/4
2003/41111-1/41-1/41-1/41-1/41-1/2
300111-1/41-1/41-1/41-1/41-1/21-1/22
40011-1/41-1/41-1/41-1/21-1/21-1/222
6001-1/41-1/41-1/21-1/222222-1/2
8001-1/41-1/222222-1/22-1/22-1/2

The published propane capacity table stops at 4 inch. The equation does not, and it is code in its own right, so larger sizes are still computed and the result says that a plans examiner cannot cross-check them against that table.

The equation and the tables disagree by about 0.9 percent

0.9%equation
vs tables

This is a correctness disclosure, not a hedge. IFGC 402.3 authorises the published capacity tables and the sizing equations as alternatives, and this tool computes. Measured across the 1,110 cells of the two published natural gas capacity tables, where no assumed heating value can enter the comparison, the equation as printed runs about 0.9 percent less conservative than those tables: the ratio is the same at both of their published pressure drops, which is what makes it the coefficient rather than the pressure term. We publish the coefficient the code prints and do not tune it, because fitting a published constant to close a gap is fabrication wearing an engineering costume.

What that costs you is bounded, and it was measured rather than argued. At a capacity the table actually publishes there is not one cell, of all 1,470 published cells across the three tables we transcribed, where the equation would select a smaller pipe than the table does. The disagreement is a narrow band just ABOVE a published capacity, where the table has already stepped up a size and the equation has not, and by five percent above a published capacity the two agree again. So a plans examiner checking this same job against the table can legitimately land one size larger, and both answers are code-compliant. If the inspector wants the table's answer, the table's answer is never wrong to install.

The appendix's own worked example, reproduced

The informative appendix works a four-outlet system by the longest length method. Every size below is what this engine returns for it, and the 60 foot longest length is DERIVED from the section tree rather than handed in, so a misreading of the example's geometry would fail the build instead of quietly sizing against the wrong length. These same sizes come out of the published capacity table by hand, which is two authorised routes agreeing on the appendix's own example.

SectionLoadLength usedSize
Section 3245 cfh60 ft1 in
Section 1110 cfh60 ft3/4 in
Section 2135 cfh60 ft3/4 in
Outlet D100 cfh60 ft3/4 in
Outlet C35 cfh60 ft1/2 in
Outlet A35 cfh60 ft1/2 in
Outlet B75 cfh60 ft3/4 in

What this tool refuses to answer, and why

Each row below is a real state run through the engine, and the reason shown is the engine's own words rather than a description of them. A refusal that names its gap is worth more than a confident answer we cannot stand behind.

Asked forWhat it says instead
Corrugated stainless steel tubingCorrugated stainless steel tubing is not smooth-wall pipe, so Equations 4-1 and 4-2 do not reach it: IFGC 402.4 applies them only where "the pipe or tubing shall have smooth inside walls". CSST is sized from its own listed system's tables, keyed to EHD, and IFGC 402.3(2) gives those manufacturer tables the authority.
Copper, polyethylene or smooth-wall stainlessThis version sizes Schedule 40 steel only. Copper, PE and smooth-wall stainless are each a different internal-diameter table on the same equation, and none of those diameter rosters has been sourced and two-pass adjudicated yet.
Supply pressure at or above one and a half poundsEquation 4-1 is the LOW-pressure form and IFGC 402.4 bounds it at less than 1.5 psi. At or above that the code uses Equation 4-2, which this version does not implement. This also refuses the 1.5 to 2.0 psi band on purpose: Equation 4-1 stops at 1-1/2 psi while the first four capacity tables are headed "Less than 2 psi", so the two authorised methods do not obviously agree there, and refusing a band is honest where guessing inside it is not.
Above five pounds inside a buildingIFGC 402.7 caps piping inside buildings at 5 psig unless one of its eight conditions is met (welded or brazed joints, fittings listed to ANSI LC-4/CSA6.32, flanged with welded or brazed pipe-to-flange connections, a ventilated chase, one of the listed exclusive-use occupancies, a temporary installation for a building under construction, piping serving appliances used for agricultural purposes, or an LP-gas system above 20 psi complying with NFPA 58). None of those has been stated, so the answer here is a checklist, not a size.
No heating value statedThe load has to be converted from Btu/h to cubic feet per hour, and that needs the heating value of the gas actually being delivered. The code's own appendix says it "can be obtained from the serving gas supplier". Assuming 1,000 Btu/ft3 UNDERSIZES the pipe wherever the real value is lower, so nothing is assumed here.
No allowable pressure drop statedThe allowable pressure drop has to be stated. 0.5 in. w.c. is what most published tables ASSUME, not what the code requires: IFGC 402.6 requires that the pressure at every appliance inlet be at least the appliance's own minimum. A borrowed table assumption is not a design drop.
Above 2,000 feet with no adjustment factor statedIFGC 402.2 MANDATES that the volumetric flow rate "shall be adjusted for altitude where the installation is above 2,000 feet", and Chapter 4 supplies no multiplier for it. No factor has been stated, and inventing one would understate the required flow at exactly the elevations where it matters.
A line pressure regulator on a sectionSection Run carries a line pressure regulator, which makes this a hybrid system sized under IFGC 402.4.3: the piping upstream of the regulator is sized to the most remote REGULATOR and the piping downstream to the most remote outlet it serves, under two different pressure regimes. That is not implemented here, and ignoring the regulator would size the whole system as if it were low pressure.
A code family whose own coefficients were never fetchedNational Fuel Gas Code (NFPA 54 / ANSI Z223.1): NFPA 54's own sizing coefficients and Cr/Y values were never fetched from NFPA 54 itself, and nfpa.org refuses automated access. The method names and their order match the IFGC exactly, which is suggestive and is not a source. Until those coefficients are read from the primary, this tool will not put an NFPA 54 label on an IFGC answer.

Fitting equivalent lengths, which are guidance and not code

These come from the informative appendix (IFGC A102.2), which says in its own first line that it is not part of the code, and the table itself is a reproduction of a 1945 piping handbook carried as commentary. The appendix's wording is that an allowance “should be considered” for a run with four or more fittings, and it warns that a combination of only four elbows or tees can push a run into the next longer length row. The calculator applies it only when you ask, and it says so in the result. Equivalent length in feet of straight Schedule 40 pipe, screwed fittings.

Size45° elbow90° elbowTeeGate valveGlobe valve
1/2 in0.731.553.10.3617.3
3/4 in0.962.064.120.4822.9
1 in1.222.625.240.6129.1
1-1/4 in1.613.456.90.8138.3
1-1/2 in1.884.028.040.9444.7
2 in2.415.1710.31.2157.4
2-1/2 in2.886.1612.31.4468.5
3 in3.587.6715.31.7985.2
4 in4.710.120.22.35112

The selectable ladder is 1/2, 3/4, 1, 1-1/4, 1-1/2, 2, 2-1/2, 3, 4, 5, 6, 8, 10, 12 inch. Sizes that exist as Schedule 40 pipe but that the capacity tables publish no column for are deliberately not selectable, because picking one always returns something smaller than the table's own answer for the same load, and that is the undersizing direction.

Which code you are being cited to

The arithmetic is universal and the address is not. The same sizing rule is published at four different addresses depending on which book your jurisdiction adopted, and a plans examiner reads the address. The calculator asks which one you are on, and it refuses under the two whose own coefficients we have never read from their own text rather than putting their label on this equation's answer.

Code familySizing addressSupported
International Fuel Gas Code402.4Yes
International Residential Code, part VI chapter 24G2413.4 (402.4)Yes
International Fuel Gas Code, and the International Residential Code for one- and two-family dwellingsIFGC 402.4, published in the IRC as G2413.4 (402.4)Yes
National Fuel Gas Code (NFPA 54 / ANSI Z223.1)6.1, with the equation at 6.4.1No, it refuses and names what is missing
Uniform Plumbing Code family1215.0, with sizing at 1215.2 and 1215.3No, it refuses and names what is missing

Questions

What size gas pipe do I need for 100,000 BTU?

The load alone does not answer it: the length does half the work, and so does everything else on the same system. Convert first, because the sizing equation works in cubic feet per hour rather than Btu per hour. At a heating value of 1,000 Btu per cubic foot, which you should confirm with your gas supplier rather than assume, 100,000 Btu/h is 100 cubic feet per hour. One straight Schedule 40 run carrying 100 cubic feet per hour of natural gas at a half inch water column drop needs 1/2 inch at 20 feet, 3/4 inch at 60 feet and 1 inch at 150 feet. And if that furnace shares the system with a water heater and a range, the pipe upstream of the branch carries all three, which is the part a single-pipe chart cannot tell you.

How do you size gas pipe for a whole house?

Section by section, not pipe by pipe. Draw the system as a tree from the meter outward, put each appliance's nameplate input on the section that ends at it, and then every section carries its own appliance plus everything downstream of it. The length each section is sized at depends on the method: under the longest length method every section is sized at the single longest run from the point of delivery to the most remote outlet, and under the branch length method the sections on that longest run keep it while every other section uses the longest run within its own branch. Both are permitted. The example on this page is a 235,000 Btu/h house with a 57 foot longest run: the main off the meter comes out 1 inch while the furnace drop is only 3/4 inch, because the main carries everything and the drop carries one appliance.

What is the difference between the longest length method and the branch length method?

Which length each section gets sized at. The longest length method (IFGC 402.4.1) uses one length for the whole system, the longest run from the point of delivery to the most remote outlet, so every section is sized as though it were feeding that farthest appliance. The branch length method (IFGC 402.4.2) keeps that length only for the sections that actually sit on the longest run and lets every other section use the longest run inside its own branch, which is shorter and therefore permits smaller pipe on those branches. The informative appendix that describes them calls the branch length method less conservative than the longest length method (IFGC A103.2, which is guidance rather than code). The calculator on this page shows both, side by side, so you can see exactly which sections the choice moves and defend the one you install.

Can I size gas pipe with the equation instead of the tables?

Yes. IFGC 402.3 authorises the sizing tables and the equations as alternatives, so a size computed from the equation is code-compliant on its own. This tool computes, which is why it is not locked to one drop, one length row or one edition. The honest catch is that the two routes do not agree perfectly. Measured across the 1,110 cells of the two published natural gas capacity tables, where no assumed heating value can enter the comparison, the equation as printed runs about 0.9 percent less conservative than the tables themselves. Across all 1,470 published cells of the three tables we transcribed there is no cell where the equation picks a smaller pipe than the table does at a capacity that table publishes, but in a narrow band just above a published capacity the table has already stepped up a size and the equation has not. So a plans examiner checking your job against the table can legitimately land one size larger. Both answers are code-compliant, and the larger one is never wrong to install.

Does this calculator do CSST?

No, and that is deliberate rather than a gap we have not got to. Corrugated stainless steel tubing is not smooth-wall pipe, so the code's own equations do not reach it: the section that prints them applies them where the pipe or tubing has smooth inside walls. CSST is sized from its listed system's own tables, keyed to that manufacturer's equivalent hydraulic diameter, and the code gives those manufacturer tables the authority. Sizing CSST from this equation would publish a number the code does not authorise this tool to compute, so the tool refuses by name and sends you to the manufacturer's listed instructions for the system actually being installed.

Why does it ask for the heating value of the gas?

Because the sizing equation works in cubic feet per hour and your appliances are rated in Btu per hour, and the number that converts between them is the heating value of the gas actually being delivered. The code does not publish one. The appendix says it can be obtained from the serving gas supplier, and that is the honest route. Assuming a value undersizes the pipe wherever the real gas is leaner than the assumption, so this tool refuses to assume one: it asks, and it tells you it is asking. Undiluted propane is nowhere near natural gas on this figure, which is why changing the gas clears the field rather than carrying a natural gas number across.

Is 0.5 inches of water column the code's pressure drop?

No. It is what most published capacity tables ASSUME, printed in their headings, and it is a design decision rather than a code requirement. What the code actually requires (IFGC 402.6) is that the pressure at every appliance inlet meets that appliance's own minimum inlet pressure. A borrowed table assumption is not a design drop: on a long run with a low supply pressure, half an inch of water column may be more than you have to give away. State the drop you are designing to, and if you also give the tool the appliance's minimum inlet pressure and the pressure at the point of delivery it will tell you whether your drop actually fits inside what is available. Without those two it says the check is incomplete rather than implying it passed.

Which code section should I write on the permit?

The one your jurisdiction adopted, which is why this tool asks. The arithmetic is the same in every book and the address is not. International Fuel Gas Code, and the International Residential Code for one- and two-family dwellings: the sizing provisions are at IFGC 402.4, published in the IRC as G2413.4 (402.4). A homeowner pulling a residential permit is inspected against the residential code's own numbering, and printing only the commercial fuel gas address to them is a right value under the wrong authority. Two further families are offered and both refuse rather than answer, because their own coefficients were never read from their own text: putting one of those labels on this equation's answer would be a guess about most of a state's permit process.

The rest of the job