Gas Pipe Sizing Calculator

Pick the wrong pipe diameter for a gas system and you land in one of two ditches: too small and the appliances starve for fuel, too large and you paid for metal you never needed. This calculator uses the sizing equations from NFPA 54 (the National Fuel Gas Code) and the International Fuel Gas Code, and it handles both low-pressure systems below 1.5 psi and high-pressure systems at or above that mark. Give it your gas flow and pipe run, and it returns the smallest internal diameter that still moves the flow your appliances need without blowing past your allowable pressure drop. The same numbers hold whether the pipe is CSST, copper, or Schedule 40 steel.

What is Gas Pipe Sizing?

The job comes down to one number: the smallest pipe diameter that still moves enough gas over the full run without the pressure sagging below what the appliances can tolerate. Every appliance carries a BTU rating, and that rating converts straight into a flow rate in cubic feet per hour (CFH). Divide the BTU/hr figure by 1,000 for natural gas, or by 2,516 for propane.

Which formula you reach for depends on pressure. Low-pressure systems run below 1.5 psi, which covers most homes, and they measure pressure drop in inches of water column (in. w.c.). High-pressure systems sit at 1.5 psi and up, common in commercial and industrial work, where the gas compresses enough that you can't ignore it. Both formulas lean on the same three inputs: the flow rate Q, the equivalent pipe length L (straight run plus fittings), and the gas constant Cr from NFPA 54 Table 6.4.2.

How to use this calculator

Pick your gas type from the dropdown first. Natural gas and undiluted propane carry different property constants, and that changes how much each pipe size can move. Then match your system's pressure by switching between the Low Pressure and High Pressure formula sets at the top.

To size a pipe, enter the total flow rate in CFH, the equivalent length in feet (straight run plus fitting allowances), and either the allowable pressure drop for a low-pressure system or the upstream and downstream pressures for a high-pressure one. Out comes the minimum internal diameter. Check it against the Schedule 40 capacity table below, then step up to the next standard size larger than the number you got. Want flow capacity instead of diameter? Enter the diameter and leave the flow rate blank.

Understanding the formulas

Both formulas come from the Mueller Equation, an empirical power-law model that tracks how the friction factor shifts as the pipe diameter changes. Those odd exponents (0.381 and 0.206 for diameter, 2.623 and 0.541 for flow) are what make it more accurate than older models that leaned on plain square roots.

The low-pressure pipe diameter formula 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}}

Say you need 200 CFH of natural gas (Cr = 0.6094) through a 50-foot equivalent length, with 0.5 in. w.c. of pressure drop to play with. The numerator works out to 200^0.381 = 8.32. Inside the fraction, 0.5 / (0.6094 x 50) = 0.0164, and raising that to the 0.206 power gives 0.468. Multiply by 19.71 and you get 9.22. So D = 8.32 / 9.22 = 0.90 inches, which puts a 1-inch Schedule 40 pipe (1.049-inch internal diameter) as the right pick.

The high-pressure formula uses the difference of squared pressures to account for gas compressibility:

D=Q0.38118.93×((P12P22)×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 constant drops from 19.71 to 18.93 because this version is calibrated for psia. The superexpansibility factor Y (0.9992 for natural gas, 0.9910 for propane) corrects for real gas behavior at higher pressures, where the molecules stop following the ideal gas law cleanly.

The equivalent flow rate formulas solve for Q instead of D:

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×((P12P22)×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}

Applications

Residential plumbers use the low-pressure formula to size the piping that runs from the meter out to furnaces, water heaters, and cooking ranges. The equivalent length has to cover the straight runs plus every fitting, the elbows and tees included, which you look up in the tables in NFPA 54 Annex C.

Commercial and industrial jobs use the high-pressure formula for main supply lines, rooftop unit feeds, and process gas systems. CSST manufacturers build their own capacity tables on these same equations, so if you need to check one of those tables or size a run that falls outside what they publish, these formulas are the reference, straight from NFPA 54 Annex B.

Tips for accurate sizing

Use the equivalent length, not just the measured run. Add the fitting allowances from the tables in your code book. A 90-degree elbow on 3/4-inch pipe, for instance, adds roughly 2.5 feet. Once you have a diameter, round up to the next standard size and never down, even when the computed number sits just under the smaller one. And where several appliances feed off a shared section of pipe, add their flow rates together for that segment.

These results are estimates based on the Mueller Equation formulas in NFPA 54 and IFGC Annex B. Any gas piping work has to meet local building codes and be done or inspected by a licensed professional. Check the numbers against published sizing tables, and on critical jobs bring in a licensed plumber or mechanical engineer.

Frequently asked questions

What units does this calculator use?

Everything is imperial, the way NFPA 54 specifies it: diameter in inches, flow in cubic feet per hour (CFH), pressure in psia or inches of water column, and length in feet.

What is the equivalent length of pipe?

It is the measured length of the run plus a friction allowance for every fitting in it, the elbows, tees, and valves. NFPA 54 Annex C lists those allowances for common fittings at each pipe size.

How do I convert CFH to BTU/hr?

Multiply CFH by 1,000 for natural gas, since a cubic foot burns at roughly 1,000 BTU. For propane, multiply by 2,516. The data table below already lists the BTU/hr figures next to each pipe size.

When should I use the high-pressure formula?

Use it once your system runs at 1.5 psi (about 41.6 inches of water column) or higher. Below that, stick with the low-pressure formula. Homes are almost always low-pressure; commercial and industrial supply lines are where the high-pressure formula tends to come in.

What is the superexpansibility factor (Y)?

It corrects for how real gas behaves under pressure. Down low, gas acts close to ideal, but past 1.5 psi the molecules interact enough to pull it off that mark. Y is 0.9992 for natural gas and 0.9910 for propane, per NFPA 54 Table 6.4.2.

Author

hexacalculator design team

Our team blends expertise in mathematics, finance, engineering, physics, and statistics to create advanced, user-friendly calculators. We ensure accuracy, robustness, and simplicity, catering to professionals, students, and enthusiasts. Our diverse skills make complex calculations accessible and reliable for all users.