Pipe Expansion Calculator

Pipe expansion and contraction equation
°F

Enter ΔT in °F; default α = 6.5e−6 /°F assumes Fahrenheit.

Solution

Share:

Unrestrained Length Change

When a pipe is free to move, it lengthens or shortens proportional to its original length, thermal expansion coefficient, and temperature change.

ΔL = L × α × ΔT

Restrained Pipe Stress

When a pipe is anchored and cannot move, the thermal expansion creates internal compressive stress proportional to the modulus of elasticity.

S = E × α × ΔT

How It Works

Pipes lengthen and shorten with temperature changes. If unrestrained, the change in length is ΔL = L × α × ΔT. If the pipe is anchored and cannot move, the thermal expansion creates internal stress: S = E × α × ΔT. Expansion joints or loops accommodate the movement in long runs.

Example Problem

A 100-ft (1,200 in) steel pipe (α = 6.5×10⁻⁶) sees a 100°F temperature rise.

  1. Identify the knowns. Pipe length L = 1,200 in, thermal expansion coefficient α = 6.5×10⁻⁶ in/in/°F, and temperature change ΔT = 100°F.
  2. Identify what we are solving for. We want the unrestrained length change ΔL of the steel pipe run as it heats up.
  3. Write the unrestrained expansion formula: ΔL = L × α × ΔT.
  4. Substitute the known values: ΔL = 1,200 × 6.5×10⁻⁶ × 100.
  5. Simplify the arithmetic: 1,200 × 6.5×10⁻⁶ = 7.8×10⁻³, then multiply by 100 to get 7.8×10⁻¹.
  6. **Length change ΔL = 0.78 in** — size the expansion joint or loop for at least this much movement.

If restrained (E = 29×10⁶ psi): S = 29e6 × 6.5e−6 × 100 = 18,850 psi.

When to Use Each Variable

  • Solve for Length Change (ΔL)when you know pipe length, expansion coefficient, and temperature change, e.g., sizing an expansion joint for an above-ground pipeline.
  • Solve for Pipe Length (L)when you know the allowable expansion and temperature range, e.g., determining the maximum unrestrained run between anchors.
  • Solve for Stress (S)when the pipe is restrained and you need to verify thermal stress stays below the allowable limit for the material.
  • Solve for Modulus of Elasticity (E)when back-calculating material stiffness from observed stress and temperature data.

Key Concepts

Thermal expansion is proportional to length, temperature change, and the material's expansion coefficient (α). Unrestrained pipes grow freely and need expansion joints or loops. Restrained pipes develop internal compressive stress that can buckle the pipe or damage fittings if it exceeds the yield strength.

Applications

  • Pipeline engineering: sizing expansion joints and loops for long above-ground runs
  • Building mechanical systems: accommodating hot-water and steam pipe movement through wall penetrations
  • Bridge construction: designing expansion bearings for steel girders exposed to seasonal temperature swings
  • Industrial plants: preventing thermal stress failures in process piping carrying hot fluids

Common Mistakes

  • Using the wrong expansion coefficient — HDPE expands ~18× more than steel; always use the correct α for the pipe material
  • Forgetting to account for the full temperature range — design for the difference between the coldest installation temperature and the hottest operating temperature, not just the operating rise
  • Ignoring anchor forces on restrained pipes — thermal stress acts as a compressive load on anchors and supports; undersized anchors can fail

Frequently Asked Questions

Which pipe materials expand the most?

HDPE expands about 18 times more than steel per degree. PVC expands about 5 times more. Metallic pipes (steel, ductile iron) expand the least. Always use the correct α for the pipe material.

How are expansion joints sized?

Calculate ΔL for the expected temperature range and pipe length. The expansion joint must accommodate at least that movement plus a safety margin, typically 10–25% extra.

What happens if thermal stress exceeds the yield strength?

The pipe may buckle, crack at welds, or push fittings apart. For restrained pipes, the thermal stress must stay below the allowable stress for the material and design code in use.

Why does the stress equation S = E × α × ΔT have no length term?

Thermal stress in a fully restrained pipe is purely a function of material properties and temperature change — it does not depend on length. A 10-foot restrained pipe and a 1,000-foot restrained pipe build up the same stress for the same ΔT, because the strain α × ΔT is the same at every cross-section.

When is a pipe considered fully restrained vs partially restrained?

A pipe is fully restrained when both ends are anchored and zero axial movement is possible — buried mains beyond the soil friction length, welded steel risers between two rigid anchors. Partial restraint reduces both ΔL and stress in proportion to the restrained fraction; engineering judgment usually splits between the two cases.

How do expansion loops compare with bellows expansion joints?

Loops use the inherent flexibility of the pipe (a U-bend) to absorb movement — no moving parts, decades of maintenance-free service, but they require space. Bellows joints are compact but introduce a wear point and may need periodic replacement. Use loops when space allows; use bellows for tight retrofits.

What units does the alpha coefficient use in this calculator?

α is treated as a dimensionless pair with ΔT — both must be in the same temperature system. Common conventions are in/in/°F with ΔT in °F (typical for US pipe engineering) or m/m/K with ΔT in K. The default α = 6.5×10⁻⁶ ships in /°F to match the most common North American workflow.

Reference:

National Resources Conservation Service. National Engineering Handbook. 1995. USDA.

Worked Examples

District Heating

How much does a carbon-steel steam main expand in a utility tunnel?

A 50-ft (600-inch) Schedule 40 carbon-steel steam main runs through an underground utility tunnel. Cold installation is at 50 °F, and steady-state operating temperature is 200 °F, so ΔT = 150 °F. Carbon steel's thermal expansion coefficient is α = 6.5 × 10⁻⁶ in/in/°F.

  • Knowns: L₀ = 600 in, α = 6.5 × 10⁻⁶ in/in/°F, ΔT = 150 °F
  • ΔL = L₀ × α × ΔT
  • ΔL = 600 × 6.5 × 10⁻⁶ × 150
  • ΔL = 0.0039 × 150

ΔL ≈ 0.585 in

Allow at least 0.6 inch of axial movement at the expansion joint or U-loop — the actual installed allowance is typically twice the computed ΔL to account for installation tolerance and overshoot during startup.

Rooftop Process Water

How much does a rooftop HDPE process-water line expand on a hot day?

A 20-ft (240-inch) HDPE process-water line sits exposed on a chemical plant rooftop. Overnight surface temperature is 60 °F; midday sun pushes the pipe surface to 140 °F, so ΔT = 80 °F. HDPE has a relatively large thermal expansion coefficient α ≈ 90 × 10⁻⁶ in/in/°F (about 14× steel).

  • Knowns: L₀ = 240 in, α = 90 × 10⁻⁶ in/in/°F, ΔT = 80 °F
  • ΔL = L₀ × α × ΔT
  • ΔL = 240 × 90 × 10⁻⁶ × 80
  • ΔL = 0.0216 × 80

ΔL ≈ 1.73 in

Plastic pipes expand far more than steel — never anchor an HDPE run rigidly at both ends. Use a U-loop, an expansion fitting, or guided pipe supports that allow free axial movement.

HVAC Chilled-Water Riser

What temperature swing fully consumes a chilled-water riser's expansion gap?

A 30-ft (360-inch) stainless-steel chilled-water riser was installed with a 0.5-inch axial expansion gap at the top. Stainless 304 has α = 9.6 × 10⁻⁶ in/in/°F. The mechanical engineer wants to know: what is the maximum ΔT before the gap closes and the pipe loads its support?

  • Knowns: ΔL = 0.5 in, L₀ = 360 in, α = 9.6 × 10⁻⁶ in/in/°F
  • ΔT = ΔL / (L₀ × α)
  • ΔT = 0.5 / (360 × 9.6 × 10⁻⁶)
  • ΔT = 0.5 / 0.003456

ΔT ≈ 144.7 °F

If routine commissioning warms the line from 45 °F chilled-water temperature to a 100 °F ambient stagnant condition (ΔT = 55 °F), the gap is fine; a heated test-purge or fire event could exceed 145 °F and bind the support.

Pipe Thermal Expansion Formulas

Pipe thermal expansion has two distinct cases. An unrestrained pipe changes length proportional to temperature change. A fully restrained pipe cannot move, so the same strain instead becomes internal compressive stress.

ΔL = L × α × ΔTUnrestrained length change
S = E × α × ΔTRestrained pipe stress

Where:

  • ΔL — change in pipe length (positive on heating, negative on cooling)
  • L — original pipe length between anchor points
  • α — material's linear thermal expansion coefficient (carbon steel ≈ 6.5×10⁻⁶ /°F; HDPE ≈ 90×10⁻⁶ /°F)
  • ΔT — temperature change (Toperating − Tinstalled)
  • S — induced axial stress in a fully restrained pipe (compressive on heating)
  • E — modulus of elasticity of the pipe material (steel ≈ 29×10⁶ psi)

Use the unrestrained equation to size expansion loops, U-bends, and bellows expansion joints. Use the restrained equation when the pipe cannot move — buried mains beyond the soil-friction length, or risers welded between two rigid anchors — to verify the thermal stress stays below the material's allowable stress per ASME B31.1, B31.3, or AWWA design codes.

Related Calculators

Related Sites