# Gas Pipe Sizing Calculator (Longest-Length Method)

> Turn a connected appliance load into the gas flow and the table row the NFPA 54 longest-length method needs, for natural gas or propane.

Page: https://craftquantities.com/calculators/plumbing-hvac/gas-pipe-sizing-calculator/ (calculator). This is the page's Markdown copy; the HTML page is the canonical version.

Version 1.0.0, sources checked 2026-09-11, 4 published test vectors.

Required capacity (CFH): 243 CFH for Total connected load 250000, the page's opening figures. Sources are cited below.

## Inputs

A length, area or volume is entered with its unit. The page opens on the values below: a metric reader sees the metric column, a US customary reader the other.

| Input | id | Opens at (metric) | Opens at (US customary) | Accepts |
|---|---|---|---|---|
| Fuel | `fuelType` | Natural gas (0.60 specific gravity) | Natural gas (0.60 specific gravity) | `natural`, `propane` |
| Total connected load (BTU/h) | `connectedLoadBtu` | 250000 | 250000 | range 1000–5000000 |
| Developed length to the most remote outlet | `developedLength` | 18.288 m | 60 ft | mm, cm, m, in, ft, yd; range 1–200 m |
| Pipe material | `pipeMaterial` | Black iron, schedule 40 | Black iron, schedule 40 | `schedule-40`, `copper`, `csst`, `pe` |
| Supply pressure at the meter or regulator | `inletPressure` | Low pressure — about 7 in w.c. (standard residential) | Low pressure — about 7 in w.c. (standard residential) | `low`, `two-psi`, `five-psi` |
| Allowable pressure drop | `allowableDrop` | 0.3 in w.c. (the usual residential basis) | 0.3 in w.c. (the usual residential basis) | `0.3`, `0.5`, `1.0` |

- **Fuel**: Which fuel the system carries — it changes the required flow by a factor of nearly two and a half.
- **Total connected load (BTU/h)**: Add the input rating of every gas appliance the section of pipe serves.
- **Developed length to the most remote outlet**: The measured run of pipe from the point of delivery to the furthest appliance.
- **Pipe material**: Which capacity table the flow figure has to be read against.
- **Supply pressure at the meter or regulator**: The pressure the system runs at — it selects an entirely different capacity table.
- **Allowable pressure drop**: How much pressure the design allows the pipe to lose between the meter and the furthest appliance.

## The answer on the opening values

Worked exactly as the page works it, on the values each system opens on.

### Metric

| Result | Value |
|---|---|
| **Required capacity (CFH)** | 243 CFH |
| Table row to read — next tabulated length at or above the measured run | 18.29 m |
| Measured developed length | 18.29 m |
| Heating value used (BTU per ft³) | 1,030 BTU per ft³ |
| Gas specific gravity the table must be computed at | 0.6 |
| Same flow in cubic metres an hour | 6.87 m³/h |

### US customary

| Result | Value |
|---|---|
| **Required capacity (CFH)** | 243 CFH |
| Table row to read — next tabulated length at or above the measured run | 60 ft |
| Measured developed length | 60 ft |
| Heating value used (BTU per ft³) | 1,030 BTU per ft³ |
| Gas specific gravity the table must be computed at | 0.6 |
| Same flow in cubic metres an hour | 6.87 m³/h |

- Confidence: medium.

## How it is worked out

Read 243 CFH against the 60 ft row of the schedule 40 metallic pipe table for your inlet pressure and allowable drop, and take the first diameter whose capacity equals or exceeds it. The flow and the row are exact; the diameter is the table's to give.

The working the page shows, in order: Table row to read — next tabulated length at or above the measured run; Measured developed length; Heating value used (BTU per ft³); Gas specific gravity the table must be computed at; Same flow in cubic metres an hour; then required capacity (CFH).

The method, derived in full:

- [Head Loss, Falls and Surge: Resistance in Pipes, Ducts and Drains](https://craftquantities.com/methodology/head-loss-falls-and-surge/): Why one pipe size up cuts the friction to a third, why a compressed flex duct can cost four times its rated loss, why a drain can be too steep, and why a fast-closing valve produces a pressure the pump never could.

What this calculation does not cover:

- The diameter is not computed here, deliberately. It comes from NFPA 54 Table 6.2 or IFGC Table 402.4 — a different table for each combination of material, supply pressure, allowable drop and gas — and those tables are not reproduced on this page. An approximation of a fuel gas capacity table is a number that can be wrong in the direction that starves a burner, and no formula offered here would be the one your inspector checks against.
- The longest-length method sizes every section from the same length. A short branch that serves a dryer is still sized on the run to the most remote outlet, not on its own length, because the method's whole basis is that the pressure drop budget is spent along the longest path. Sizing branches on their own lengths is the commonest way a system passes on paper and starves an appliance in practice.
- CSST is manufacturer-specific and the code's generic table does not govern it. Each manufacturer's listing carries its own capacity table, its own sizing designation (which is not nominal iron pipe size), and its own bonding requirements. Reading a CSST run off the black iron table will oversize or undersize it depending on the product, and the bonding is a separate and non-optional matter.
- Fitting losses are not added here. The code's tables carry an allowance for a normal number of fittings in a run of the tabulated length; a run with an unusual number of elbows, a long drop, or several tees close together can exceed that allowance, and the branch-length method or a full pressure-drop calculation is the answer where it matters.
- The heating values are planning figures, not measurements. Pipeline natural gas varies with composition and is commonly between 1,000 and 1,050 BTU per cubic foot; the value used here is 1,030. Where the utility publishes its delivered heating value, use that instead — a five percent difference in heating value is a five percent difference in required flow and can move a marginal run onto the next pipe size.
- Sizing is one requirement among several, and the others are not arithmetic. Materials permitted for the location, sediment traps, shutoff valve placement, appliance connectors, bonding, testing and purging are all governed by the code and by the authority having jurisdiction, and none of them follows from the number on this page. Fuel gas piping is work for a licensed installer.

A professional must decide:

- The diameter is not computed here, deliberately. It comes from NFPA 54 Table 6.2 or IFGC Table 402.4 — a different table for each combination of material, supply pressure, allowable drop and gas — and those tables are not reproduced on this page.
- Sizing is one requirement among several, and the others are not arithmetic. Materials permitted for the location, sediment traps, shutoff valve placement, appliance connectors, bonding, testing and purging are all governed by the code and by the authority having jurisdiction, and none of them follows from the number on this page.
- Gas: pipe sizing, appliance connection and testing are for a registered or licensed gas fitter.
- Water: supply and drainage design, and work on them, are for a licensed plumber under the local plumbing rules.

## Sources

As the calculator cites them (sources checked 2026-09-11):

- NFPA 54 / IFGC longest-length method: every section of the piping system is sized from the total developed length of the run to the most remote outlet, using the total connected load carried by that section
- NFPA 54 6.2: where the measured length falls between two tabulated lengths, the next longer length is used
- Capacity in cubic feet per hour = connected load in BTU/h ÷ the gas heating value per cubic foot. Planning values: natural gas commonly 1,000–1,050 BTU/ft³, commercial propane about 2,500 BTU/ft³ — the supplier's published figure governs
- Standard table bases: natural gas at 0.60 specific gravity, propane at 1.50. A table computed for one gas does not apply to the other

The site's pages for the documents these name:

- [International Fuel Gas Code](https://craftquantities.com/standards/icc/ifgc/)
- [National Fuel Gas Code (NFPA 54)](https://craftquantities.com/standards/nfpa/nfpa-54/)

A code or standard has force only where a jurisdiction has adopted it, usually with local amendments; check what is in force with the authority where you build.

## Questions answered on the page

**Why does this not just give me the pipe size?**

Because the pipe size comes from the code's capacity tables, and those tables are not reproduced here. There is a separate table for schedule 40 iron, copper, CSST and polyethylene, for each supply pressure, for each allowable drop, and for each gas — and a capacity figure recalled wrongly is a starved burner or an unsafe installation. This page gives you the two numbers you need to read the right row of the right table: the flow in cubic feet per hour, and the length to look it up at.

**What is the longest-length method, exactly?**

You measure the developed length of the run from the meter to the most remote outlet, and then size EVERY section of the system at that one length, using the total connected load each section carries. A tee two feet from the meter that feeds a dryer is sized at the full length, not at two feet. The reason is that the allowable pressure drop is a budget spent along the longest path, and every section shares it.

**Why is the propane figure so much lower?**

Because propane carries about two and a half times the energy in each cubic foot — roughly 2,500 BTU against natural gas's 1,030. The pipe does not care about energy, it carries volume, so the same appliances on propane need less than half the flow and often a size smaller pipe. It is also why a system converted from one fuel to the other must be re-sized rather than assumed adequate.

**My run is 63 feet. Which row do I use?**

Seventy. NFPA 54 is explicit that where the measured length falls between two tabulated lengths you take the next longer one, and you do not interpolate. Reading the 60 ft row because it is closer gives a capacity the pipe cannot actually deliver over 63 ft, and the error shows up as a burner that will not hold its rate when everything else is running.

**Do I add fitting allowances to the length?**

Not for the standard tables — they already carry an allowance for the fittings a normal run of that length would have. That allowance is generous for a straight run and can be tight on a run with an unusual number of elbows, a long vertical drop or several tees bunched together. Where a run is clearly not typical, the branch-length method or a full pressure-drop calculation is the right tool.

**Why would I use a two-pound system?**

Because pressure buys capacity far more cheaply than diameter does. At about 7 inches of water column a long run to a large house can need very substantial pipe; raising the line to two pounds and fitting a regulator at each appliance lets the same load travel through much smaller pipe. It brings its own requirements — regulators, venting where required, labelling, and a different test regime — and it is a designer's decision, not a substitution.

**Is diversity allowed, as it is on water?**

No. Water supply sizing leans on the statistical unlikelihood of every fixture running at once, and gas sizing does not: the connected load is summed at full input rating with no reduction. A furnace, a water heater, a range and a dryer can all genuinely fire together on a cold morning, and the method assumes they will.

## Related calculators

- [Fuel Gas Pipe Capacity Calculator](https://craftquantities.com/calculators/materials-quantities/gas-pipe-capacity-calculator/)
- [Propane Tank Sizing Calculator](https://craftquantities.com/calculators/plumbing-hvac/propane-tank-sizing-calculator/)
- [Furnace Sizing Calculator](https://craftquantities.com/calculators/plumbing-hvac/furnace-sizing-calculator/)

## Run it from a program

- REST: `GET https://api.craftquantities.com/v1/calculate/gas-pipe-sizing-calculator` with each input as a query parameter, a length, area or volume with its unit; `https://api.craftquantities.com/v1/describe/gas-pipe-sizing-calculator` lists the inputs.
- MCP: the `calculate` tool at https://api.craftquantities.com/mcp with `slug` `gas-pipe-sizing-calculator`.
- Definition and test vectors: https://craftquantities.com/api/v1/calculators/gas-pipe-sizing-calculator.json

---
Source: https://craftquantities.com/calculators/plumbing-hvac/gas-pipe-sizing-calculator/
Craft Quantities: free to read, cite and link to; the pages are not licensed for republication. Quantities only: no prices, no design and no certification.
