{
  "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": "solar-row-spacing-calculator",
  "category": "solar-energy",
  "title": "Solar Array Row Spacing and Shading Pitch Calculator",
  "description": "How far apart tilted solar rows must sit so one does not shade the next — with the ground coverage ratio that tilt is costing you.",
  "url": "https://craftquantities.com/calculators/solar-energy/solar-row-spacing-calculator/",
  "json": "https://craftquantities.com/api/v1/calculators/solar-row-spacing-calculator.json",
  "inputCount": 4,
  "testCaseCount": 3,
  "sourceCount": 3,
  "lastVerified": "2026-09-23",
  "citation": {
    "author": "Craft Quantities",
    "title": "Solar Array Row Spacing and Shading Pitch Calculator",
    "version": "1.0.0",
    "sourcesChecked": "2026-09-23",
    "url": "https://craftquantities.com/calculators/solar-energy/solar-row-spacing-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. Solar Array Row Spacing and Shading Pitch Calculator. Version 1.0.0. Sources checked 2026-09-23. https://craftquantities.com/calculators/solar-energy/solar-row-spacing-calculator/",
      "apa": "Craft Quantities. (2026). Solar Array Row Spacing and Shading Pitch Calculator (Version 1.0.0) [Web calculator]. Retrieved from https://craftquantities.com/calculators/solar-energy/solar-row-spacing-calculator/",
      "harvard": "Craft Quantities (2026) Solar Array Row Spacing and Shading Pitch Calculator (Version 1.0.0). Available at: https://craftquantities.com/calculators/solar-energy/solar-row-spacing-calculator/",
      "bibtex": "@misc{craftquantities-calculators-solar-energy-solar-row-spacing-calculator,\n  author       = {{Craft Quantities}},\n  title        = {Solar Array Row Spacing and Shading Pitch Calculator},\n  version      = {1.0.0},\n  year         = {2026},\n  howpublished = {\\url{https://craftquantities.com/calculators/solar-energy/solar-row-spacing-calculator/}},\n}"
    }
  },
  "inputs": [
    {
      "id": "panelLength",
      "label": "Panel length up the slope",
      "type": "number",
      "dimension": "length",
      "defaultValue": 2,
      "min": 0.5,
      "max": 5,
      "step": 0.05,
      "help": "The panel dimension running up the tilt, not across it."
    },
    {
      "id": "tiltAngle",
      "label": "Tilt from horizontal",
      "type": "number",
      "defaultValue": 30,
      "min": 0,
      "max": 60,
      "step": 1,
      "help": "Degrees. This is the figure the whole trade-off turns on."
    },
    {
      "id": "sunAltitude",
      "label": "Design sun altitude",
      "type": "number",
      "defaultValue": 20,
      "min": 3,
      "max": 60,
      "step": 1,
      "help": "Degrees above the horizon at the worst moment you will accept."
    },
    {
      "id": "availableDepth",
      "label": "Depth available for rows",
      "type": "number",
      "dimension": "length",
      "defaultValue": 20,
      "min": 1,
      "max": 500,
      "step": 1,
      "help": "Front of the first row to the back boundary."
    }
  ],
  "sources": [
    {
      "label": "Geometry: a panel of slope length L at tilt β stands L·sin β high and occupies L·cos β of ground, so at sun altitude α its shadow reaches (L·sin β)/tan α behind it and the row pitch is the sum of the two"
    },
    {
      "label": "The usual design criterion is no row-to-row shading between 9 am and 3 pm on the winter solstice, which is when the sun is lowest in the working day"
    },
    {
      "label": "Ground coverage ratio is the panel footprint divided by the row pitch — the share of the site that is under panel, and the direct cost of tilting further"
    }
  ],
  "testCases": [
    {
      "name": "2 m panel at 30°, sun at 20°",
      "inputs": {
        "panelLength": 2,
        "tiltAngle": 30,
        "sunAltitude": 20,
        "availableDepth": 20
      },
      "expected": 14.697,
      "toleranceDecimalPlaces": 2,
      "unit": "ft",
      "confidence": "medium",
      "steps": [
        {
          "label": "Clear gap behind each row",
          "value": 9.014033528394428,
          "unit": "ft"
        },
        {
          "label": "Ground the panel occupies",
          "value": 5.682581389661671,
          "unit": "ft"
        },
        {
          "label": "Height the row stands",
          "value": 3.280839895013123,
          "unit": "ft"
        },
        {
          "label": "Ground coverage ratio",
          "value": 38.665920154716126,
          "unit": "%"
        },
        {
          "label": "Rows that fit the depth",
          "value": 5,
          "unit": "rows"
        }
      ],
      "basis": "cited",
      "sourceIndex": 0
    },
    {
      "name": "Laying it flatter packs the rows closer",
      "inputs": {
        "panelLength": 2,
        "tiltAngle": 15,
        "sunAltitude": 20,
        "availableDepth": 20
      },
      "expected": 11.004,
      "toleranceDecimalPlaces": 2,
      "unit": "ft",
      "confidence": "medium",
      "steps": [
        {
          "label": "Clear gap behind each row",
          "value": 4.666007100682305,
          "unit": "ft"
        },
        {
          "label": "Ground the panel occupies",
          "value": 6.338095973025382,
          "unit": "ft"
        },
        {
          "label": "Height the row stands",
          "value": 1.6982876975231018,
          "unit": "ft"
        },
        {
          "label": "Ground coverage ratio",
          "value": 57.597570020669075,
          "unit": "%"
        },
        {
          "label": "Rows that fit the depth",
          "value": 6,
          "unit": "rows"
        }
      ],
      "basis": "cited",
      "sourceIndex": 2
    },
    {
      "name": "A lower sun pushes them apart fast",
      "inputs": {
        "panelLength": 2,
        "tiltAngle": 30,
        "sunAltitude": 10,
        "availableDepth": 20
      },
      "expected": 24.289,
      "toleranceDecimalPlaces": 2,
      "unit": "ft",
      "confidence": "medium",
      "steps": [
        {
          "label": "Clear gap behind each row",
          "value": 18.6065676496644,
          "unit": "ft"
        },
        {
          "label": "Ground the panel occupies",
          "value": 5.682581389661671,
          "unit": "ft"
        },
        {
          "label": "Height the row stands",
          "value": 3.280839895013123,
          "unit": "ft"
        },
        {
          "label": "Ground coverage ratio",
          "value": 23.3955556881022,
          "unit": "%"
        },
        {
          "label": "Rows that fit the depth",
          "value": 3,
          "unit": "rows"
        }
      ],
      "basis": "cited",
      "sourceIndex": 1
    }
  ]
}
