{
  "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": "pergola-post-spacing-calculator",
  "category": "renovation-construction",
  "title": "Pergola Post Spacing Calculator",
  "description": "Estimate how many support posts you need for a rectangular pergola based on maximum beam span.",
  "url": "https://craftquantities.com/calculators/renovation-construction/pergola-post-spacing-calculator/",
  "json": "https://craftquantities.com/api/v1/calculators/pergola-post-spacing-calculator.json",
  "inputCount": 3,
  "testCaseCount": 2,
  "sourceCount": 1,
  "lastVerified": "2026-09-05",
  "citation": {
    "author": "Craft Quantities",
    "title": "Pergola Post Spacing Calculator",
    "version": "1.0.1",
    "sourcesChecked": "2026-09-05",
    "url": "https://craftquantities.com/calculators/renovation-construction/pergola-post-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. Pergola Post Spacing Calculator. Version 1.0.1. Sources checked 2026-09-05. https://craftquantities.com/calculators/renovation-construction/pergola-post-spacing-calculator/",
      "apa": "Craft Quantities. (2026). Pergola Post Spacing Calculator (Version 1.0.1) [Web calculator]. Retrieved from https://craftquantities.com/calculators/renovation-construction/pergola-post-spacing-calculator/",
      "harvard": "Craft Quantities (2026) Pergola Post Spacing Calculator (Version 1.0.1). Available at: https://craftquantities.com/calculators/renovation-construction/pergola-post-spacing-calculator/",
      "bibtex": "@misc{craftquantities-calculators-renovation-construction-pergola-post-spacing-calculator,\n  author       = {{Craft Quantities}},\n  title        = {Pergola Post Spacing Calculator},\n  version      = {1.0.1},\n  year         = {2026},\n  howpublished = {\\url{https://craftquantities.com/calculators/renovation-construction/pergola-post-spacing-calculator/}},\n}"
    }
  },
  "inputs": [
    {
      "id": "pergolaLength",
      "label": "Pergola Length",
      "type": "number",
      "dimension": "length",
      "defaultValue": 4,
      "min": 0.01,
      "max": 20,
      "step": 0.1,
      "help": "The length of the pergola structure."
    },
    {
      "id": "pergolaWidth",
      "label": "Pergola Width",
      "type": "number",
      "dimension": "length",
      "defaultValue": 3,
      "min": 0.01,
      "max": 20,
      "step": 0.1,
      "help": "The width of the pergola structure."
    },
    {
      "id": "maxPostSpacingFt",
      "label": "Maximum Post Spacing",
      "type": "select",
      "defaultValue": "8",
      "optionsBySystem": {
        "imperial": [
          {
            "value": "6",
            "label": "6 ft — lighter beams"
          },
          {
            "value": "8",
            "label": "8 ft — typical"
          }
        ],
        "metric": [
          {
            "value": "6",
            "label": "1.8 m (~6 ft) — lighter beams"
          },
          {
            "value": "8",
            "label": "2.4 m (~8 ft) — typical"
          }
        ]
      },
      "help": "The maximum span your beam size can safely support between posts."
    }
  ],
  "sources": [
    {
      "label": "Posts are placed at all 4 corners plus intermediate posts along any side exceeding the maximum beam span, spaced no farther apart than the maximum span"
    }
  ],
  "testCases": [
    {
      "name": "4x3m pergola, 8ft max spacing",
      "inputs": {
        "pergolaLength": 4,
        "pergolaWidth": 3,
        "maxPostSpacingFt": "8"
      },
      "expected": 8,
      "toleranceDecimalPlaces": 0,
      "unit": "posts",
      "confidence": "medium",
      "steps": [
        {
          "label": "Posts along each long side",
          "value": 3,
          "unit": "posts"
        },
        {
          "label": "Posts along each short side",
          "value": 3,
          "unit": "posts"
        },
        {
          "label": "Post centres down each long side",
          "value": 6.561679790026246,
          "unit": "ft"
        },
        {
          "label": "Post centres across each short side",
          "value": 4.921259842519685,
          "unit": "ft"
        }
      ],
      "basis": "sole-source",
      "sourceIndex": 0
    },
    {
      "name": "6x4m pergola, 8ft max spacing",
      "inputs": {
        "pergolaLength": 6,
        "pergolaWidth": 4,
        "maxPostSpacingFt": "8"
      },
      "expected": 10,
      "toleranceDecimalPlaces": 0,
      "unit": "posts",
      "confidence": "medium",
      "steps": [
        {
          "label": "Posts along each long side",
          "value": 4,
          "unit": "posts"
        },
        {
          "label": "Posts along each short side",
          "value": 3,
          "unit": "posts"
        },
        {
          "label": "Post centres down each long side",
          "value": 6.561679790026247,
          "unit": "ft"
        },
        {
          "label": "Post centres across each short side",
          "value": 6.561679790026246,
          "unit": "ft"
        }
      ],
      "basis": "sole-source",
      "sourceIndex": 0
    }
  ]
}
