{
  "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": "outdoor-string-light-calculator",
  "category": "electrical",
  "title": "Outdoor String Light Calculator",
  "description": "Estimate the total string light length and bulb count needed for a patio or backyard space.",
  "url": "https://craftquantities.com/calculators/electrical/outdoor-string-light-calculator/",
  "json": "https://craftquantities.com/api/v1/calculators/outdoor-string-light-calculator.json",
  "inputCount": 2,
  "testCaseCount": 2,
  "sourceCount": 1,
  "lastVerified": "2026-09-02",
  "citation": {
    "author": "Craft Quantities",
    "title": "Outdoor String Light Calculator",
    "version": "1.1.1",
    "sourcesChecked": "2026-09-02",
    "url": "https://craftquantities.com/calculators/electrical/outdoor-string-light-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. Outdoor String Light Calculator. Version 1.1.1. Sources checked 2026-09-02. https://craftquantities.com/calculators/electrical/outdoor-string-light-calculator/",
      "apa": "Craft Quantities. (2026). Outdoor String Light Calculator (Version 1.1.1) [Web calculator]. Retrieved from https://craftquantities.com/calculators/electrical/outdoor-string-light-calculator/",
      "harvard": "Craft Quantities (2026) Outdoor String Light Calculator (Version 1.1.1). Available at: https://craftquantities.com/calculators/electrical/outdoor-string-light-calculator/",
      "bibtex": "@misc{craftquantities-calculators-electrical-outdoor-string-light-calculator,\n  author       = {{Craft Quantities}},\n  title        = {Outdoor String Light Calculator},\n  version      = {1.1.1},\n  year         = {2026},\n  howpublished = {\\url{https://craftquantities.com/calculators/electrical/outdoor-string-light-calculator/}},\n}"
    }
  },
  "inputs": [
    {
      "id": "perimeterLength",
      "label": "Total Run Length",
      "type": "number",
      "dimension": "length",
      "defaultValue": 15,
      "min": 0.01,
      "max": 300,
      "step": 0.5,
      "help": "The straight-line distance the lights will span, end to end."
    },
    {
      "id": "bulbSpacing",
      "label": "Bulb Spacing",
      "type": "number",
      "dimension": "length",
      "defaultValue": 0.3048,
      "min": 0.01,
      "max": 1.5,
      "step": 0.5,
      "help": "The spacing between bulbs on your specific string light product."
    }
  ],
  "sources": [
    {
      "label": "String lights drape with some sag between mounting points, adding roughly 10% beyond a straight-line perimeter measurement"
    }
  ],
  "testCases": [
    {
      "name": "15m run, 1ft bulb spacing",
      "inputs": {
        "perimeterLength": 15,
        "bulbSpacing": 0.3048
      },
      "expected": 54.13,
      "toleranceDecimalPlaces": 2,
      "unit": "linear ft of string lights",
      "confidence": "medium",
      "steps": [
        {
          "label": "Bulb count",
          "value": 55,
          "unit": "bulbs"
        },
        {
          "label": "Whole bulb spacings round the run",
          "value": 54
        },
        {
          "label": "Left over at the last bulb",
          "value": 0.13385826771654052,
          "unit": "ft"
        }
      ],
      "basis": "sole-source",
      "sourceIndex": 0
    },
    {
      "name": "25m run, 1ft bulb spacing",
      "inputs": {
        "perimeterLength": 25,
        "bulbSpacing": 0.3048
      },
      "expected": 90.22,
      "toleranceDecimalPlaces": 2,
      "unit": "linear ft of string lights",
      "confidence": "medium",
      "steps": [
        {
          "label": "Bulb count",
          "value": 91,
          "unit": "bulbs"
        },
        {
          "label": "Whole bulb spacings round the run",
          "value": 90
        },
        {
          "label": "Left over at the last bulb",
          "value": 0.22309711286091272,
          "unit": "ft"
        }
      ],
      "basis": "sole-source",
      "sourceIndex": 0
    }
  ]
}
