{
  "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": "gas-pipe-capacity-calculator",
  "category": "materials-quantities",
  "title": "Fuel Gas Pipe Capacity Calculator",
  "description": "Calculate a fuel gas pipe's volumetric flow capacity at a maximum allowable gas velocity.",
  "url": "https://craftquantities.com/calculators/materials-quantities/gas-pipe-capacity-calculator/",
  "json": "https://craftquantities.com/api/v1/calculators/gas-pipe-capacity-calculator.json",
  "inputCount": 2,
  "testCaseCount": 2,
  "sourceCount": 1,
  "lastVerified": "2026-09-06",
  "citation": {
    "author": "Craft Quantities",
    "title": "Fuel Gas Pipe Capacity Calculator",
    "version": "1.0.1",
    "sourcesChecked": "2026-09-06",
    "url": "https://craftquantities.com/calculators/materials-quantities/gas-pipe-capacity-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. Fuel Gas Pipe Capacity Calculator. Version 1.0.1. Sources checked 2026-09-06. https://craftquantities.com/calculators/materials-quantities/gas-pipe-capacity-calculator/",
      "apa": "Craft Quantities. (2026). Fuel Gas Pipe Capacity Calculator (Version 1.0.1) [Web calculator]. Retrieved from https://craftquantities.com/calculators/materials-quantities/gas-pipe-capacity-calculator/",
      "harvard": "Craft Quantities (2026) Fuel Gas Pipe Capacity Calculator (Version 1.0.1). Available at: https://craftquantities.com/calculators/materials-quantities/gas-pipe-capacity-calculator/",
      "bibtex": "@misc{craftquantities-calculators-materials-quantities-gas-pipe-capacity-calculator,\n  author       = {{Craft Quantities}},\n  title        = {Fuel Gas Pipe Capacity Calculator},\n  version      = {1.0.1},\n  year         = {2026},\n  howpublished = {\\url{https://craftquantities.com/calculators/materials-quantities/gas-pipe-capacity-calculator/}},\n}"
    }
  },
  "inputs": [
    {
      "id": "pipeDiameter",
      "label": "Pipe internal diameter",
      "type": "number",
      "dimension": "length",
      "defaultValue": 0.025,
      "min": 0.01,
      "max": 0.1,
      "step": 0.001,
      "help": "The pipe's internal diameter."
    },
    {
      "id": "maxVelocity",
      "label": "Maximum allowable gas velocity",
      "type": "number",
      "dimension": "velocity",
      "defaultValue": 6,
      "min": 3,
      "max": 12,
      "step": 0.5,
      "help": "The maximum gas velocity the pipe should be allowed to carry."
    }
  ],
  "sources": [
    {
      "label": "Capacity = pipe cross-sectional area × maximum allowable gas velocity, a simplified velocity-based screening check consistent with NFPA 54/IFGC gas pipe sizing principles (which also account for pressure drop and pipe length via sizing tables)"
    }
  ],
  "testCases": [
    {
      "name": "25mm pipe, 6 m/s max velocity",
      "inputs": {
        "pipeDiameter": 0.025,
        "maxVelocity": 6
      },
      "expected": 10.6,
      "toleranceDecimalPlaces": 1,
      "unit": "m³/h",
      "confidence": "medium",
      "steps": [
        {
          "label": "Capacity in CFH, the unit US gas tables use",
          "value": 374.43700418467677,
          "unit": "CFH"
        }
      ],
      "basis": "sole-source",
      "sourceIndex": 0
    },
    {
      "name": "32mm pipe, 6 m/s max velocity",
      "inputs": {
        "pipeDiameter": 0.032,
        "maxVelocity": 6
      },
      "expected": 17.37,
      "toleranceDecimalPlaces": 1,
      "unit": "m³/h",
      "confidence": "medium",
      "steps": [
        {
          "label": "Capacity in CFH, the unit US gas tables use",
          "value": 613.4775876561744,
          "unit": "CFH"
        }
      ],
      "basis": "sole-source",
      "sourceIndex": 0
    }
  ]
}
