Maintained by BuildSolver · Updated
Calculator · Fuel gas
Gas pipe sizing calculator
A gas line has to carry the full input of every appliance at once while losing no more than half an inch of water column. On the 60 ft row of the code table, 1/2 inch steel carries 65 cfh, a lot less than the 172 cfh it carries at 10 ft. Enter the longest run and the input of each appliance to get the size of every branch and of the main, read from the 2021 IFGC tables the way Appendix A does it. The default is the code's own example house. For the combustion air the same appliances need, use the combustion air calculator.
- Choose natural gas or propane. Only Schedule 40 steel at low pressure is sized here.
- Enter the pipe length from the meter or regulator to the farthest appliance, plus any fitting allowance.
- Type the input rating from each rating plate. The result gives the main from the meter and the branch to each appliance.
Example result for the default inputs
Natural gas, Schedule 40 steel, 0.5 in. w.c. drop, longest run 60 ft
Main line from the meter or regulator
1 inch
Total connected load
245 cfh
| Appliance 1 branch, 100,000 BTU/h = 100 cfh | 3/4 inch |
|---|---|
| Appliance 2 branch, 35,000 BTU/h = 35 cfh | 1/2 inch |
| Appliance 3 branch, 75,000 BTU/h = 75 cfh | 3/4 inch |
| Appliance 4 branch, 35,000 BTU/h = 35 cfh | 1/2 inch |
| Table and row used | IFGC 2021 Table 402.4(2), 60 ft row |
| 1/2 inch on this row carries up to | 65 cfh, less than the main load |
| 3/4 inch on this row carries up to | 137 cfh, less than the main load |
| 1 inch on this row carries up to | 257 cfh, enough for the main |
| 1-1/4 inch on this row carries up to | 528 cfh, enough for the main |
| Gas demand | 245,000 BTU/h / 1,000 BTU per cu ft = 245 cfh |
| Reference, A104 low-pressure formula, 1 inch at 60 ft | 257 cfh (the table row governs) |
| Altitude | Above 2,000 ft, IFGC 402.2 requires the gas flow to be adjusted for altitude. This page does not make that adjustment. |
For estimation purposes only. Consult a licensed engineer for final designs.
Sign up with your email. Back on this page in the same browser, your inputs are filled in. No card.
Free without signup
How the pipe size is found
The longest length method in IFGC Appendix A sizes every part of a low-pressure system from one row of the capacity table. You convert each appliance input to the unit of the table, pick the row for the longest run, and read across for the first size that carries the load. The form returns the main from the meter and the branch to each appliance. For a section in between, enter the total input it feeds as one appliance with the same longest run. The main line in that result is your section.
- Gas demand
cfh = input BTU/h / heating value BTU per cu ftNatural gas tables are in cubic feet per hour. At 1,000 BTU per cu ft, a 100,000 BTU/h furnace is 100 cfh. The propane table is in thousand BTU/h, so a propane load goes in as input / 1,000 with no heating value.- Load of a section
load = sum of the inputs downstream of that sectionIFGC 402.2 sizes for every appliance at full input at the same time. The main from the meter carries all of them, a branch carries only its own appliance. A section in between carries the appliances past it. Enter their total as one appliance with the same longest run, and the size the result shows for the main line is the size of that section.- Row
row = the longest run, or the next longer rowMeasure from the point of delivery to the farthest outlet and add the fitting allowance if you use one. A 52 ft run is read on the 60 ft row. That one row sizes the whole system, branches included.- Size
size = smallest pipe with capacity >= load on that rowNo interpolation. If the load sits between two capacities, the larger pipe wins. A load equal to a printed capacity fits that pipe.- Reference formula
Q = 2313 x D^2.623 x (dH / (Cr x L))^0.541IFGC Appendix A104 low-pressure formula. D is inside diameter in inches, dH the 0.5 in. w.c. drop, L the length in feet, Cr 0.6094 for natural gas and 1.2462 for propane (IFGC Table 402.4). The result shows it next to the table answer for natural gas. The table row is what sizes the pipe.
The code's example house, and single appliances
IFGC Appendix A106.1 sizes a house with a furnace, a water heater, a range and a dryer, 60 ft from the point of delivery to the farthest outlet. Every line goes through the same function as the form. The form shows the outlets and Section 3, the main. Sections 1 and 2 come out the same way if you enter their total input as one appliance, and the main line of that result is the section.
| Line | Input, BTU/h | Load, cfh | This page | IFGC A106.1 |
|---|---|---|---|---|
| Outlet A, clothes dryer | 35,000 | 35 | 1/2 in | 1/2 in |
| Outlet B, range and oven | 75,000 | 75 | 3/4 in | 3/4 in |
| Section 1, outlets A and B | 110,000 | 110 | 3/4 in | 3/4 in |
| Section 2, water heater and furnace | 135,000 | 135 | 3/4 in | 3/4 in |
| Section 3, the whole house | 245,000 | 245 | 1 in | 1 in |
Section 2 carries 135 cfh and 3/4 inch carries 137 cfh on the 60 ft row, so it stays at 3/4 inch with 2 cfh to spare. Add one more small appliance to that section and it goes to 1 inch.
One appliance on its own line, natural gas at 1,000 BTU per cu ft. The furnace and tank inputs are examples. The two DOE rows sit at the limits in 10 CFR 430.2. A gas storage water heater is rated at 75,000 BTU/h or less and a gas tankless water heater under 200,000 BTU/h.
| Appliance | Load, cfh | 20 ft run | 50 ft run | 100 ft run |
|---|---|---|---|---|
| Furnace, 80,000 BTU/h input (example) | 80 | 1/2 in | 3/4 in | 3/4 in |
| Tank water heater, 40,000 BTU/h input (example) | 40 | 1/2 in | 1/2 in | 1/2 in |
| Gas storage water heater at the DOE limit, 75,000 BTU/h | 75 | 1/2 in | 3/4 in | 3/4 in |
| Tankless water heater, 199,000 BTU/h (just under the DOE limit) | 199 | 3/4 in | 1 in | 1-1/4 in |
On a 50 ft run the tankless heater needs 1 inch where the 40,000 BTU/h tank gets by on 1/2 inch. On propane the same tankless takes 3/4 inch at 50 ft, because each cubic foot of propane carries more heat. When a tank is swapped for a tankless, check the old branch and the main against the new total.
IFGC Table 402.4(2), natural gas, cfh, 1/2 to 2 inch. The full table runs to 12 inch and 2,000 ft.
| Length | 1/2 in | 3/4 in | 1 in | 1-1/4 in | 1-1/2 in | 2 in |
|---|---|---|---|---|---|---|
| 10 ft | 172 | 360 | 678 | 1,390 | 2,090 | 4,020 |
| 20 ft | 118 | 247 | 466 | 957 | 1,430 | 2,760 |
| 30 ft | 95 | 199 | 374 | 768 | 1,150 | 2,220 |
| 40 ft | 81 | 170 | 320 | 657 | 985 | 1,900 |
| 50 ft | 72 | 151 | 284 | 583 | 873 | 1,680 |
| 60 ft | 65 | 137 | 257 | 528 | 791 | 1,520 |
| 80 ft | 56 | 117 | 220 | 452 | 677 | 1,300 |
| 100 ft | 50 | 104 | 195 | 400 | 600 | 1,160 |
| 125 ft | 44 | 92 | 173 | 355 | 532 | 1,020 |
| 150 ft | 40 | 83 | 157 | 322 | 482 | 928 |
| 200 ft | 34 | 71 | 134 | 275 | 412 | 794 |
IFGC Table 402.4(28), propane after the regulator at 11.0 in. w.c., thousand BTU/h, 1/2 to 2 inch.
| Length | 1/2 in | 3/4 in | 1 in | 1-1/4 in | 1-1/2 in | 2 in |
|---|---|---|---|---|---|---|
| 10 ft | 291 | 608 | 1,150 | 2,350 | 3,520 | 6,790 |
| 20 ft | 200 | 418 | 787 | 1,620 | 2,420 | 4,660 |
| 30 ft | 160 | 336 | 632 | 1,300 | 1,940 | 3,750 |
| 40 ft | 137 | 287 | 541 | 1,110 | 1,660 | 3,210 |
| 50 ft | 122 | 255 | 480 | 985 | 1,480 | 2,840 |
| 60 ft | 110 | 231 | 434 | 892 | 1,340 | 2,570 |
| 80 ft | 94 | 197 | 372 | 763 | 1,140 | 2,200 |
| 100 ft | 84 | 175 | 330 | 677 | 1,010 | 1,950 |
| 125 ft | 74 | 155 | 292 | 600 | 899 | 1,730 |
| 150 ft | 67 | 140 | 265 | 543 | 814 | 1,570 |
| 200 ft | 58 | 120 | 227 | 465 | 697 | 1,340 |
Codes and data sources
- 2021 International Fuel Gas Code, Section 402 and Tables 402.4(2) and 402.4(28) - the maximum demand rule (402.2), the longest length method (402.4.1), the Schedule 40 capacity tables for natural gas at a 0.5 in. w.c. drop and for undiluted propane at 11.0 in. w.c. inlet and 0.5 in. w.c. drop, and Cr from Table 402.4. Sizes 1/2 to 4 inch, rows 10 to 2,000 ft.
- 2021 IFGC Appendix A, Sizing and Capacities of Gas Piping (informative) - the steps of the longest length method (A103.1), the low-pressure formula (A104) and Example 1 (A106.1), which this calculator reproduces line for line as its default.
- 2021 Seattle Fuel Gas Code, Chapter 4 and Appendix A - a second published copy of the same IFGC tables. Every cell this page uses was matched against it.
- 10 CFR 430.2, definitions for consumer water heaters (DOE) - the input limits in the water heater examples. A gas-fired storage water heater has a nameplate input of 75,000 BTU/h or less, a gas-fired instantaneous water heater less than 200,000 BTU/h.
- Appliance rating plate and installation instructions - the input rating to enter and the minimum inlet pressure the appliance needs.
- Generac Guardian 20, 22 and 24 kW spec sheet, Part No. A0000937814 Rev. E - a generator listed in cfh: 306 ft3/hr of natural gas and 142 ft3/hr of propane at full load for the 24 kW, and the note to multiply ft3/hr by 1,000 (NG) or 2,500 (LP) for BTU content. With a local heating value, the page says to enter such an appliance as cfh x 1,000, or cfh x the local value when it is above 1,000, so the pipe never carries less than the listed cfh.
Limitations of this calculator
- A preliminary size. The adopted code, the gas supplier, the appliance installation instructions and the local inspector govern the installed system. A licensed gas fitter or plumber pulls the permit, installs the pipe and runs the pressure test.
- Schedule 40 steel only, at an inlet pressure under 2 psi with a 0.5 in. w.c. drop. CSST, copper, polyethylene, 2 psi systems and other pressure drops have their own tables and are not sized here.
- Natural gas is read from Table 402.4(2), built on a specific gravity of 0.60. IFGC Appendix A102.4 lets gas of 0.70 or less use the tables directly. Heavier gas needs the gravity multiplier, which this page does not apply.
- Propane is read from Table 402.4(28), for pipe between a single or second-stage regulator at 11.0 in. w.c. and the appliance. Pipe between the first and second stage regulators uses a different table.
- Every section uses the longest run. The branch length method (IFGC 402.4.2) can allow smaller branches and is not used here.
- All appliances are counted at full input at once, as IFGC 402.2 sets out. Diversity is allowed only where it can be established, and this page does not apply it.
- IFGC 402.2 requires the flow to be adjusted for altitude above 2,000 ft. This page does not make that adjustment.
- Sizes stop at 4 inch and rows at 2,000 ft. Fitting losses count only if you enter an allowance. Meter and regulator capacity are not checked.
- Written to the 2021 IFGC. Some jurisdictions adopt a different edition, local amendments, NFPA 54 or the Uniform Plumbing Code for fuel gas, so check what your inspector enforces.
Common gas pipe sizing mistakes
- Sizing a branch by its own short length. With the longest length method the farthest outlet sets one row for the whole system. A water heater 10 ft from the meter is still sized on the row for the longest run in the house.
- Entering the output rating. The tables size for gas burned, so the number is the input rating on the plate. An 80,000 BTU/h input furnace at 96 percent AFUE still burns 80,000 BTU/h of gas.
- Adding a tankless heater to the old water heater line. The old line was sized for the tank. A 199,000 BTU/h tankless burns about 5 times the gas of a 40,000 BTU/h tank, and on a 50 ft run it needs a 1 inch branch where the tank needed 1/2 inch. Rerun the main from the meter with the new total too.
- Reading the propane table in cubic feet. The propane table lists thousands of BTU per hour, not cfh. Look up a 199,000 BTU/h input as 199 in that table. A generator listed in cfh of propane is cfh x 2,500 BTU/h, so Generac's 142 cfh for the 24 kW at full load is 355,000 BTU/h, 355 in that table.
- Using steel capacities for CSST or copper. Nominal sizes do not match inside diameters across materials. Each material has its own table, and CSST goes by the EHD number in the manufacturer's tables.
- Leaving out appliances planned for later. IFGC 401.8 asks for pipe sized to supply the full number of outlets for the intended purpose. If a range or generator is planned, put it in the sum now.
Common questions about gas pipe size
What size gas line do I need for a furnace?
It depends on the furnace input and the longest run in the system. On natural gas at 1,000 BTU per cu ft, an 80,000 BTU/h input furnace is 80 cfh. On the 50 ft row of IFGC Table 402.4(2) a 1/2 inch pipe carries 72 cfh, so the branch is 3/4 inch. At 20 ft, 1/2 inch carries 118 cfh and the same furnace takes 1/2 inch.
What size gas line does a water heater need?
Take the input from the rating plate. A gas storage water heater, as DOE defines it in 10 CFR 430.2, has an input of 75,000 BTU/h or less, and a 40,000 BTU/h tank on a 50 ft run takes 1/2 inch steel. A gas tankless water heater is rated under 200,000 BTU/h by the same rule. At 199,000 BTU/h it takes 1 inch at 50 ft and 1-1/4 inch at 100 ft on natural gas.
Which length do I use for each section?
The length from the meter or regulator to the farthest outlet, for every section. That is the longest length method of IFGC 402.4.1. Each section is then sized for the load it carries on that one row. The form shows the main and each appliance branch. For a section that feeds two or three appliances, enter their total input as one appliance with the same longest run. In that result the main line stands for your section, and the size shown there is the section's size.
How do I convert BTU to cubic feet per hour?
Divide the input in BTU/h by the heating value of the gas in BTU per cubic foot. At 1,000 BTU per cu ft, 245,000 BTU/h is 245 cfh. Your gas supplier publishes the local heating value.
How is propane different?
Propane is sized from IFGC Table 402.4(28), which lists capacity in thousands of BTU per hour for pipe after the second stage regulator at 11.0 in. w.c. Because propane carries more heat per cubic foot, the same input needs less pipe. The 199,000 BTU/h tankless example takes 3/4 inch on propane at 50 ft.
Do fittings change the size?
They can. IFGC Appendix A103.1 calls for an equivalent length allowance from Table A102.2 on segments with four or more fittings. Add it in the fitting field, and the run may move to a longer row.
Can I use this for CSST, copper or a 2 psi system?
No. Those have their own tables, and CSST is sized by the manufacturer's EHD tables. This page sizes Schedule 40 steel at low pressure only.
Does the calculator account for altitude?
No. IFGC 402.2 requires the gas flow to be adjusted for altitude above 2,000 ft, and the result says so on every run. Above that elevation, use the heating value your gas supplier gives for your area, follow the high altitude section of the appliance instructions and ask the supplier or the inspector how they want the adjustment made.
Used on the same job
Get the heating load in chat
The chat does not size gas pipe. It runs the free whole-house Manual J heating and cooling load, so you know how much heat the house needs at its design temperature. The input on the rating plate of the furnace you install is the number that comes back to this page.
Open the chat