{
  "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": "radiant-floor-pex-calculator",
  "category": "plumbing-hvac",
  "title": "Radiant Floor PEX Tubing Calculator",
  "description": "Estimate the length of PEX tubing needed for a radiant floor heating loop, based on area and tube spacing.",
  "url": "https://craftquantities.com/calculators/plumbing-hvac/radiant-floor-pex-calculator/",
  "json": "https://craftquantities.com/api/v1/calculators/radiant-floor-pex-calculator.json",
  "inputCount": 4,
  "testCaseCount": 4,
  "sourceCount": 3,
  "lastVerified": "2026-09-26",
  "translations": {
    "es-US": "https://craftquantities.com/es/calculators/plumbing-hvac/radiant-floor-pex-calculator/"
  },
  "citation": {
    "author": "Craft Quantities",
    "title": "Radiant Floor PEX Tubing Calculator",
    "version": "1.2.0",
    "sourcesChecked": "2026-09-26",
    "url": "https://craftquantities.com/calculators/plumbing-hvac/radiant-floor-pex-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. Radiant Floor PEX Tubing Calculator. Version 1.2.0. Sources checked 2026-09-26. https://craftquantities.com/calculators/plumbing-hvac/radiant-floor-pex-calculator/",
      "apa": "Craft Quantities. (2026). Radiant Floor PEX Tubing Calculator (Version 1.2.0) [Web calculator]. Retrieved from https://craftquantities.com/calculators/plumbing-hvac/radiant-floor-pex-calculator/",
      "harvard": "Craft Quantities (2026) Radiant Floor PEX Tubing Calculator (Version 1.2.0). Available at: https://craftquantities.com/calculators/plumbing-hvac/radiant-floor-pex-calculator/",
      "bibtex": "@misc{craftquantities-calculators-plumbing-hvac-radiant-floor-pex-calculator,\n  author       = {{Craft Quantities}},\n  title        = {Radiant Floor PEX Tubing Calculator},\n  version      = {1.2.0},\n  year         = {2026},\n  howpublished = {\\url{https://craftquantities.com/calculators/plumbing-hvac/radiant-floor-pex-calculator/}},\n}"
    }
  },
  "inputs": [
    {
      "id": "floorArea",
      "label": "Floor Area",
      "type": "number",
      "dimension": "area",
      "defaultValue": 20,
      "min": 0.01,
      "max": 500,
      "step": 1,
      "help": "The total floor area to be heated."
    },
    {
      "id": "tubeSpacingIn",
      "label": "Tube Spacing",
      "type": "select",
      "defaultValue": "9",
      "optionsBySystem": {
        "imperial": [
          {
            "value": "6",
            "label": "6 in — perimeter/high heat-loss zones"
          },
          {
            "value": "9",
            "label": "9 in — standard"
          },
          {
            "value": "12",
            "label": "12 in — low heat-loss zones"
          }
        ],
        "metric": [
          {
            "value": "6",
            "label": "15 cm (~6 in) — perimeter/high heat-loss zones"
          },
          {
            "value": "9",
            "label": "23 cm (~9 in) — standard"
          },
          {
            "value": "12",
            "label": "30 cm (~12 in) — low heat-loss zones"
          }
        ]
      },
      "help": "Tighter spacing delivers more heat per square foot but uses more tubing."
    },
    {
      "id": "connectionAllowancePercent",
      "label": "Connection Allowance (%)",
      "type": "number",
      "defaultValue": 10,
      "min": 0,
      "max": 40,
      "step": 1,
      "help": "Tubing for the bends, wall penetrations and loop ends where each circuit starts and finishes."
    },
    {
      "id": "leaderLength",
      "label": "Leader Length (Flow and Return)",
      "type": "number",
      "dimension": "length",
      "defaultValue": 0,
      "min": 0,
      "max": 500,
      "step": 0.5,
      "help": "The tubing between the heated area and a manifold outside it, flow and return together. Leave at 0 when the manifold is in the room."
    }
  ],
  "sources": [
    {
      "label": "Standard radiant-floor industry formula: tubing length (ft) = floor area (sq ft) x (12 / tube spacing in inches)"
    },
    {
      "label": "10% extra is standard to account for manifold connections, wall penetrations, and the return run at each loop's start and end"
    },
    {
      "label": "Leader tubing (the flow and return between the heated area and a manifold outside it) is a measured length: circuits x 2 x the route, added to the total as it stands"
    }
  ],
  "testCases": [
    {
      "name": "20m² area, 12in spacing",
      "inputs": {
        "floorArea": 20,
        "tubeSpacingIn": "12"
      },
      "expected": 236.81,
      "toleranceDecimalPlaces": 1,
      "unit": "linear ft of PEX",
      "confidence": "medium",
      "steps": [
        {
          "label": "Tubing before manifold allowance",
          "value": 215.27820833419443,
          "unit": "linear ft"
        }
      ],
      "basis": "ambiguous"
    },
    {
      "name": "30m² area, 9in spacing",
      "inputs": {
        "floorArea": 30,
        "tubeSpacingIn": "9"
      },
      "expected": 473.61,
      "toleranceDecimalPlaces": 1,
      "unit": "linear ft of PEX",
      "confidence": "medium",
      "steps": [
        {
          "label": "Tubing before manifold allowance",
          "value": 430.5564166683888,
          "unit": "linear ft"
        }
      ],
      "basis": "ambiguous"
    },
    {
      "name": "20m² area, 12in spacing, 10% allowance, 30 m of leaders",
      "inputs": {
        "floorArea": 20,
        "tubeSpacingIn": "12",
        "connectionAllowancePercent": 10,
        "leaderLength": 30
      },
      "expected": 335.23,
      "toleranceDecimalPlaces": 1,
      "unit": "linear ft of PEX",
      "confidence": "medium",
      "steps": [
        {
          "label": "Tubing before manifold allowance",
          "value": 215.27820833419443,
          "unit": "linear ft"
        },
        {
          "label": "Loop tubing with connection allowance",
          "value": 236.8060291676139,
          "unit": "linear ft"
        },
        {
          "label": "Leader tubing, flow and return",
          "value": 98.42519685039369,
          "unit": "linear ft"
        }
      ],
      "basis": "cited",
      "sourceIndex": 2
    },
    {
      "name": "20m² area, 12in spacing, no connection allowance",
      "inputs": {
        "floorArea": 20,
        "tubeSpacingIn": "12",
        "connectionAllowancePercent": 0
      },
      "expected": 215.28,
      "toleranceDecimalPlaces": 1,
      "unit": "linear ft of PEX",
      "confidence": "medium",
      "steps": [
        {
          "label": "Tubing before manifold allowance",
          "value": 215.27820833419443,
          "unit": "linear ft"
        }
      ],
      "basis": "cited",
      "sourceIndex": 0
    }
  ],
  "usedByAssemblies": [
    {
      "id": "heated-bathroom-floor",
      "name": "Heated bathroom floor"
    },
    {
      "id": "radiant-floor-loop",
      "name": "Radiant floor loop"
    },
    {
      "id": "underfloor-heating-retrofit",
      "name": "Wet underfloor heating in an existing floor"
    }
  ]
}
