Plumbing, Piping & Hydraulics Gas Piping & BTU Load NFPA 54 / IFGC low-pressure equation

Natural Gas Pipe Sizing Calculator

Gas pipe is sized on two numbers: how much gas the section has to carry, and how far the gas has to travel to the appliance furthest from the meter. This calculator applies the low-pressure equation published in NFPA 54, the National Fuel Gas Code, and reproduced in the International Fuel Gas Code - the same equation the printed capacity tables are generated from. Enter the connected load in BTU per hour, the developed length and the pressure drop you are allowed, and it returns the required flow in cubic feet per hour, the smallest pipe that carries it, and the capacity of every size so you can see the margin.

Calculator

This calculator runs in your browser. Enable JavaScript for live results — the inputs, formula and worked example below remain fully readable without it.

Inputs this calculator takes, with typical values
InputWhat to enterExample
Load carried by this sectionSum of the input ratings of every appliance downstream of this section, taken from their rating plates.200000 BTU/hr
Heating value of the gasHigher heating value from the utility. Pipeline natural gas is typically 1,000 to 1,050 BTU per cubic foot.1030 BTU/ft3
Straight length to the furthest applianceMeasured run from the meter outlet to the most remote appliance, following the pipe route.60 ft
Fitting allowancePercentage added for elbows, tees and valves. Set to 0 if you have already added equivalent lengths for each fitting.20 %
Allowable pressure drop0.5 in WC is the usual allowance on a 7 in WC residential system; 0.3 in WC is used where appliances are sensitive.0.5 in WC
Specific gravity of the gas0.60 is the value the NFPA 54 natural gas tables are built on. Propane is 1.52 and has its own tables.0.6
Pipe materialSets the inside diameters used. CSST is not listed because its capacity comes from the manufacturer's own tables keyed to EHD, not from this equation.Schedule 40 steel (black iron)

It returns

  • Minimum nominal pipe size — Read 0.50 as 1/2 in, 0.75 as 3/4 in and 1.25 as 1-1/4 in.
  • Gas flow this section must carry
  • Capacity of that size
  • Same capacity in heat terms
  • Spare capacity — Headroom for a future appliance on the same run.
  • Developed length used

The formula

Q=3987D2.623(ΔHL)0.541
CFH=BTU/hrHHV
1psi=27.71in WC

In plain text: Q = 3987 x D^2.623 x (dH / L)^0.541 (natural gas, specific gravity 0.60)

  • QGas capacity of the section (ft3/hr (CFH))
  • DActual inside diameter of the pipe (in)
  • dHAllowable pressure drop over the run (in water column)
  • LDeveloped length: straight run plus fitting equivalents (ft)

This is the NFPA 54 low-pressure equation, valid for systems operating below 1.5 psi with a drop of 1.0 in WC or less. It reproduces the printed capacity tables in Chapter 6 of the code to better than half a percent. For a gas of a different specific gravity the capacity is scaled by (0.60/G) raised to the 0.541 power, which is how the code handles gravities other than 0.60.

Updated Category Gas Piping & BTU Load Verified against published test cases Reading time 13 min

What gas pipe sizing is actually protecting

An appliance regulator needs a minimum supply pressure to hold its outlet setting. A residential system typically leaves the meter at 7 inches of water column, and the appliance needs about 5 inches at its inlet under full fire. That is the whole design problem: the pipe may consume only the small difference, and the code writes it down as an allowable pressure drop - normally 0.5 in WC, or 0.3 in WC where the equipment is fussy.

Undersized pipe does not simply deliver less gas. It starves the burner when several appliances fire together, which produces incomplete combustion, sooting, delayed ignition, and in the worst case carbon monoxide. The failure is intermittent and appears only at peak load, which is exactly what makes it dangerous - a system that tested fine with one appliance running can be unsafe on the coldest morning of the year when the furnace, the water heater and the range are all on.

Note that the answer depends on both quantities together. A 1/2 inch line carries 172 CFH over 10 ft and only 50 CFH over 100 ft, because pressure drop accumulates along the run. There is no such thing as the capacity of a pipe size; there is only the capacity of a pipe size over a stated length at a stated drop.

Once you have the flow, converting from heat to volume is arithmetic. Divide the total input rating in BTU per hour by the heating value of the gas. Pipeline natural gas is around 1,030 BTU per cubic foot, so 200,000 BTU/hr is about 194 cubic feet per hour. The CFH to BTU converter handles that step on its own, and the BTU load calculator totals the appliances.

The longest length method, and why it looks wasteful

NFPA 54 offers several sizing routes. The one this calculator implements is the longest length method, which is the simplest and the one most inspectors expect to see on a residential job.

You find the developed length from the meter to the most remote appliance - the longest run in the system - and then size every section of the system using that single length, with each section carrying the total load downstream of it. A branch two feet long feeding a range is sized as though it were at the end of the longest run.

This looks wasteful, and it is deliberately conservative. It exists because it is impossible to get it wrong: any pressure drop calculated on the longest run is the worst case for every shorter path, so no appliance can be starved. The alternative branch length method sizes each branch on its own developed length and produces smaller pipe, at the cost of more bookkeeping and more ways to make a mistake.

Fittings add developed length. The rigorous approach is to look up an equivalent length for every elbow, tee and valve and add them to the measured run. The field approach, and what the percentage field here does, is to add a blanket allowance: 20% for an ordinary residential run, more where the pipe is full of changes of direction. If you have already added equivalent lengths, set the allowance to zero.

One important exclusion: CSST is not sized with this equation. Corrugated stainless steel tubing has a corrugated bore whose friction behaviour is nothing like smooth pipe, and its capacity is published by each manufacturer against an equivalent hydraulic diameter designation rather than a nominal size. Always use the manufacturer's table that came with the listed system, and follow their bonding requirements.

Worked example: 200,000 BTU/hr over a 60 ft run

A house has a 100,000 BTU/hr furnace, a 40,000 BTU/hr water heater and a 60,000 BTU/hr range. The furthest appliance is 60 ft of pipe from the meter, with a normal number of elbows, so use a 20% fitting allowance. The system runs at 7 in WC and the allowable drop is 0.5 in WC. The gas is 1,030 BTU per cubic foot at a specific gravity of 0.60, and the pipe is schedule 40 black iron.

  1. Total load. 100,000 + 40,000 + 60,000 = 200,000 BTU/hr.
  2. Convert to flow. 200,000 ÷ 1,030 = 194.2 CFH.
  3. Developed length. 60 × 1.20 = 72 ft.
  4. Pressure gradient term. (0.5 ÷ 72)0.541 = 0.0069440.541 = 0.06796.
  5. Try 3/4 in. Inside diameter 0.824 in, so 0.8242.623 = 0.6019 and capacity = 3987 × 0.6019 × 0.06796 = 163 CFH. Not enough for 194.2.
  6. Try 1 in. Inside diameter 1.049 in, so 1.0492.623 = 1.1337 and capacity = 3987 × 1.1337 × 0.06796 = 307 CFH. That clears it.
  7. Answer. 1 inch schedule 40, carrying 307 CFH or 316,000 BTU/hr, leaving 36.8% spare - room for a future dryer or fireplace on the same main without resizing.

Under the longest length method every section of that system is now sized against 72 ft. The main from the meter carries the whole 194.2 CFH and is 1 inch. The branch to the water heater carries 40,000 BTU/hr, or 38.8 CFH, and 1/2 inch pipe carries 78 CFH over 72 ft at a 0.5 in WC drop, so a 1/2 inch branch is adequate.

Reading the answer and knowing when to change the system

Look at the spare capacity figure as well as the size. A run sized with 5% headroom is a run that cannot take a single additional appliance, and adding a gas dryer or a fire pit later will mean replacing pipe rather than tapping into it. Where the next size up is cheap - and between 1/2 and 3/4 inch it usually is - buying the margin now is the sensible economy.

If no size on the list carries the load, you have three real options and only three. Shorten the developed length by rerouting or by moving the meter. Split the load onto two runs from the meter. Or convert to a 2 psi system, in which the meter delivers 2 psi to a small-diameter main and a line-pressure regulator at each appliance drops it to 7 in WC. The 2 psi approach is common in new construction precisely because the allowable drop becomes about 1 psi rather than 0.5 in WC - roughly 55 times more - and the pipe shrinks dramatically.

Check the meter as well as the pipe. A residential diaphragm meter has a rated capacity, commonly 250 CFH for the standard domestic size, and a system whose pipe is comfortable can still overrun the meter or the service regulator. Total the connected load and compare it against the meter rating, which the gas appliance BTU load calculator does directly, and confirm actual delivery by clocking the meter once the system is running.

For propane, do not simply change the specific gravity here. LP systems have their own capacity tables in NFPA 58 and NFPA 54, run at different inlet pressures - typically 11 in WC downstream of the second-stage regulator - and with a heating value of about 2,516 BTU per cubic foot, so the flow for a given load is less than half. Use the propane pipe sizing calculator instead.

Schedule 40 steel capacity in CFH, 0.60 gravity, 0.5 in WC drop

Capacity in cubic feet per hour, generated from the equation above at a 0.5 in WC drop and a specific gravity of 0.60. Multiply by the heating value to get BTU/hr - at 1,030 BTU per cubic foot, 100 CFH is 103,000 BTU/hr.
Developed length1/2 in3/4 in1 in1-1/4 in1-1/2 in2 in
10 ft2274758941,8352,7505,296
20 ft1563266141,2611,8903,640
40 ft1072244228671,2992,502
60 ft861803396961,0432,009
80 ft741542905968931,719
100 ft651372575287911,524
150 ft521102074246351,224
200 ft45941773635441,047

The code's own printed tables are at 0.3 in WC as well as 0.5 in WC. Values at 0.3 in WC are these figures multiplied by (0.3/0.5) to the power 0.541, which is 0.754.

Mistakes that fail an inspection

  • Sizing a branch on the branch length. Under the longest length method every section uses the length to the most remote appliance, not its own length. Sizing the two-foot range drop on two feet is the classic error.
  • Using the appliance output rating instead of the input. A furnace labelled 80,000 BTU/hr output at 80% efficiency draws 100,000 BTU/hr of gas. Pipe is sized on input, which is the figure on the rating plate.
  • Forgetting a future appliance. A gas dryer, a generator or an outdoor kitchen added later will not fit into a run sized with 5% margin. Where the load is likely to grow, size for it now.
  • Sizing CSST from steel pipe tables. CSST has its own listed capacities keyed to the manufacturer's equivalent hydraulic diameter. Steel tables will overstate what it carries.
  • Applying natural gas tables to propane. Propane is 2.5 times the specific gravity and 2.4 times the heating value, delivered at a different pressure. It has separate tables for good reason.
  • Ignoring elevation change on long vertical runs. Natural gas is lighter than air, so a tall riser actually gains a little pressure going up. On a multi-storey building the code has a correction, and this calculator does not include it.
  • Skipping the pressure test. Sizing does not prove tightness. The pressure test required by the code, at the pressure and duration your jurisdiction specifies, is a separate and non-negotiable step.

Which edition of the code applies to you

This calculator uses the low-pressure equation given in NFPA 54, the National Fuel Gas Code, which is co-published as ANSI Z223.1 and is reproduced in the International Fuel Gas Code. The equation and its exponents have been stable across recent editions, and the capacities it produces reproduce the printed tables in Chapter 6 to within about half a percent. Editions differ in adopted tables, permitted materials and CSST bonding requirements rather than in the hydraulics. Always work from the edition your jurisdiction has adopted, and treat anything a calculator tells you as preliminary until the plan review confirms it. Gas piping work is licensed work in most jurisdictions.

Key terms

Developed length
The measured run of pipe plus the equivalent lengths of the fittings in it, in feet. It is the length the pressure drop calculation uses.
CFH
Cubic feet per hour of gas. Divide the load in BTU per hour by the heating value in BTU per cubic foot to get it.
Inches of water column
A small pressure unit used throughout fuel gas work. One psi is 27.71 in WC, and a residential system typically runs at 7 in WC.
Longest length method
Sizing every section of a system using the developed length to the most remote appliance. Conservative, simple and the usual residential approach.
CSST
Corrugated stainless steel tubing. Flexible listed gas tubing whose capacity comes from the manufacturer's tables, not from the smooth-pipe equation.

Why gas sizing uses full connected load, not a demand factor

Anyone who has done an electrical service calculation brings a habit into gas piping that does not transfer: applying a demand or diversity factor to the connected load. Electrical load calculations reduce the sum of nameplate loads because not every circuit draws its rated current at once. NFPA 54 does not do this for fuel gas.

The load this calculator asks for - the sum of every appliance's input rating downstream of a section - is used exactly as entered, with no reduction for the likelihood that the furnace, the water heater and the range all fire at the same time. That is deliberate. A furnace starting the same moment the water heater is already running is not a rare coincidence on a cold morning; it is the condition the pipe has to survive without starving either appliance, and the code sizes for it directly rather than betting against it.

This is also why adding one more appliance to an existing system is not simply a matter of checking whether the meter and service regulator have spare capacity. Every section of pipe between the meter and the new appliance's tie-in point was sized against the old connected load. Increasing that load reopens the sizing calculation for the whole run, not just the new branch - which is exactly what the spare-capacity output on this page is for: it shows the headroom that already exists before anyone picks up a wrench.

The one place diversity does appear is at the meter and the utility's own distribution system, which are sized against a load survey across many customers rather than the sum of every connected appliance. That is the supplier's calculation, not the piping designer's, and it does not change how an individual branch is sized.

Frequently asked questions

What size gas line do I need for a 200,000 BTU load?

At 1,030 BTU per cubic foot that is 194 CFH, and over a 72 ft developed length at a 0.5 in WC drop, 1 inch schedule 40 steel carries 307 CFH while 3/4 inch carries only 163 CFH - so 1 inch. Change the length and the answer changes: the same load over a 20 ft developed length fits 3/4 inch, which carries 328 CFH there. Length matters as much as load.

How do I convert BTU per hour to CFH?

Divide by the heating value of the gas. For natural gas at 1,030 BTU per cubic foot, 100,000 BTU/hr is 97.1 CFH. For propane at 2,516 BTU per cubic foot, the same 100,000 BTU/hr is only 39.7 CFH - which is why propane lines are smaller than natural gas lines for the same appliance, even though propane is a heavier gas.

What pressure drop should I use, 0.3 or 0.5 inches of water column?

Use 0.5 in WC for an ordinary residential system operating at 7 in WC, which is what most tables and most inspectors assume. Use 0.3 in WC where the appliance manufacturer calls for it, where the supply pressure is on the low side, or where you want extra margin. Dropping from 0.5 to 0.3 cuts every capacity by about 25%, so it will frequently push you up a pipe size.

Can I use this calculator for CSST?

No. CSST has a corrugated bore whose pressure drop behaviour differs from smooth pipe, and each manufacturer publishes listed capacity tables keyed to an equivalent hydraulic diameter designation rather than to nominal pipe size. Using steel pipe capacities for CSST overstates what it will carry. Use the tables supplied with the listed system, and follow the manufacturer's bonding and installation instructions.

Does the longest length method waste pipe?

It usually produces larger pipe than strictly necessary, and that is the point - it cannot starve an appliance, because every section is sized for the worst path in the system. The branch length method sizes each branch on its own developed length and gives smaller pipe at the cost of more calculation and more scope for error. Both are permitted; the longest length method is what most residential plan reviews expect.

What is a 2 psi gas system and when do you need one?

A 2 psi system carries gas from the meter at 2 psi through small-diameter pipe and drops it to appliance pressure with a line-pressure regulator at or near each appliance. Because the allowable drop is around 1 psi rather than 0.5 in WC, the same load fits far smaller pipe. It becomes attractive on long runs, on large loads, and in retrofits where getting a bigger pipe through the structure is impractical.

Do I size on appliance input or output?

Input, always. The input rating on the appliance data plate is the gas the appliance consumes; the output is what it delivers as useful heat after combustion losses. An 80% efficient furnace with an 80,000 BTU/hr output consumes 100,000 BTU/hr, and sizing on 80,000 would undersize the line by 20%.

Does pipe elevation affect gas pressure?

Yes, slightly, and in the direction most people do not expect. Natural gas is lighter than air, so a vertical rise gains a small amount of pressure rather than losing it - roughly 0.02 in WC per foot of rise for 0.60 gravity gas. On residential work it is negligible and this calculator ignores it. On tall buildings the code provides a correction that must be applied.

References

  • NFPA 54 / ANSI Z223.1, National Fuel Gas CodeNational Fire Protection Association
  • International Fuel Gas Code, Chapter 4 - Gas Piping Installations — International Code Council
  • NFPA 58, Liquefied Petroleum Gas Code — National Fire Protection Association