English

Gas Pipe Sizer - Longest Length Method

For plumbers, mechanical contractors and plan reviewers: lay out the piping tree - sections, where each comes off, how long it is, and the appliances on it - and get the size of every section and outlet by the International Fuel Gas Code's longest length method (Section 402.4.1), every step shown.

1. The gas

Load the code's own worked example: ·

Natural gas, inlet under 2 psi, Schedule 40 metallic pipe.

2. The piping

Sections run from the meter (leave "comes off" empty) or off another section. Count fittings as equivalent feet where a run has four or more (IFGC Table A102.2).

SectionComes offLength (ft)Fittings (equiv. ft)

3. The appliances

Outlet / applianceAt the end of sectionInput (Btu/h)Its own run (ft)

The sizes

-
Lay out the piping, or load the example.

How it works

  1. Loads. Each appliance's input in Btu/h divided by the heating value (1,000 Btu per cubic foot is usual) gives cubic feet per hour.
  2. The one length. The run from the point of delivery to the most remote outlet, fittings included as equivalent length, is the only length used. Its row in the tables is that length, or the next longer one the tables have (IFGC 402.4.1, A103.1 steps 4-6).
  3. Each section carries every appliance downstream of it and gets the smallest pipe whose capacity in that row is at least its load (steps 7-9).
  4. Capacities come from the code's own low-pressure equation, Q = 2313 D2.623 (ΔH / (Cr L))0.541 with Cr 0.6094 for natural gas (IFGC Appendix A, Section A104), with Schedule 40 inside diameters.

Worked example

The calculator’s own example, already worked through:

Pressure drop allowed (in w.c.)0.5 - the usual, Table 402.4(2)
Heating value (Btu per cu ft)1000
Number of sections3
Number of appliances4

Result: The sizes 1 in at the meter Longest run 60 ft, to A - every section sized from the 60 ft row at 0.5 in w.c. Section 2 is within 1.1% of what 3/4 in carries - the code's rounded table could differ; check the printed table. Section or outlet Comes off Load (cfh) Size Carries at 60 ft (cfh) Spare Section 3 meter 245 1 in 257 5.0% Section 1 3 110 3/4 in 137 24.1% Section 2 3 135 3/4 in 137 1.1% Outlet A 1 35 1/2 in 65 86.5% Outlet B 1 75 3/4 in 137 82.0% Outlet C 2 35 1/2 in 65 86.5% Outlet D 2 100 3/4 in 137 36.5% The 60 ft row: what each size carries at 0.5 in w.c. (cfh, from the code's equation) 1/2 3/4 1 1-1/4 1-1/2 2 2-1/2 3 4 65 137 257 528 791 1524 2428 4293 8756

Press Load an example above to see the same numbers in the calculator, with every step.

Last updated November 25, 2026. Made and checked by Progeny Infiniti LLC: every calculator is tested against the worked examples in the official source it names. How we build and check these calculators.

Read this before you rely on it

Where the numbers come from

More in Building, HVAC & trades

Other Building, HVAC & trades calculators

See all 11 calculators in Building, HVAC & trades →Next: ASHRAE 62.1 Multiple-Zone Ventilation Calculator →