{
  "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": "wood-fence-stain-calculator",
  "category": "renovation-construction",
  "title": "Wood Fence Stain Calculator",
  "description": "Estimate how many gallons or litres of stain you need for a wood fence, based on length, height, and sides.",
  "url": "https://craftquantities.com/calculators/renovation-construction/wood-fence-stain-calculator/",
  "json": "https://craftquantities.com/api/v1/calculators/wood-fence-stain-calculator.json",
  "inputCount": 3,
  "testCaseCount": 2,
  "sourceCount": 1,
  "lastVerified": "2026-09-06",
  "translations": {
    "es-US": "https://craftquantities.com/es/calculators/renovation-construction/wood-fence-stain-calculator/"
  },
  "citation": {
    "author": "Craft Quantities",
    "title": "Wood Fence Stain Calculator",
    "version": "1.0.1",
    "sourcesChecked": "2026-09-06",
    "url": "https://craftquantities.com/calculators/renovation-construction/wood-fence-stain-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. Wood Fence Stain Calculator. Version 1.0.1. Sources checked 2026-09-06. https://craftquantities.com/calculators/renovation-construction/wood-fence-stain-calculator/",
      "apa": "Craft Quantities. (2026). Wood Fence Stain Calculator (Version 1.0.1) [Web calculator]. Retrieved from https://craftquantities.com/calculators/renovation-construction/wood-fence-stain-calculator/",
      "harvard": "Craft Quantities (2026) Wood Fence Stain Calculator (Version 1.0.1). Available at: https://craftquantities.com/calculators/renovation-construction/wood-fence-stain-calculator/",
      "bibtex": "@misc{craftquantities-calculators-renovation-construction-wood-fence-stain-calculator,\n  author       = {{Craft Quantities}},\n  title        = {Wood Fence Stain Calculator},\n  version      = {1.0.1},\n  year         = {2026},\n  howpublished = {\\url{https://craftquantities.com/calculators/renovation-construction/wood-fence-stain-calculator/}},\n}"
    }
  },
  "inputs": [
    {
      "id": "fenceLength",
      "label": "Fence Length",
      "type": "number",
      "dimension": "length",
      "defaultValue": 30,
      "min": 0.01,
      "max": 500,
      "step": 1,
      "help": "The total length of fence to be stained."
    },
    {
      "id": "fenceHeight",
      "label": "Fence Height",
      "type": "number",
      "dimension": "length",
      "defaultValue": 1.8,
      "min": 0.01,
      "max": 3,
      "step": 0.1,
      "help": "The height of the fence."
    },
    {
      "id": "bothSides",
      "label": "Staining Both Sides?",
      "type": "select",
      "defaultValue": "yes",
      "options": [
        {
          "value": "yes",
          "label": "Yes — both sides"
        },
        {
          "value": "no",
          "label": "No — one side only"
        }
      ],
      "help": "Staining both sides roughly doubles the area to cover."
    }
  ],
  "sources": [
    {
      "label": "Fence stain typically covers approximately 150 sq ft per gallon per coat on rough-sawn wood — lower than smooth deck boards due to picket texture; staining both sides doubles the area"
    }
  ],
  "testCases": [
    {
      "name": "30m fence, 1.8m tall, both sides",
      "inputs": {
        "fenceLength": 30,
        "fenceHeight": 1.8,
        "bothSides": "yes"
      },
      "expected": 8,
      "toleranceDecimalPlaces": 0,
      "unit": "gallons",
      "confidence": "medium",
      "steps": [
        {
          "label": "Total area to stain",
          "value": 1162.50232500465,
          "unit": "sq ft"
        }
      ],
      "basis": "sole-source",
      "sourceIndex": 0
    },
    {
      "name": "50m fence, 1.5m tall, one side",
      "inputs": {
        "fenceLength": 50,
        "fenceHeight": 1.5,
        "bothSides": "no"
      },
      "expected": 6,
      "toleranceDecimalPlaces": 0,
      "unit": "gallons",
      "confidence": "medium",
      "steps": [
        {
          "label": "Total area to stain",
          "value": 807.2932812532291,
          "unit": "sq ft"
        }
      ],
      "basis": "sole-source",
      "sourceIndex": 0
    }
  ]
}
