{
  "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": "domestic-water-pipe-sizing-calculator",
  "category": "materials-quantities",
  "title": "Domestic Water Pipe Sizing by Fixture Unit Calculator",
  "description": "Size a domestic water pipe from its fixture unit load against both limits that govern it: the velocity ceiling and the pressure at the furthest fixture.",
  "url": "https://craftquantities.com/calculators/materials-quantities/domestic-water-pipe-sizing-calculator/",
  "json": "https://craftquantities.com/api/v1/calculators/domestic-water-pipe-sizing-calculator.json",
  "inputCount": 10,
  "testCaseCount": 4,
  "sourceCount": 4,
  "lastVerified": "2026-09-11",
  "translations": {
    "es-US": "https://craftquantities.com/es/calculators/materials-quantities/domestic-water-pipe-sizing-calculator/"
  },
  "citation": {
    "author": "Craft Quantities",
    "title": "Domestic Water Pipe Sizing by Fixture Unit Calculator",
    "version": "1.1.0",
    "sourcesChecked": "2026-09-11",
    "url": "https://craftquantities.com/calculators/materials-quantities/domestic-water-pipe-sizing-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. Domestic Water Pipe Sizing by Fixture Unit Calculator. Version 1.1.0. Sources checked 2026-09-11. https://craftquantities.com/calculators/materials-quantities/domestic-water-pipe-sizing-calculator/",
      "apa": "Craft Quantities. (2026). Domestic Water Pipe Sizing by Fixture Unit Calculator (Version 1.1.0) [Web calculator]. Retrieved from https://craftquantities.com/calculators/materials-quantities/domestic-water-pipe-sizing-calculator/",
      "harvard": "Craft Quantities (2026) Domestic Water Pipe Sizing by Fixture Unit Calculator (Version 1.1.0). Available at: https://craftquantities.com/calculators/materials-quantities/domestic-water-pipe-sizing-calculator/",
      "bibtex": "@misc{craftquantities-calculators-materials-quantities-domestic-water-pipe-sizing-calculator,\n  author       = {{Craft Quantities}},\n  title        = {Domestic Water Pipe Sizing by Fixture Unit Calculator},\n  version      = {1.1.0},\n  year         = {2026},\n  howpublished = {\\url{https://craftquantities.com/calculators/materials-quantities/domestic-water-pipe-sizing-calculator/}},\n}"
    }
  },
  "inputs": [
    {
      "id": "totalFixtureUnits",
      "label": "Total Water Supply Fixture Units (WSFU)",
      "type": "number",
      "defaultValue": 20,
      "min": 2,
      "max": 500,
      "step": 1,
      "help": "The sum of water supply fixture unit values for every fixture served by this pipe segment."
    },
    {
      "id": "demandFactor",
      "label": "Demand Factor (Calibration Constant for Your Fixture Mix)",
      "type": "number",
      "defaultValue": 3.2,
      "min": 2,
      "max": 5,
      "step": 0.1,
      "help": "A calibration constant that scales the square-root approximation to your building's fixture mix."
    },
    {
      "id": "maxVelocity",
      "label": "Maximum velocity",
      "type": "number",
      "dimension": "velocity",
      "defaultValue": 2.4,
      "min": 1.2,
      "max": 3,
      "step": 0.1,
      "help": "The maximum velocity allowed in the pipe to limit noise and water hammer risk."
    },
    {
      "id": "supplyPressure",
      "label": "Pressure available at the point of supply",
      "type": "number",
      "dimension": "pressure",
      "defaultValue": 413685,
      "min": 100000,
      "max": 1000000,
      "step": 1000,
      "help": "The pressure available where the supply enters the building."
    },
    {
      "id": "developedLength",
      "label": "Developed length to the furthest fixture",
      "type": "number",
      "dimension": "length",
      "defaultValue": 30,
      "min": 1,
      "max": 300,
      "step": 1,
      "help": "The length of pipe from the point of supply to the furthest fixture, following the run."
    },
    {
      "id": "fittingAllowance",
      "label": "Fitting allowance (% added to the length)",
      "type": "number",
      "defaultValue": 50,
      "min": 0,
      "max": 200,
      "step": 5,
      "help": "How much extra length is added to represent the elbows, tees and valves in the run."
    },
    {
      "id": "staticLift",
      "label": "Height of the highest fixture above the supply",
      "type": "number",
      "dimension": "length",
      "defaultValue": 6,
      "min": 0,
      "max": 60,
      "step": 0.5,
      "help": "The height of the highest fixture above the point of supply."
    },
    {
      "id": "meterLoss",
      "label": "Pressure lost across the water meter",
      "type": "number",
      "dimension": "pressure",
      "defaultValue": 34474,
      "min": 0,
      "max": 200000,
      "step": 1000,
      "help": "The pressure the metering assembly loses at your design flow."
    },
    {
      "id": "requiredResidual",
      "label": "Pressure needed at the furthest fixture",
      "type": "number",
      "dimension": "pressure",
      "defaultValue": 103421,
      "min": 20000,
      "max": 400000,
      "step": 1000,
      "help": "The flow pressure the furthest fixture needs at its inlet to work properly."
    },
    {
      "id": "pipeMaterial",
      "label": "Pipe material",
      "type": "select",
      "defaultValue": "plastic",
      "options": [
        {
          "value": "plastic",
          "label": "Plastic — PEX, PB, PVC (C = 150)"
        },
        {
          "value": "copper",
          "label": "Copper (C = 140)"
        },
        {
          "value": "galvanised",
          "label": "Galvanised steel (C = 120)"
        }
      ],
      "help": "Which Hazen-Williams roughness coefficient the friction calculation uses."
    }
  ],
  "sources": [
    {
      "label": "Estimated demand from fixture units (simplified Hunter's curve approximation) is converted to a minimum pipe diameter via the pipe flow area equation, keeping velocity within a safe range (commonly under ~2.4 m/s / 8 ft/s) to limit noise and water hammer risk"
    },
    {
      "label": "Hazen-Williams equation (SI units): hf = 10.67 × L × Q^1.852 ÷ (C^1.852 × D^4.8704), used here to find the bore at which friction loss consumes the available pressure"
    },
    {
      "label": "Static pressure loss = ρgh, at 1000 kg/m³ and 9.80665 m/s² — about 9.81 kPa, or 0.433 psi, per metre of lift"
    },
    {
      "label": "Water supply fixture unit values are taken from the fixture unit table of the code in force — IPC Table E103.3(2) and UPC Table 610.3 differ, and this page does not reproduce either"
    }
  ],
  "testCases": [
    {
      "name": "20 WSFU, demand factor 3.2, 2.4 m/s max",
      "inputs": {
        "totalFixtureUnits": 20,
        "demandFactor": 3.2,
        "maxVelocity": 2.4,
        "supplyPressure": 413685,
        "developedLength": 30,
        "fittingAllowance": 50,
        "staticLift": 6,
        "meterLoss": 34474,
        "requiredResidual": 103421,
        "pipeMaterial": "plastic"
      },
      "expected": 21.89,
      "toleranceDecimalPlaces": 1,
      "unit": "mm",
      "confidence": "medium",
      "steps": [
        {
          "label": "Estimated peak demand",
          "value": 14.310835055998655,
          "unit": "GPM"
        },
        {
          "label": "Diameter set by the velocity ceiling",
          "value": 21.885822175853964,
          "unit": "mm"
        },
        {
          "label": "Diameter set by the pressure budget",
          "value": 19.467328459968016,
          "unit": "mm"
        },
        {
          "label": "Pressure lost to static lift",
          "value": 58839.899999999994,
          "unit": "Pa"
        },
        {
          "label": "Pressure lost to friction at this diameter",
          "value": 122650.21385479186,
          "unit": "Pa"
        },
        {
          "label": "Pressure left at the furthest fixture",
          "value": 197720.88614520812,
          "unit": "Pa"
        },
        {
          "label": "Equivalent length used for friction",
          "value": 45,
          "unit": "m"
        }
      ],
      "basis": "ambiguous"
    },
    {
      "name": "35 WSFU, demand factor 3.2, 2.4 m/s max",
      "inputs": {
        "totalFixtureUnits": 35,
        "demandFactor": 3.2,
        "maxVelocity": 2.4,
        "supplyPressure": 413685,
        "developedLength": 30,
        "fittingAllowance": 50,
        "staticLift": 6,
        "meterLoss": 34474,
        "requiredResidual": 103421,
        "pipeMaterial": "plastic"
      },
      "expected": 25.17,
      "toleranceDecimalPlaces": 1,
      "unit": "mm",
      "confidence": "medium",
      "steps": [
        {
          "label": "Estimated peak demand",
          "value": 18.93145530591877,
          "unit": "GPM"
        },
        {
          "label": "Diameter set by the velocity ceiling",
          "value": 25.172269826767536,
          "unit": "mm"
        },
        {
          "label": "Diameter set by the pressure budget",
          "value": 21.652832883306797,
          "unit": "mm"
        },
        {
          "label": "Pressure lost to static lift",
          "value": 58839.899999999994,
          "unit": "Pa"
        },
        {
          "label": "Pressure lost to friction at this diameter",
          "value": 104183.37321989443,
          "unit": "Pa"
        },
        {
          "label": "Pressure left at the furthest fixture",
          "value": 216187.72678010556,
          "unit": "Pa"
        },
        {
          "label": "Equivalent length used for friction",
          "value": 45,
          "unit": "m"
        }
      ],
      "basis": "ambiguous"
    },
    {
      "name": "A long run on weak mains is governed by pressure, not velocity",
      "inputs": {
        "totalFixtureUnits": 20,
        "demandFactor": 3.2,
        "maxVelocity": 2.4,
        "supplyPressure": 275790,
        "developedLength": 60,
        "fittingAllowance": 50,
        "staticLift": 9,
        "meterLoss": 34474,
        "requiredResidual": 103421,
        "pipeMaterial": "plastic"
      },
      "expected": 30.38,
      "toleranceDecimalPlaces": 1,
      "unit": "mm",
      "confidence": "medium",
      "steps": [
        {
          "label": "Estimated peak demand",
          "value": 14.310835055998655,
          "unit": "GPM"
        },
        {
          "label": "Diameter set by the velocity ceiling",
          "value": 21.885822175853964,
          "unit": "mm"
        },
        {
          "label": "Diameter set by the pressure budget",
          "value": 30.38348630368764,
          "unit": "mm"
        },
        {
          "label": "Pressure lost to static lift",
          "value": 88259.84999999999,
          "unit": "Pa"
        },
        {
          "label": "Pressure lost to friction at this diameter",
          "value": 49635.15,
          "unit": "Pa"
        },
        {
          "label": "Pressure left at the furthest fixture",
          "value": 103421.00000000003,
          "unit": "Pa"
        },
        {
          "label": "Equivalent length used for friction",
          "value": 90,
          "unit": "m"
        }
      ],
      "basis": "ambiguous"
    },
    {
      "name": "Where the budget is already spent, the velocity answer stands and the note says why",
      "inputs": {
        "totalFixtureUnits": 20,
        "demandFactor": 3.2,
        "maxVelocity": 2.4,
        "supplyPressure": 206843,
        "developedLength": 30,
        "fittingAllowance": 50,
        "staticLift": 12,
        "meterLoss": 34474,
        "requiredResidual": 103421,
        "pipeMaterial": "plastic"
      },
      "expected": 21.89,
      "toleranceDecimalPlaces": 1,
      "unit": "mm",
      "confidence": "low",
      "steps": [
        {
          "label": "Estimated peak demand",
          "value": 14.310835055998655,
          "unit": "GPM"
        },
        {
          "label": "Diameter set by the velocity ceiling",
          "value": 21.885822175853964,
          "unit": "mm"
        },
        {
          "label": "Diameter set by the pressure budget",
          "value": 0,
          "unit": "mm"
        },
        {
          "label": "Pressure lost to static lift",
          "value": 117679.79999999999,
          "unit": "Pa"
        },
        {
          "label": "Pressure lost to friction at this diameter",
          "value": 122650.21385479186,
          "unit": "Pa"
        },
        {
          "label": "Pressure left at the furthest fixture",
          "value": -67961.01385479185,
          "unit": "Pa"
        },
        {
          "label": "Equivalent length used for friction",
          "value": 45,
          "unit": "m"
        }
      ],
      "basis": "ambiguous"
    }
  ]
}
