{
  "version": "v1",
  "source": "https://craftquantities.com",
  "licence": "CC BY 4.0",
  "licenceUrl": "https://creativecommons.org/licenses/by/4.0/",
  "attribution": "Craft Quantities — craftquantities.com",
  "documentation": "https://craftquantities.com/api/",
  "versioning": "Fields are added, never removed or repurposed, within a version. A breaking change becomes /api/v2/ and v1 keeps being built.",
  "slug": "pipe-expansion-loop-calculator",
  "category": "materials-quantities",
  "title": "Pipe Thermal Expansion Loop Sizing Calculator",
  "description": "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.",
  "url": "https://craftquantities.com/calculators/materials-quantities/pipe-expansion-loop-calculator/",
  "json": "https://craftquantities.com/api/v1/calculators/pipe-expansion-loop-calculator.json",
  "inputCount": 3,
  "testCaseCount": 4,
  "sourceCount": 1,
  "lastVerified": "2026-09-06",
  "citation": {
    "author": "Craft Quantities",
    "title": "Pipe Thermal Expansion Loop Sizing Calculator",
    "version": "1.1.0",
    "sourcesChecked": "2026-09-06",
    "url": "https://craftquantities.com/calculators/materials-quantities/pipe-expansion-loop-calculator/",
    "accessDate": null,
    "accessDateNote": "Add the date you retrieved this. It is deliberately absent: a static file cannot know when you read it, and the build date would be wrong.",
    "permanentVersionedUrl": null,
    "permanentVersionedUrlNote": "Not offered. This site keeps no archive of previous builds, so any such URL would resolve to the current page or to nothing. The version and sourcesChecked fields identify the calculation instead.",
    "formats": {
      "plain": "Craft Quantities. Pipe Thermal Expansion Loop Sizing Calculator. Version 1.1.0. Sources checked 2026-09-06. https://craftquantities.com/calculators/materials-quantities/pipe-expansion-loop-calculator/",
      "apa": "Craft Quantities. (2026). Pipe Thermal Expansion Loop Sizing Calculator (Version 1.1.0) [Web calculator]. Retrieved from https://craftquantities.com/calculators/materials-quantities/pipe-expansion-loop-calculator/",
      "harvard": "Craft Quantities (2026) Pipe Thermal Expansion Loop Sizing Calculator (Version 1.1.0). Available at: https://craftquantities.com/calculators/materials-quantities/pipe-expansion-loop-calculator/",
      "bibtex": "@misc{craftquantities-calculators-materials-quantities-pipe-expansion-loop-calculator,\n  author       = {{Craft Quantities}},\n  title        = {Pipe Thermal Expansion Loop Sizing Calculator},\n  version      = {1.1.0},\n  year         = {2026},\n  howpublished = {\\url{https://craftquantities.com/calculators/materials-quantities/pipe-expansion-loop-calculator/}},\n}"
    }
  },
  "inputs": [
    {
      "id": "pipeMaterial",
      "label": "Pipe Material",
      "type": "select",
      "defaultValue": "carbon-steel",
      "options": [
        {
          "value": "carbon-steel",
          "label": "Carbon steel (29,000 ksi, 20 ksi allowable)"
        },
        {
          "value": "stainless-steel",
          "label": "Stainless steel 304/316 (28,000 ksi, 20 ksi allowable)"
        },
        {
          "value": "copper",
          "label": "Copper, drawn (17,000 ksi, 6 ksi allowable)"
        },
        {
          "value": "pvc",
          "label": "PVC (400 ksi, 2 ksi allowable)"
        },
        {
          "value": "cpvc",
          "label": "CPVC (360 ksi, 2 ksi allowable)"
        }
      ],
      "help": "The pipe material, which sets both the stiffness and the allowable bending stress."
    },
    {
      "id": "outsideDiameter",
      "label": "Pipe Outside Diameter",
      "type": "number",
      "dimension": "length",
      "defaultValue": 0.1016,
      "min": 0.01,
      "max": 0.3048,
      "step": 0.00635,
      "help": "The pipe's outside diameter."
    },
    {
      "id": "expectedExpansion",
      "label": "Expected Linear Expansion",
      "type": "number",
      "dimension": "length",
      "defaultValue": 0.0508,
      "min": 0.00635,
      "max": 0.2032,
      "step": 0.00635,
      "help": "The total linear thermal expansion the pipe run is expected to undergo."
    }
  ],
  "sources": [
    {
      "label": "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"
    }
  ],
  "testCases": [
    {
      "name": "4in OD carbon steel, 2in expansion",
      "inputs": {
        "pipeMaterial": "carbon-steel",
        "outsideDiameter": 0.1016,
        "expectedExpansion": 0.0508
      },
      "expected": 15.5457,
      "toleranceDecimalPlaces": 1,
      "unit": "ft",
      "confidence": "medium",
      "steps": [
        {
          "label": "Modulus of elasticity used (psi)",
          "value": 29000000,
          "unit": "psi"
        },
        {
          "label": "Allowable bending stress used (psi)",
          "value": 20000,
          "unit": "psi"
        }
      ],
      "basis": "sole-source",
      "sourceIndex": 0
    },
    {
      "name": "6in OD carbon steel, 3in expansion",
      "inputs": {
        "pipeMaterial": "carbon-steel",
        "outsideDiameter": 0.1524,
        "expectedExpansion": 0.0762
      },
      "expected": 23.3185,
      "toleranceDecimalPlaces": 1,
      "unit": "ft",
      "confidence": "medium",
      "steps": [
        {
          "label": "Modulus of elasticity used (psi)",
          "value": 29000000,
          "unit": "psi"
        },
        {
          "label": "Allowable bending stress used (psi)",
          "value": 20000,
          "unit": "psi"
        }
      ],
      "basis": "sole-source",
      "sourceIndex": 0
    },
    {
      "name": "Copper needs a longer loop than steel for the same movement",
      "inputs": {
        "pipeMaterial": "copper",
        "outsideDiameter": 0.1016,
        "expectedExpansion": 0.0508
      },
      "expected": 21.7315,
      "toleranceDecimalPlaces": 1,
      "unit": "ft",
      "confidence": "medium",
      "steps": [
        {
          "label": "Modulus of elasticity used (psi)",
          "value": 17000000,
          "unit": "psi"
        },
        {
          "label": "Allowable bending stress used (psi)",
          "value": 6000,
          "unit": "psi"
        }
      ],
      "basis": "sole-source",
      "sourceIndex": 0
    },
    {
      "name": "PVC needs about a third of the steel length",
      "inputs": {
        "pipeMaterial": "pvc",
        "outsideDiameter": 0.1016,
        "expectedExpansion": 0.0508
      },
      "expected": 5.7735,
      "toleranceDecimalPlaces": 1,
      "unit": "ft",
      "confidence": "medium",
      "steps": [
        {
          "label": "Modulus of elasticity used (psi)",
          "value": 400000,
          "unit": "psi"
        },
        {
          "label": "Allowable bending stress used (psi)",
          "value": 2000,
          "unit": "psi"
        }
      ],
      "basis": "sole-source",
      "sourceIndex": 0
    }
  ]
}
