Gas Pipe Sizing Calculator

Size gas pipe diameter and flow capacity for low and high pressure systems with NFPA 54 and IFGC formulas. Get the next standard Schedule 40 size and BTU capacity.

https://hexacalculator.com/calculators/physics/engineering/gas-pipe-sizing-calculator

Physics

Engineering

Gas Pipe Sizing Calculator

Size gas pipe diameter and flow capacity for low and high pressure systems with NFPA 54 and IFGC formulas. Get the next standard Schedule 40 size and BTU capacity.

Gas Pipe Sizing Calculator

Gas property constant (Cr) per NFPA 54 Table 6.4.2

Low-pressure sizing: NFPA 54 / IFGC longest-length method, pressure drop in inches of water column. This covers most homes.

Minimum pipe diameter

in
Recommended nominal size (in)
Next size internal diameter (in)
Heat capacity (BTU/hr)
Approx. gas velocity (ft/s)

Step up to a 1 inch nominal Schedule 40 pipe (about 1.049 inch internal diameter), the next standard size above your 0.89 in minimum.

Was this calculator helpful?

It takes one click and shapes what we fix next.

Add as preferred on Google

Show the capacity curve

Plot flow capacity against pipe diameter at your conditions.

Show the Schedule 40 capacity table

List the flow and heat capacity of each standard pipe size.

Schedule 40 steel pipe capacity at your gas, length, and pressure

Nominal size (in)

Internal dia (in)

Capacity (CFH)

Heat (BTU/hr)

0.50.6227272,054
0.750.824151150,668
11.049284283,816
1.251.38583582,702
1.51.61873873,067
22.0671,6811,681,440
2.52.4692,6802,679,947
33.0684,7384,737,672
44.0269,6639,663,341

If the size of gas lines is too small, appliances may not operate properly due to insufficient gas supply. If they are too large, unnecessary material and installation costs will be incurred. This tool is based on the pipe sizing calculation formulas in NFPA 54's "National Fuel Gas Code" and "International Fuel Gas Code", and supports both low-pressure systems with a pressure of less than 1.5 psi and high-pressure systems with higher pressures.

Gas Pipe Sizing - Introduction
Gas Pipe Sizing - Introduction

When you enter the gas flow and length of pipe, it calculates the minimum inside diameter required to deliver the amount of gas needed for the appliance without exceeding the allowable pressure rating of the appliance. This value can be used regardless of whether steel (Schedule 40), copper or CSST is being used.

Problems that can be solved by calculating the gas pipeline size:

This task can be reduced to a single value: the minimum pipe diameter required to ensure sufficient gas supply throughout the entire pipeline segment while keeping the pressure within the range tolerated by the device. Each device has an output in BTUs which can be directly converted into a volumetric flow rate of cubic feet per hour.

To calculate the volumetric flow rate (CFH) for natural gas, divide the BTU per hour value by 1,000; for propane, divide it by 2,516. Add up the individual flows of all appliances served by the same pipe segment and use the total volume flow to determine the size of that pipe segment.

Is it a low pressure or high pressure system?

The formula used depends on the pressure of the system. Low-pressure systems have a pressure less than 1.5 psi, which is typical for most residential homes. For this type of system, allowable pressure loss is expressed in inches of water column.

High pressure systems have a pressure of 1.5 psi or more and are often used in commercial and industrial settings. In this case, the compressibility of the gas is taken into account when calculating, so the formula uses not just the simple pressure loss but the difference between absolute pressures squared. Selecting a pressure range at the top of the tool will display the corresponding input fields.

Here's how to use this calculator:

First select the pressure range and type of gas. As natural gas and propane have different specific gravity coefficients, the flow available for each pipe diameter will change.

Gas Pipe Sizing - Parameters
Gas Pipe Sizing - Parameters

To determine the pipe size, enter the flow in CFH (cubic feet per hour) and equivalent length in feet. For low-pressure systems also enter allowable pressure loss; for high-pressure systems both inlet and outlet pressures must be entered. If the field for pipe diameter is left blank, the calculation tool will automatically populate the results. Conversely, you can enter a pipe diameter and clear the flow to get the maximum flow that this pipe can provide.

Understanding of calculation formula.

Both formulas are derived from the Mueller equation, an empirical potential model that describes how the friction coefficient changes with respect to a change in diameter. They are more accurate than simpler models based on square roots because they use more general exponents.

The formula for low pressure pipe diameter is:

D=Q0.38119.71×(ΔHCr×L)0.206D = \frac{Q^{0.381}}{19.71 \times \left( \frac{\Delta H}{C_r \times L} \right)^{0.206}}
Gas Pipe Sizing - Formula
Gas Pipe Sizing - Formula

where Q is the flow rate in CFH, L is the equivalent length expressed in feet, Cr is the relative density coefficient of the gas and delta H is the pressure drop expressed in inches water column. If we have natural gas with a flow rate of 200 CFH, a relative density coefficient of 0.6094, an equivalent length of 50 feet and an allowable pressure loss of 0.5 inch water column, then the calculated minimum diameter is approximately 0.89 inches. So we select a pipe with a nominal size of 1 inch type 40 which has an inside diameter of 1.049 inches.

Gas Pipe Sizing - Example
Gas Pipe Sizing - Example

The high-pressure form of the formula uses a difference in squares of pressure to account for compressibility.

D=Q0.38118.93×((P12−P22)×YCr×L)0.206D = \frac{Q^{0.381}}{18.93 \times \left( \frac{(P_1^2 - P_2^2) \times Y}{C_r \times L} \right)^{0.206}}

The constants change from 19.71 to 18.93 as this version is calibrated for absolute pressure in psia. The compressibility factor Y corrects the behavior of real gases. For natural gas it's about 0.9992, and for propane it's about 0.9910. In these cases, the molecules do not fully follow the ideal gas law.

Gas Pipe Sizing - Calculation
Gas Pipe Sizing - Calculation

If this same relationship is reversed to calculate flow instead of pipe diameter, a formula for calculating volume results.

Qlow=2313×D2.623×(ΔHCr×L)0.541Q_{low} = 2313 \times D^{2.623} \times \left( \frac{\Delta H}{C_r \times L} \right)^{0.541}
Qhigh=2237×D2.623×((P12−P22)×YCr×L)0.541Q_{high} = 2237 \times D^{2.623} \times \left( \frac{(P_1^2 - P_2^2) \times Y}{C_r \times L} \right)^{0.541}
Gas Pipe Sizing - Calculation
Gas Pipe Sizing - Calculation

The table below shows the meaning of each symbol and an example value.

Symbol

Meaning

Example

D

Internal pipe diameter (in)

0.89

Q

Flow rate (CFH)

200

L

Equivalent length (ft)

50

Cr

Gas gravity factor

0.6094

delta H

Pressure drop (in. w.c.)

0.5

P1, P2

Upstream, downstream pressure (psia)

20, 18

Y

Superexpansibility factor

0.9992

Areas of application:

Residential installers use low-pressure formulas to determine the size of piping from gas meters to furnaces, water heaters and cooktops. The equivalent length calculations must take into account not only straight lengths of pipe but also additional lengths due to fittings such as elbows and tees. These values are available in Appendix C of NFPA 54.

In commercial and industrial applications, formulas for high pressure are used to determine the size of main lines, branch lines to rooftop equipment, and process gas lines. CSST manufacturers also create capacity tables based on these same formulas. Therefore, if you want to verify a table or determine the size of pipe sections outside of those listed, then these formulas are your starting point. The formulas are directly stated in Annex B of NFPA 54.

Tips for accurate sizing:

Use not only the actual measured length of pipe sections but also equivalent length and add in additional lengths for fittings as given in appropriate handbooks. A 90-degree elbow on a 3/4-inch pipe adds about 2.5 feet.

Gas Pipe Sizing - Choosing the Size
Gas Pipe Sizing - Choosing the Size

After you have determined the pipe size, round it up to the next standard size. Never round down even if your calculated value is just slightly below the next larger size. Also pay attention to gas velocity. If it exceeds about 100 feet per second, noise in the pipes and corrosion at connection points can occur. This is another reason for choosing a larger pipe size.

Frequently asked questions

What units are used in this calculator?

All units are defined in the US customary system (Yard-Pound) as specified by NFPA 54. Pipe diameter is given in inches, flow rate in cubic feet per hour, pressure in psia or inches of water column and length in feet. When working with metric system results for pipe diameter can be converted to millimeters or centimeters.

What is the equivalent length of a pipeline?

This is the actual length of the pipe section to which additional lengths due to friction caused by each fitting are added. This includes bends, tees and valves. Appendix C of NFPA 54 contains information on the additional length for common fittings for each pipe size.

How do you convert CFH to btu per hour?

For natural gas you multiply by about 1000. This is because the combustion of one cubic foot produces approximately 1000 BTUs of heat. For propane, you multiply by 2516. The tables for volume listings will list the values in BTU per hour next to each pipe size.

When do you use the high pressure formula?

It is used when the system pressure is 1.5 psi (about 41.6 inches of water) or higher. For pressures below that, you should still use the low-pressure formula. Residential buildings are almost always low-pressure systems. The high-pressure formula is mainly used in commercial and industrial gas piping.

What is the compression factor (Y)?

It is used to correct the behavior of real gases under pressure. At low pressures a gas behaves similarly to an ideal gas but at pressures above 1.5 psi it deviates from this state due to interactions between molecules. The Y-value for natural gas is about 0.9992 while it is about 0.9910 for propane, based on NFPA 54, Table 6.4.2.

Related calculators

Pipe Velocity CalculatorCalculate the velocity of a fluid in a round pipe from the flow rate and inside diameter with v = Q/A, or solve for the diameter or flow rate instead. Reports the bore area and mass flow rate, in units from GPM to m³/s.
Pipe Weight CalculatorCalculate the weight of a pipe from its outer diameter, wall thickness or inner diameter, length and material. Reports weight per metre and per foot, the metal area, the volume, and the weight when filled with fluid.
Ideal Gas Law CalculatorSolve the ideal gas law PV = nRT for pressure, volume, amount, or temperature. Enter any three values and get the fourth, plus molar volume, gas mass and density, internal energy, and the pressure-volume curve, in any units.
Bernoulli Equation CalculatorCompare pressure, speed, and height at two points along a streamline with Bernoulli's equation, solve for any unknown, and find the volumetric and mass flow rate through a pipe.
Sonic Velocity CalculatorFind the speed of sound (sonic velocity) in air, helium, hydrogen and other gases at any temperature, or work the temperature back from a measured sound speed. Adds the Mach number and flight regime, a custom gas by heat-capacity ratio and molecular weight with the choked-flow critical pressure ratio, and gas-comparison charts.
Modern Lift Equation CalculatorCalculate aerodynamic lift with the modern lift equation L = half rho v squared A Cl. Solve for lift, speed, wing area, air density, or lift coefficient, plus dynamic pressure, the angle-of-attack lift curve, and stall speed.

Disclaimer: This calculator is provided for general informational and educational purposes only. Our calculators are under active development, and results may be inaccurate, incomplete, or unsuitable for your situation. Always verify the figures independently and seek advice from a qualified professional before relying on them. We make no warranties and accept no liability for any loss or decision arising from use of this tool.

References

  1. NFPA 54: National Fuel Gas Code

    The code that defines the gas pipe sizing equations and fitting allowances.

  2. International Fuel Gas Code (IFGC)

    Fuel gas piping requirements and sizing tables for the IFGC jurisdictions.