{
  "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": "baluster-calculator",
  "category": "renovation-construction",
  "title": "Deck Baluster Calculator",
  "description": "Calculate how many balusters (railing spindles) keep every gap within the guard's sphere rule: 4 in in imperial, 100 mm in metric.",
  "url": "https://craftquantities.com/calculators/renovation-construction/baluster-calculator/",
  "json": "https://craftquantities.com/api/v1/calculators/baluster-calculator.json",
  "inputCount": 2,
  "testCaseCount": 3,
  "sourceCount": 2,
  "lastVerified": "2026-09-28",
  "translations": {
    "es-US": "https://craftquantities.com/es/calculators/renovation-construction/baluster-calculator/"
  },
  "citation": {
    "author": "Craft Quantities",
    "title": "Deck Baluster Calculator",
    "version": "1.1.0",
    "sourcesChecked": "2026-09-28",
    "url": "https://craftquantities.com/calculators/renovation-construction/baluster-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. Deck Baluster Calculator. Version 1.1.0. Sources checked 2026-09-28. https://craftquantities.com/calculators/renovation-construction/baluster-calculator/",
      "apa": "Craft Quantities. (2026). Deck Baluster Calculator (Version 1.1.0) [Web calculator]. Retrieved from https://craftquantities.com/calculators/renovation-construction/baluster-calculator/",
      "harvard": "Craft Quantities (2026) Deck Baluster Calculator (Version 1.1.0). Available at: https://craftquantities.com/calculators/renovation-construction/baluster-calculator/",
      "bibtex": "@misc{craftquantities-calculators-renovation-construction-baluster-calculator,\n  author       = {{Craft Quantities}},\n  title        = {Deck Baluster Calculator},\n  version      = {1.1.0},\n  year         = {2026},\n  howpublished = {\\url{https://craftquantities.com/calculators/renovation-construction/baluster-calculator/}},\n}"
    }
  },
  "inputs": [
    {
      "id": "railSectionLength",
      "label": "Rail Section Length",
      "type": "number",
      "dimension": "length",
      "defaultValue": 2.4,
      "min": 0.01,
      "max": 10,
      "step": 0.1,
      "help": "The length of railing between two posts."
    },
    {
      "id": "balusterWidth",
      "label": "Baluster Width",
      "type": "number",
      "dimension": "length",
      "defaultValue": 0.0381,
      "min": 0.01,
      "max": 0.1016,
      "step": 0.0032,
      "help": "The width of a single baluster (spindle), from the product spec."
    }
  ],
  "sources": [
    {
      "label": "US: International Residential Code R312.1.3 — openings in a required guard must not allow passage of a 4 in (101.6 mm) diameter sphere; the imperial page solves to it"
    },
    {
      "label": "UK: Approved Document K (2013), Section 3 — guarding in a building likely to be used by children under five should not have openings that allow passage of a 100 mm (3.94 in) sphere; the metric page solves to it"
    }
  ],
  "testCases": [
    {
      "name": "2.4m rail section, 1.5in balusters",
      "inputs": {
        "railSectionLength": 2.4,
        "balusterWidth": 0.0381
      },
      "expected": 17,
      "toleranceDecimalPlaces": 0,
      "unit": "balusters",
      "confidence": "medium",
      "steps": [
        {
          "label": "Rail section length",
          "value": 94.48818897637794,
          "unit": "in"
        },
        {
          "label": "Actual gap between balusters",
          "value": 3.83267716535433,
          "unit": "in"
        },
        {
          "label": "Largest gap allowed",
          "value": 4,
          "unit": "in"
        }
      ],
      "basis": "cited",
      "sourceIndex": 0
    },
    {
      "name": "1.8m rail section, 2in balusters",
      "inputs": {
        "railSectionLength": 1.8,
        "balusterWidth": 0.0508
      },
      "expected": 12,
      "toleranceDecimalPlaces": 0,
      "unit": "balusters",
      "confidence": "medium",
      "steps": [
        {
          "label": "Rail section length",
          "value": 70.86614173228347,
          "unit": "in"
        },
        {
          "label": "Actual gap between balusters",
          "value": 3.6050878255602665,
          "unit": "in"
        },
        {
          "label": "Largest gap allowed",
          "value": 4,
          "unit": "in"
        }
      ],
      "basis": "cited",
      "sourceIndex": 0
    },
    {
      "name": "0.67m rail section, 41mm balusters (the span the two rules part on)",
      "inputs": {
        "railSectionLength": 0.67,
        "balusterWidth": 0.041
      },
      "expected": 4,
      "toleranceDecimalPlaces": 0,
      "unit": "balusters",
      "confidence": "medium",
      "steps": [
        {
          "label": "Rail section length",
          "value": 26.377952755905515,
          "unit": "in"
        },
        {
          "label": "Actual gap between balusters",
          "value": 3.984251968503938,
          "unit": "in"
        },
        {
          "label": "Largest gap allowed",
          "value": 4,
          "unit": "in"
        }
      ],
      "basis": "cited",
      "sourceIndex": 0
    }
  ],
  "usedByAssemblies": [
    {
      "id": "staircase-replacement",
      "name": "Staircase replacement"
    }
  ]
}
