{
  "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": "weeping-tile-segment-calculator",
  "category": "materials-quantities",
  "title": "Perimeter Weeping Tile Pipe Segment Calculator",
  "description": "Calculate how many standard-length pipe segments are needed for a foundation perimeter weeping tile (footing drain) run.",
  "url": "https://craftquantities.com/calculators/materials-quantities/weeping-tile-segment-calculator/",
  "json": "https://craftquantities.com/api/v1/calculators/weeping-tile-segment-calculator.json",
  "inputCount": 2,
  "testCaseCount": 2,
  "sourceCount": 1,
  "lastVerified": "2026-09-02",
  "translations": {
    "es-US": "https://craftquantities.com/es/calculators/materials-quantities/weeping-tile-segment-calculator/"
  },
  "citation": {
    "author": "Craft Quantities",
    "title": "Perimeter Weeping Tile Pipe Segment Calculator",
    "version": "1.0.1",
    "sourcesChecked": "2026-09-02",
    "url": "https://craftquantities.com/calculators/materials-quantities/weeping-tile-segment-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. Perimeter Weeping Tile Pipe Segment Calculator. Version 1.0.1. Sources checked 2026-09-02. https://craftquantities.com/calculators/materials-quantities/weeping-tile-segment-calculator/",
      "apa": "Craft Quantities. (2026). Perimeter Weeping Tile Pipe Segment Calculator (Version 1.0.1) [Web calculator]. Retrieved from https://craftquantities.com/calculators/materials-quantities/weeping-tile-segment-calculator/",
      "harvard": "Craft Quantities (2026) Perimeter Weeping Tile Pipe Segment Calculator (Version 1.0.1). Available at: https://craftquantities.com/calculators/materials-quantities/weeping-tile-segment-calculator/",
      "bibtex": "@misc{craftquantities-calculators-materials-quantities-weeping-tile-segment-calculator,\n  author       = {{Craft Quantities}},\n  title        = {Perimeter Weeping Tile Pipe Segment Calculator},\n  version      = {1.0.1},\n  year         = {2026},\n  howpublished = {\\url{https://craftquantities.com/calculators/materials-quantities/weeping-tile-segment-calculator/}},\n}"
    }
  },
  "inputs": [
    {
      "id": "foundationPerimeter",
      "label": "Foundation Perimeter",
      "type": "number",
      "dimension": "length",
      "defaultValue": 45,
      "min": 0.01,
      "max": 300,
      "step": 0.5,
      "help": "The total perimeter length of the foundation to be drained."
    },
    {
      "id": "pipeSegmentLength",
      "label": "Standard pipe segment length",
      "type": "number",
      "dimension": "length",
      "defaultValue": 3.05,
      "min": 0.01,
      "max": 120,
      "step": 0.05,
      "help": "The stock length of one pipe segment as sold."
    }
  ],
  "sources": [
    {
      "label": "Segment count = ceil(foundation perimeter ÷ standard pipe segment length), the standard method for estimating pipe segments along a continuous perimeter drain run"
    }
  ],
  "testCases": [
    {
      "name": "45m perimeter, 3.05m segments",
      "inputs": {
        "foundationPerimeter": 45,
        "pipeSegmentLength": 3.05
      },
      "expected": 15,
      "toleranceDecimalPlaces": 0,
      "unit": "segments",
      "confidence": "high",
      "steps": [],
      "basis": "sole-source",
      "sourceIndex": 0
    },
    {
      "name": "60m perimeter, 3.05m segments",
      "inputs": {
        "foundationPerimeter": 60,
        "pipeSegmentLength": 3.05
      },
      "expected": 20,
      "toleranceDecimalPlaces": 0,
      "unit": "segments",
      "confidence": "high",
      "steps": [],
      "basis": "sole-source",
      "sourceIndex": 0
    }
  ],
  "usedByAssemblies": [
    {
      "id": "basement-conversion",
      "name": "Basement or cellar conversion"
    },
    {
      "id": "basement-wall",
      "name": "Basement or foundation wall (poured concrete)"
    }
  ]
}
