# Pipe Thermal Expansion Loop Sizing Calculator

> Calculate the required leg length of a pipe expansion loop to absorb thermal movement, sized from your pipe material's own stiffness and allowable stress.

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

Version 1.1.0, sources checked 2026-09-06, 4 published test vectors.

Required loop leg length: 15.5 ft for Pipe Outside Diameter 4 in and Expected Linear Expansion 2 in, the page's opening figures; on the metric page, 101.6 mm and 50.8 mm give 4.74 m. 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 Material | `pipeMaterial` | Carbon steel (29,000 ksi, 20 ksi allowable) | Carbon steel (29,000 ksi, 20 ksi allowable) | `carbon-steel`, `stainless-steel`, `copper`, `pvc`, `cpvc` |
| Pipe Outside Diameter | `outsideDiameter` | 101.6 mm | 4 in | mm, cm, m, in, ft, yd; range 0.01–0.3048 m |
| Expected Linear Expansion | `expectedExpansion` | 50.8 mm | 2 in | mm, cm, m, in, ft, yd; range 0.00635–0.2032 m |

- **Pipe Material**: The pipe material, which sets both the stiffness and the allowable bending stress.
- **Pipe Outside Diameter**: The pipe's outside diameter.
- **Expected Linear Expansion**: The total linear thermal expansion the pipe run is expected to undergo.

## The answer on the opening values

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

### Metric

| Result | Value |
|---|---|
| **Required loop leg length** | 4.74 m |
| Modulus of elasticity used (MPa) | 199,947.96 MPa |
| Allowable bending stress used (MPa) | 137.9 MPa |

### US customary

| Result | Value |
|---|---|
| **Required loop leg length** | 15.5 ft |
| Modulus of elasticity used (psi) | 29,000,000 psi |
| Allowable bending stress used (psi) | 20,000 psi |

- Confidence: medium.

## How it is worked out

This simplified formula is a commonly-used approximation for preliminary sizing — final expansion loop design should be verified against the pipe manufacturer's or ASME B31 piping code stress analysis for critical or high-temperature systems.

The working the page shows, in order: Modulus of elasticity used (MPa); Allowable bending stress used (MPa); then required loop leg length.

The method, derived in full:

- [Developed Length: the Run That Is Longer Than the Distance](https://craftquantities.com/methodology/developed-length/): Why a sloping run exceeds its plan projection, why a bend is SHORTER than the square corner it replaces, and why an equivalent length is not a length you can order.

What this calculation does not cover:

- Sizes the loop and not the anchors that make it work. A loop only absorbs movement if the run is anchored at both ends and guided on the approach, and that anchor then has to hold what the loop pushes back with - the spring force of the legs, the friction of every guide, and pressure thrust wherever the line is not axially restrained. On a hot steel main that reaction can run to thousands of pounds, a tonne or more, so a strut frame or stanchion sized by eye is the part that lets go first, with the loop still looking perfectly correct.
- The answer is ONE LEG. A square loop is two legs plus the width between them, commonly taken as about half the leg, so the pipe, the insulation, the fluid and the space needed in a ceiling void or a trench are all larger than this dimension suggests. The developed pipe added to the run - roughly two legs plus that width - also adds pressure drop, extra fluid volume and, on a steam line, another low point that has to be drained.
- Supports on and around the loop must let it move. A rigid hanger, a hard clamp or a bearing point on a loop leg installs a restraint exactly where the pipe is meant to flex, and the movement that stops going into the loop goes into branch connections, equipment nozzles and anchors instead. Loop legs are carried on slides, rollers or hangers with enough swing, and the guides on the straight runs are there to stop the pipe buckling sideways, not to hold it still.

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

- Simplified expansion loop sizing: L(in) = √(3 · E · Do(in) · ΔL(in) / σ), the guided-cantilever relation for sizing a square/U-shaped expansion loop's leg length from the pipe's outside diameter and expected linear expansion, keeping bending stress within allowable limits

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

**What does this loop leg length formula estimate?**

The leg length a square or U-shaped pipe expansion loop needs so that bending stress from the absorbed thermal movement stays within allowable limits. It's a commonly-cited approximation, L(in) = √(3 · E · outside diameter in · expected linear expansion in / σ), solved with the selected material's modulus E and allowable bending stress σ.

**Is this formula sufficient for final expansion loop design?**

No — treat it as a preliminary sizing approximation only. Final expansion loop design should be verified against the pipe manufacturer's data or an ASME B31 piping code stress analysis, especially for critical or high-temperature systems.

**What inputs does the formula need?**

The pipe material, its outside diameter, and the expected total linear expansion of the anchored run. Material is not optional here: it supplies the modulus and the allowable stress, and swapping steel for copper moves the answer by 40%. The expected expansion itself should come from the pipe material's coefficient of thermal expansion, the run length, and the expected temperature swing.

## Related calculators

- [Standing Seam Roof Thermal Movement Calculator](https://craftquantities.com/calculators/materials-quantities/standing-seam-thermal-movement-calculator/)
- [Pipe Hanger Spacing Calculator](https://craftquantities.com/calculators/materials-quantities/pipe-hanger-spacing-calculator/)

## Run it from a program

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

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