Profession Calculators
Plumbing & HVAC TradesPopular

Gas Pipe Sizing Calculator

Size natural gas pipe using the IFGC longest-length method. Enter appliance BTU loads and run length to get the minimum Schedule 40 steel pipe size per Table 402.4(2).

Share:

Rates reviewed November 25, 2026. Data period: IFGC Table 402.4(2). Source: International Fuel Gas Code pipe sizing tables.

Furnace (typical residential)

100k BTU/hr each

Water heater - tank

40k BTU/hr each

Water heater - tankless

180k BTU/hr each

Range / cooktop

65k BTU/hr each

Clothes dryer

35k BTU/hr each

Gas fireplace / insert

30k BTU/hr each

Standby generator

250k BTU/hr each

Pool heater

400k BTU/hr each

Outdoor grill / BBQ

40k BTU/hr each

Unit heater (garage)

75k BTU/hr each

Minimum Schedule 40 pipe size

Enter appliances or CFH demand and the longest run length, then calculate.

Embed This Calculator on Your Website

Add this free calculator to your blog, website, or CMS with a simple copy-paste embed code.

Introduction

Gas pipe sizing is one of the most-failed inspection items in residential mechanical work, and the math is straightforward once you know the method. The International Fuel Gas Code (IFGC) requires you to total the BTU demand of every connected appliance, measure the longest run from meter to farthest appliance, and pick the pipe size whose capacity in the sizing table covers that demand at that length. Skip a step and you end up with a water heater that starves when the furnace kicks on. This calculator applies the IFGC Schedule 40 steel capacity table directly so you can size a system in under a minute.

What This Calculator Does

This gas pipe sizing calculator converts your connected appliance load into cubic feet per hour and selects the minimum Schedule 40 steel pipe size using IFGC Table 402.4(2), the longest-length method for natural gas systems under 2 psi. Count appliances from a preset list with typical residential BTU inputs, add custom BTU loads, or enter a total CFH demand directly. Enter the longest measured run from the meter to the farthest appliance plus a fitting allowance percentage, and the tool returns the minimum nominal pipe size with its table capacity. For the water supply side of the same job, use the Hunter's Curve Calculator and the DFU Drain Pipe Sizing Calculator for the drainage side.

The Formula

Demand (CFH) = Sum of Appliance BTU/hr / 1,000 BTU per cubic foot | Required Pipe Size = smallest pipe with Table 402.4(2) capacity >= demand at the next equivalent length

The IFGC longest-length method converts total connected load to CFH using the heating value of natural gas (about 1,000 BTU per cubic foot). You then find the table row for the next length at or above your longest measured equivalent run, and read across until a pipe size's capacity meets the demand. Table 402.4(2) assumes Schedule 40 steel, gas specific gravity 0.60, inlet pressure under 2 psi, and a 0.5 inch water column pressure drop. A 10 percent fitting allowance is a common field practice to cover elbows and tees; exact equivalent lengths per fitting appear in IFGC Table 402.4 when precision matters.

Step-by-Step Example

1

Total the connected load

Count each gas appliance at its nameplate input rating. A furnace at 100k BTU, 40-gallon water heater at 40k, range at 65k, and dryer at 35k totals 240,000 BTU/hr, or 240 CFH of natural gas.

2

Measure the longest run

Measure from the meter or supply point to the farthest appliance along the actual pipe route, not straight-line distance. Add a fitting allowance (10 percent is typical) to get equivalent length. A 38 ft measured run with 10 percent becomes about 42 ft.

3

Read the table at the next length up

The code uses the table length equal or next greater than your run. A 42 ft equivalent length uses the 50 ft row. At 240 CFH on the 50 ft row, a 1 inch pipe (284 CFH capacity) is the minimum; 3/4 inch at 151 CFH fails.

Real-World Use Cases

Adding a tankless water heater

Tankless units draw 150k to 200k BTU, often more than every other appliance combined. Check whether the existing 3/4 inch service line still covers the new total demand at the longest run before committing to the upgrade.

Sizing a standby generator feed

A 22 kW natural gas generator needs roughly 250,000 BTU/hr at full load. On a 60 ft run, that demand alone pushes the branch to 1-1/4 inch steel.

Permit and inspection documentation

Many jurisdictions require a load calculation and sizing worksheet with a mechanical permit application. Run the numbers here, note the table row used, and attach the result to your permit packet.

Diagnosing appliance starve-out

When a furnace and water heater fire together and one flames out, undersized shared piping is a prime suspect. Compare the combined CFH to the existing pipe size's capacity at its actual length.

Common Mistakes to Avoid

Frequently Asked Questions

How do I convert BTU to CFH for gas pipe sizing?

Divide the appliance's input BTU rating by the heating value of natural gas, about 1,000 BTU per cubic foot. A 150,000 BTU tankless water heater draws about 150 CFH. For propane, divide by roughly 2,516 BTU per cubic foot instead.

What is the longest length method for gas pipe sizing?

The IFGC longest-length method sizes the entire system using the distance from the meter to the farthest appliance. Every section of the main is sized for the full connected demand at that distance, which is conservative but simple. An alternative branch-length method sizes each segment by its own length and downstream load.

Can I use this calculator for propane?

The capacity numbers in this tool come from the natural gas Schedule 40 table. Propane systems use IFGC tables for 1.52 specific gravity gas and different pressure drops, so the outputs here will not be correct. Convert BTU to propane CFH for the demand figure, but size the pipe from a propane-specific table.

Why does the table use the next length up instead of my exact run?

The code instructs you to use the table row equal or next greater than the measured length because the published values assume the full drop budget at that distance. Interpolating between rows would claim capacity the table does not guarantee.

What pressure drop does IFGC Table 402.4(2) assume?

It assumes 0.5 inch water column drop for systems with inlet pressure under 2 psi and 0.60 specific gravity natural gas. Systems designed for 1 psi or 2 psi drop, or elevated delivery pressure, use different capacity tables in the same code section.

Accuracy and Disclaimer

This calculator applies IFGC Table 402.4(2) for Schedule 40 metallic pipe carrying natural gas under 2 psi at 0.5 inch water column pressure drop. Appliance BTU presets are typical values; always use the nameplate input rating. Gas pipe sizing must be verified against the fuel gas code edition adopted in your jurisdiction, utility delivery pressure, and manufacturer requirements, and performed or approved by a licensed professional. CSST, copper, polyethylene, corrugated, and propane systems require their own tables. This tool does not replace a licensed plumber, mechanical contractor, or engineer.

Conclusion

The longest-length method is conservative by design: it assumes every section of pipe sees the pressure drop budget of the farthest run. On larger houses or systems with widely separated load zones, the branch-length method in IFGC Section 402.4.3 can justify smaller branch pipes. Verify your sizing against the table edition adopted locally, confirm the utility's delivery pressure, and have the work inspected before concealing pipe.

Related Plumbing & HVAC Trades Calculators

Plumbing & HVAC Trades

Plumbing Job Pricing Calculator

Calculate customer-facing prices for plumbing jobs including labor, materials, service call fees, travel, permits, and profit margins. Includes 2026 pricing benchmarks for common residential and commercial plumbing work.

Use Calculator
Plumbing & HVAC Trades

Hunter's Curve Calculator

Convert Water Supply Fixture Units (WSFU) to peak demand GPM using Hunter's Curve for flush tank or flush valve systems, with IPC and UPC fixture unit values and a suggested pipe size.

Use Calculator
Plumbing & HVAC Trades

DFU Drain Pipe Sizing Calculator

Convert drainage fixture units (DFU) to minimum horizontal branch, stack, and building drain sizes using IPC Tables 709.1 and 710.1 with slope options for the building drain.

Use Calculator
Plumbing & HVAC Trades

Plumbing Vent Sizing Calculator

Estimate minimum plumbing vent diameter from drain size, DFU served, and developed length using the IPC half-diameter rule and vent capacity guidance.

Use Calculator
Plumbing & HVAC Trades

Water Heater Sizing Calculator

Size a water heater from peak-hour demand: first-hour rating for storage tanks from usage counts, or required GPM for tankless units from simultaneous fixtures and temperature rise.

Use Calculator
Plumbing & HVAC Trades

Pipe Size & Flow Rate Calculator

Determine recommended pipe diameter using the Hazen-Williams equation based on flow rate, pipe length, and C-factor. Calculate head loss, pressure drop, and flow velocity with alternative pipe size comparisons.

Use Calculator