{
  "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": "steel-purlin-spacing-calculator",
  "category": "materials-quantities",
  "title": "Steel Z/C Purlin Spacing Calculator",
  "description": "Calculate the number of steel Z or C purlin rows needed along a metal building roof run.",
  "url": "https://craftquantities.com/calculators/materials-quantities/steel-purlin-spacing-calculator/",
  "json": "https://craftquantities.com/api/v1/calculators/steel-purlin-spacing-calculator.json",
  "inputCount": 2,
  "testCaseCount": 2,
  "sourceCount": 1,
  "lastVerified": "2026-09-06",
  "citation": {
    "author": "Craft Quantities",
    "title": "Steel Z/C Purlin Spacing Calculator",
    "version": "1.0.1",
    "sourcesChecked": "2026-09-06",
    "url": "https://craftquantities.com/calculators/materials-quantities/steel-purlin-spacing-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. Steel Z/C Purlin Spacing Calculator. Version 1.0.1. Sources checked 2026-09-06. https://craftquantities.com/calculators/materials-quantities/steel-purlin-spacing-calculator/",
      "apa": "Craft Quantities. (2026). Steel Z/C Purlin Spacing Calculator (Version 1.0.1) [Web calculator]. Retrieved from https://craftquantities.com/calculators/materials-quantities/steel-purlin-spacing-calculator/",
      "harvard": "Craft Quantities (2026) Steel Z/C Purlin Spacing Calculator (Version 1.0.1). Available at: https://craftquantities.com/calculators/materials-quantities/steel-purlin-spacing-calculator/",
      "bibtex": "@misc{craftquantities-calculators-materials-quantities-steel-purlin-spacing-calculator,\n  author       = {{Craft Quantities}},\n  title        = {Steel Z/C Purlin Spacing Calculator},\n  version      = {1.0.1},\n  year         = {2026},\n  howpublished = {\\url{https://craftquantities.com/calculators/materials-quantities/steel-purlin-spacing-calculator/}},\n}"
    }
  },
  "inputs": [
    {
      "id": "roofRunLength",
      "label": "Roof Run Length",
      "type": "number",
      "dimension": "length",
      "defaultValue": 20,
      "min": 0.01,
      "max": 60,
      "step": 0.5,
      "help": "The total roof run (eave-to-ridge or slope length) the purlins span across."
    },
    {
      "id": "maxPurlinSpacing",
      "label": "Maximum Purlin Spacing",
      "type": "number",
      "dimension": "length",
      "defaultValue": 1.5,
      "min": 0.01,
      "max": 3,
      "step": 0.05,
      "help": "The maximum allowable spacing between purlin rows, from the roof panel manufacturer's span table."
    }
  ],
  "sources": [
    {
      "label": "Purlin rows = ceil(roof run length ÷ maximum purlin spacing) + 1, the standard layout method for spacing intermediate roof support members"
    }
  ],
  "testCases": [
    {
      "name": "20m run, 1.5m max spacing",
      "inputs": {
        "roofRunLength": 20,
        "maxPurlinSpacing": 1.5
      },
      "expected": 15,
      "toleranceDecimalPlaces": 0,
      "unit": "rows",
      "confidence": "high",
      "steps": [
        {
          "label": "Bays from eave to ridge",
          "value": 14
        },
        {
          "label": "Purlin row centres, eave to ridge",
          "value": 1.4285714285714286,
          "unit": "m"
        }
      ],
      "basis": "sole-source",
      "sourceIndex": 0
    },
    {
      "name": "30m run, 1.25m max spacing",
      "inputs": {
        "roofRunLength": 30,
        "maxPurlinSpacing": 1.25
      },
      "expected": 25,
      "toleranceDecimalPlaces": 0,
      "unit": "rows",
      "confidence": "high",
      "steps": [
        {
          "label": "Bays from eave to ridge",
          "value": 24
        },
        {
          "label": "Purlin row centres, eave to ridge",
          "value": 1.25,
          "unit": "m"
        }
      ],
      "basis": "sole-source",
      "sourceIndex": 0
    }
  ]
}
