# Pipe Hanger Spacing Calculator

> Calculate the number of hangers needed to support a pipe run at code-required spacing.

Page: https://craftquantities.com/calculators/materials-quantities/pipe-hanger-spacing-calculator/ (calculator). This is the page's Markdown copy; the HTML page is the canonical version.

Version 1.0.1, sources checked 2026-09-05, 2 published test vectors.

Pipe hangers needed: 10 hangers for Pipe Run Length 66 ft and Maximum Hanger Spacing 8 ft, the page's opening figures; on the metric page, 20 m and 2.4 m give 10 hangers. 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 |
|---|---|---|---|---|
| Pipe Run Length | `runLength` | 20 m | 66 ft | mm, cm, m, in, ft, yd; range 0.01–200 m |
| Maximum Hanger Spacing (Per Code, by Pipe Size/Material) | `maxSpacing` | 2.4 m | 8 ft | mm, cm, m, in, ft, yd; range 0.01–4 m |

- **Pipe Run Length**: The total length of the pipe run needing support.
- **Maximum Hanger Spacing (Per Code, by Pipe Size/Material)**: The maximum spacing between hangers allowed by code for this pipe's material and size.

## The answer on the opening values

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

### Metric

| Result | Value |
|---|---|
| **Pipe hangers needed** | 10 hangers |
| Bays along the pipe run | 9 |
| Hanger centres along the pipe | 2.22 m |

### US customary

| Result | Value |
|---|---|
| **Pipe hangers needed** | 10 hangers |
| Bays along the pipe run | 9 |
| Hanger centres along the pipe | 7.33 ft |

- Confidence: medium.

## How it is worked out

Maximum hanger spacing depends on your pipe's material and size per the applicable plumbing/mechanical code table (e.g. IPC Table 308.5) — confirm the correct maximum spacing for your specific pipe before finalizing hanger count.

The working the page shows, in order: Bays along the pipe run; Hanger centres along the pipe; then pipe hangers needed.

The method, derived in full:

- [Spacing, Pitch and the Count That Follows](https://craftquantities.com/methodology/spacing-pitch-and-count/): Why a run divided by a spacing gives the number of gaps and not the number of things, why the division rounds up rather than to nearest, and what the leftover bay at the end does to both.

What this calculation does not cover:

- The +1 in the count assumes a hanger sits at each end of the length you typed, so a line measured and entered in sections will be over-counted by one hanger at every join where two sections meet and share a single support.
- One spacing figure is divided into the whole run, which means a line that steps down in bore partway, changes material at a transition, or turns from a horizontal leg into a riser has to be entered as separate runs and the counts added — the arithmetic cannot hold two permitted spacings at once.
- Weight never enters the calculation: no bore, wall thickness, contained water or insulation is asked for, so the answer gives the number of support points and says nothing about rod diameter, hanger type, or whether the structure overhead can carry a filled line.
- The centres reported are an even division, which is why they come out under the maximum rather than on it: a 20 m run at a 2.4 m maximum is nine bays at roughly 2.22 m. Marking from one end at the full maximum instead is the other way to do it, and it leaves a short final bay to absorb — the page does not price that choice, and on a line with a fixed anchor at one end it may not be yours to make.
- The spacing box refuses anything above 4 m (about 13 ft) and the run length stops at 200 m (about 656 ft), so a longer continuous line, or a support interval wider than that ceiling, has to be broken into pieces and counted piece by piece.

A professional must decide:

- 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-05):

- Hanger count = ceil(pipe run length ÷ maximum hanger spacing) + 1, the standard layout method for spacing pipe supports at or within the maximum spacing permitted by plumbing/mechanical code for the pipe's material and size

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 add 1 to the number of spacing intervals?**

A pipe run with N spacing intervals needs N+1 support points — one hanger at each end of the run plus one at each intermediate spacing point — so the hanger count is the number of spacing intervals (rounded up) plus one.

**Where do I find the correct maximum spacing for my pipe?**

Maximum hanger spacing depends on the pipe's material and size and is set by the applicable plumbing or mechanical code's hanger spacing table (e.g. IPC Table 308.5) — always confirm the correct value for your specific pipe before finalizing a hanger count.

**Does this account for hangers needed at fittings or changes in direction?**

No — this calculates the base hanger count for a straight run based on maximum allowable spacing only. Additional hangers or supports at valves, fittings, changes in direction, or concentrated loads should be added separately per code and the pipe manufacturer's requirements.

## Related calculators

- [Pipe Thermal Expansion Loop Sizing Calculator](https://craftquantities.com/calculators/materials-quantities/pipe-expansion-loop-calculator/)
- [Pipe Insulation Calculator](https://craftquantities.com/calculators/insulation-efficiency/pipe-insulation-calculator/)
- [Pipe, Conduit and Cable Run Calculator (Length, Fittings and Supports from a Measured Route)](https://craftquantities.com/calculators/materials-quantities/service-run-calculator/)

## Run it from a program

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

---
Source: https://craftquantities.com/calculators/materials-quantities/pipe-hanger-spacing-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.
