{
  "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": "fence-picket-calculator",
  "category": "renovation-construction",
  "title": "Fence Picket Calculator",
  "description": "Estimate how many fence pickets you need based on fence length, picket width, and gap spacing.",
  "url": "https://craftquantities.com/calculators/renovation-construction/fence-picket-calculator/",
  "json": "https://craftquantities.com/api/v1/calculators/fence-picket-calculator.json",
  "inputCount": 4,
  "testCaseCount": 3,
  "sourceCount": 1,
  "lastVerified": "2026-09-17",
  "translations": {
    "es-US": "https://craftquantities.com/es/calculators/renovation-construction/fence-picket-calculator/"
  },
  "citation": {
    "author": "Craft Quantities",
    "title": "Fence Picket Calculator",
    "version": "1.1.0",
    "sourcesChecked": "2026-09-17",
    "url": "https://craftquantities.com/calculators/renovation-construction/fence-picket-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. Fence Picket Calculator. Version 1.1.0. Sources checked 2026-09-17. https://craftquantities.com/calculators/renovation-construction/fence-picket-calculator/",
      "apa": "Craft Quantities. (2026). Fence Picket Calculator (Version 1.1.0) [Web calculator]. Retrieved from https://craftquantities.com/calculators/renovation-construction/fence-picket-calculator/",
      "harvard": "Craft Quantities (2026) Fence Picket Calculator (Version 1.1.0). Available at: https://craftquantities.com/calculators/renovation-construction/fence-picket-calculator/",
      "bibtex": "@misc{craftquantities-calculators-renovation-construction-fence-picket-calculator,\n  author       = {{Craft Quantities}},\n  title        = {Fence Picket Calculator},\n  version      = {1.1.0},\n  year         = {2026},\n  howpublished = {\\url{https://craftquantities.com/calculators/renovation-construction/fence-picket-calculator/}},\n}"
    }
  },
  "inputs": [
    {
      "id": "fenceLength",
      "label": "Fence Length",
      "type": "number",
      "dimension": "length",
      "defaultValue": 15,
      "min": 0.01,
      "max": 500,
      "step": 0.5,
      "help": "The total length of fence to be covered with pickets."
    },
    {
      "id": "picketWidth",
      "label": "Picket Width",
      "type": "number",
      "dimension": "length",
      "defaultValue": 0.1397,
      "min": 0.01,
      "max": 0.3,
      "step": 0.001,
      "help": "The face width of a single picket."
    },
    {
      "id": "gapWidth",
      "label": "Gap Between Pickets",
      "type": "number",
      "dimension": "length",
      "defaultValue": 0.00635,
      "min": 0,
      "max": 0.15,
      "step": 0.001,
      "help": "The spacing left between adjacent pickets."
    },
    {
      "id": "wastePercent",
      "label": "Reject and Breakage Allowance (%)",
      "type": "number",
      "defaultValue": 5,
      "min": 0,
      "max": 30,
      "step": 1,
      "help": "Spare pickets for knotty rejects, splits at the nail and the narrow closer in each bay."
    }
  ],
  "sources": [
    {
      "label": "Picket count = fence length / (picket width + gap width), rounded up with a waste allowance"
    }
  ],
  "testCases": [
    {
      "name": "15m fence, 5.5in pickets, 0.25in gap",
      "inputs": {
        "fenceLength": 15,
        "picketWidth": 0.1397,
        "gapWidth": 0.00635
      },
      "expected": 108,
      "toleranceDecimalPlaces": 1,
      "unit": "pickets",
      "confidence": "high",
      "steps": [
        {
          "label": "Pickets before waste allowance",
          "value": 102.70455323519343,
          "unit": "pickets"
        }
      ],
      "basis": "sole-source",
      "sourceIndex": 0
    },
    {
      "name": "30m fence, 6in pickets, 0.5in gap",
      "inputs": {
        "fenceLength": 30,
        "picketWidth": 0.1524,
        "gapWidth": 0.0127
      },
      "expected": 191,
      "toleranceDecimalPlaces": 1,
      "unit": "pickets",
      "confidence": "high",
      "steps": [
        {
          "label": "Pickets before waste allowance",
          "value": 181.70805572380374,
          "unit": "pickets"
        }
      ],
      "basis": "sole-source",
      "sourceIndex": 0
    },
    {
      "name": "15m fence with no allowance",
      "inputs": {
        "fenceLength": 15,
        "picketWidth": 0.1397,
        "gapWidth": 0.00635,
        "wastePercent": 0
      },
      "expected": 103,
      "toleranceDecimalPlaces": 1,
      "unit": "pickets",
      "confidence": "high",
      "steps": [
        {
          "label": "Pickets before waste allowance",
          "value": 102.70455323519343,
          "unit": "pickets"
        }
      ],
      "basis": "sole-source",
      "sourceIndex": 0
    }
  ],
  "usedByAssemblies": [
    {
      "id": "fence-run",
      "name": "Fence run"
    }
  ]
}
