{
  "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": "pool-fence-panel-calculator",
  "category": "pools-water",
  "title": "Pool Fence Calculator — Panels, Posts and Gates for a Pool Barrier",
  "description": "Count pool fence panels, posts and gates for a run, from the panel width and post centres your system is sold in (2400 mm aluminium panels by default).",
  "url": "https://craftquantities.com/calculators/pools-water/pool-fence-panel-calculator/",
  "json": "https://craftquantities.com/api/v1/calculators/pool-fence-panel-calculator.json",
  "inputCount": 5,
  "testCaseCount": 2,
  "sourceCount": 3,
  "lastVerified": "2026-10-31",
  "citation": {
    "author": "Craft Quantities",
    "title": "Pool Fence Calculator — Panels, Posts and Gates for a Pool Barrier",
    "version": "1.0.0",
    "sourcesChecked": "2026-10-31",
    "url": "https://craftquantities.com/calculators/pools-water/pool-fence-panel-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. Pool Fence Calculator — Panels, Posts and Gates for a Pool Barrier. Version 1.0.0. Sources checked 2026-10-31. https://craftquantities.com/calculators/pools-water/pool-fence-panel-calculator/",
      "apa": "Craft Quantities. (2026). Pool Fence Calculator — Panels, Posts and Gates for a Pool Barrier (Version 1.0.0) [Web calculator]. Retrieved from https://craftquantities.com/calculators/pools-water/pool-fence-panel-calculator/",
      "harvard": "Craft Quantities (2026) Pool Fence Calculator — Panels, Posts and Gates for a Pool Barrier (Version 1.0.0). Available at: https://craftquantities.com/calculators/pools-water/pool-fence-panel-calculator/",
      "bibtex": "@misc{craftquantities-calculators-pools-water-pool-fence-panel-calculator,\n  author       = {{Craft Quantities}},\n  title        = {Pool Fence Calculator — Panels, Posts and Gates for a Pool Barrier},\n  version      = {1.0.0},\n  year         = {2026},\n  howpublished = {\\url{https://craftquantities.com/calculators/pools-water/pool-fence-panel-calculator/}},\n}"
    }
  },
  "inputs": [
    {
      "id": "runLength",
      "label": "Total Length of Fence",
      "type": "number",
      "dimension": "length",
      "defaultValue": 30,
      "min": 1,
      "max": 500,
      "step": 0.1,
      "help": "The whole length of barrier, gates included, along the fence line."
    },
    {
      "id": "panelCentres",
      "label": "Post Centres for a Panel",
      "type": "number",
      "dimension": "length",
      "defaultValue": 2.45,
      "min": 0.5,
      "max": 3.5,
      "step": 0.005,
      "help": "Post centre to post centre for one panel, from the maker's installation sheet."
    },
    {
      "id": "gates",
      "label": "Gates",
      "type": "number",
      "defaultValue": 1,
      "min": 0,
      "max": 10,
      "step": 1,
      "help": "How many self-closing gates the barrier has."
    },
    {
      "id": "gateCentres",
      "label": "Post Centres for a Gate",
      "type": "number",
      "dimension": "length",
      "defaultValue": 1.05,
      "min": 0.6,
      "max": 2,
      "step": 0.005,
      "help": "Post centre to post centre for the gate bay, from the maker's installation sheet."
    },
    {
      "id": "openEnds",
      "label": "Open Ends of the Fence",
      "type": "number",
      "defaultValue": 2,
      "min": 0,
      "max": 20,
      "step": 1,
      "help": "Ends that stop at a wall or boundary: 2 for one run, 0 for a fence that closes on itself."
    }
  ],
  "sources": [
    {
      "label": "Bunnings, ProtectorAl aluminium pool fencing installation guide (2023 and 2024 editions): panels 2400 mm wide (moving from 2450 mm) at 2450 mm post centres; a 975 mm gate set at 1050 mm post centres to allow for the hardware; fence height 1200 mm measured to ground level",
      "url": "https://media.bunnings.com.au/api/public/content/5d82d2f61d5e4854b29fe9a2a41cf894"
    },
    {
      "label": "Bunnings, ProtectorAl 2400 × 1200 mm aluminium pool fence panel (read 2026-10-31)",
      "url": "https://www.bunnings.com.au/protectoral-2400-x-1200mm-monument-aluminium-pool-fence-panel-flat-top-with-square-picket_p0483673"
    },
    {
      "label": "Standards Australia, AS 1926.1 Swimming pool safety, Part 1: Safety barriers for swimming pools — the barrier standard a certifier inspects against (named as the reader's reference; nothing here checks it)"
    }
  ],
  "testCases": [
    {
      "name": "30 m of aluminium fence, one gate, two open ends",
      "inputs": {
        "runLength": 30,
        "panelCentres": 2.45,
        "gates": 1,
        "gateCentres": 1.05,
        "openEnds": 2
      },
      "expected": 12,
      "toleranceDecimalPlaces": 0,
      "unit": "panels",
      "confidence": "high",
      "steps": [
        {
          "label": "Posts",
          "value": 15,
          "unit": "posts"
        },
        {
          "label": "Gates",
          "value": 1,
          "unit": "gates"
        },
        {
          "label": "Fence length taken by panels",
          "value": 28.95,
          "unit": "m"
        },
        {
          "label": "Panel length to cut off or replace with a narrower panel",
          "value": 0.45000000000000284,
          "unit": "m"
        },
        {
          "label": "Bays between posts",
          "value": 13,
          "unit": "bays"
        }
      ],
      "basis": "cited",
      "sourceIndex": 0
    },
    {
      "name": "A closed 40 m loop, two gates",
      "inputs": {
        "runLength": 40,
        "panelCentres": 2.45,
        "gates": 2,
        "gateCentres": 1.05,
        "openEnds": 0
      },
      "expected": 16,
      "toleranceDecimalPlaces": 0,
      "unit": "panels",
      "confidence": "high",
      "steps": [
        {
          "label": "Posts",
          "value": 18,
          "unit": "posts"
        },
        {
          "label": "Gates",
          "value": 2,
          "unit": "gates"
        },
        {
          "label": "Fence length taken by panels",
          "value": 37.9,
          "unit": "m"
        },
        {
          "label": "Panel length to cut off or replace with a narrower panel",
          "value": 1.3000000000000043,
          "unit": "m"
        },
        {
          "label": "Bays between posts",
          "value": 18,
          "unit": "bays"
        }
      ],
      "basis": "cited",
      "sourceIndex": 0
    }
  ]
}
