{
  "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": "culvert-pipe-length-calculator",
  "category": "heavy-civil",
  "title": "Culvert Pipe Length Calculator",
  "description": "Calculate the total culvert pipe length needed to span a roadway, including end treatment allowances.",
  "url": "https://craftquantities.com/calculators/heavy-civil/culvert-pipe-length-calculator/",
  "json": "https://craftquantities.com/api/v1/calculators/culvert-pipe-length-calculator.json",
  "inputCount": 2,
  "testCaseCount": 2,
  "sourceCount": 1,
  "lastVerified": "2026-09-02",
  "citation": {
    "author": "Craft Quantities",
    "title": "Culvert Pipe Length Calculator",
    "version": "1.0.1",
    "sourcesChecked": "2026-09-02",
    "url": "https://craftquantities.com/calculators/heavy-civil/culvert-pipe-length-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. Culvert Pipe Length Calculator. Version 1.0.1. Sources checked 2026-09-02. https://craftquantities.com/calculators/heavy-civil/culvert-pipe-length-calculator/",
      "apa": "Craft Quantities. (2026). Culvert Pipe Length Calculator (Version 1.0.1) [Web calculator]. Retrieved from https://craftquantities.com/calculators/heavy-civil/culvert-pipe-length-calculator/",
      "harvard": "Craft Quantities (2026) Culvert Pipe Length Calculator (Version 1.0.1). Available at: https://craftquantities.com/calculators/heavy-civil/culvert-pipe-length-calculator/",
      "bibtex": "@misc{craftquantities-calculators-heavy-civil-culvert-pipe-length-calculator,\n  author       = {{Craft Quantities}},\n  title        = {Culvert Pipe Length Calculator},\n  version      = {1.0.1},\n  year         = {2026},\n  howpublished = {\\url{https://craftquantities.com/calculators/heavy-civil/culvert-pipe-length-calculator/}},\n}"
    }
  },
  "inputs": [
    {
      "id": "roadwayWidth",
      "label": "Roadway Width to Span",
      "type": "number",
      "dimension": "length",
      "defaultValue": 12,
      "min": 0.01,
      "max": 50,
      "step": 0.5,
      "help": "The width of the roadway (or embankment) the culvert must span underneath."
    },
    {
      "id": "endTreatmentLength",
      "label": "End Treatment Length (Each End)",
      "type": "number",
      "dimension": "length",
      "defaultValue": 1.5,
      "min": 0.01,
      "max": 5,
      "step": 0.1,
      "help": "The extra pipe length needed at each end for a headwall or end section."
    }
  ],
  "sources": [
    {
      "label": "Total pipe length = roadway width + 2 × end treatment length, accounting for the pipe extending beyond the roadway width to accommodate headwalls or end sections at each end"
    }
  ],
  "testCases": [
    {
      "name": "12m roadway, 1.5m end treatment",
      "inputs": {
        "roadwayWidth": 12,
        "endTreatmentLength": 1.5
      },
      "expected": 15,
      "toleranceDecimalPlaces": 0,
      "unit": "m",
      "confidence": "high",
      "steps": [],
      "basis": "sole-source",
      "sourceIndex": 0
    },
    {
      "name": "15m roadway, 2m end treatment",
      "inputs": {
        "roadwayWidth": 15,
        "endTreatmentLength": 2
      },
      "expected": 19,
      "toleranceDecimalPlaces": 0,
      "unit": "m",
      "confidence": "high",
      "steps": [],
      "basis": "sole-source",
      "sourceIndex": 0
    }
  ]
}
