{
  "slug": "solar-noon-shadow-length",
  "title": "Solar Shadow Length Calculator",
  "heading": "Sun Angle & Shadow Length Calculator",
  "category": "other",
  "url": "https://www.revenuelab.fyi/toolbox/solar-noon-shadow-length",
  "summary": "Estimate solar elevation angle and shadow length by latitude, date, and time of day.",
  "description": "Shadow length depends on the sun's elevation angle above the horizon, which changes with your latitude, the date (via solar declination), and time of day relative to solar noon. This calculator uses standard solar position astronomy — computing solar declination from day-of-year, then hour angle from time offset from solar noon, then combining both with your latitude to get elevation angle — the same math behind sundials, solar panel tilt optimization, and architectural shading design. It's a simplified single-point calculation that ignores atmospheric refraction and the equation of time correction, so treat it as accurate to within about 15-20 minutes of true solar timing, good enough for shadow planning, garden layout, and window overhang design.",
  "formula": "Declination δ = 23.45°×sin(360×(284+n)/365); hour angle H = 15°×(hours from solar noon); elevation = asin(sin(lat)sin(δ)+cos(lat)cos(δ)cos(H)); shadow length = object height ÷ tan(elevation).",
  "dateModified": "2026-09-30",
  "run_url": "https://www.revenuelab.fyi/api/public/calc?tool=solar-noon-shadow-length",
  "inputs": [
    {
      "id": "latitude",
      "label": "Latitude",
      "kind": "number",
      "hint": null,
      "default": 40,
      "unit": "°N",
      "min": -66,
      "max": 66
    },
    {
      "id": "dayOfYear",
      "label": "Day of year (1-365)",
      "kind": "number",
      "hint": null,
      "default": 172,
      "unit": null,
      "min": 1,
      "max": 365
    },
    {
      "id": "hoursFromNoon",
      "label": "Hours from solar noon",
      "kind": "number",
      "hint": null,
      "default": 3,
      "unit": null,
      "min": -8,
      "max": 8
    },
    {
      "id": "objectHeight",
      "label": "Object height",
      "kind": "number",
      "hint": null,
      "default": 6,
      "unit": "ft",
      "min": 0.5,
      "max": null
    }
  ],
  "outputs": [
    {
      "id": "shadow",
      "label": "Shadow length (-1 = sun below horizon)",
      "format": "decimal",
      "hint": null,
      "primary": true
    },
    {
      "id": "elevDeg",
      "label": "Sun elevation angle",
      "format": "number",
      "hint": null,
      "primary": false
    },
    {
      "id": "declDeg",
      "label": "Solar declination",
      "format": "number",
      "hint": null,
      "primary": false
    }
  ],
  "worked_example": {
    "inputs": [
      "Latitude: 40 °N",
      "Day of year (1-365): 172",
      "Hours from solar noon: 3",
      "Object height: 6 ft"
    ],
    "outputs": [
      "Shadow length (-1 = sun below horizon): 5.2",
      "Sun elevation angle: 48.8",
      "Solar declination: 23.4"
    ]
  },
  "how_to": {
    "title": "How to use this",
    "steps": [
      "Enter latitude (°N).",
      "Enter day of year (1-365).",
      "Enter hours from solar noon.",
      "Enter object height (ft).",
      "Read your shadow length (-1 = sun below horizon) on the right — it updates as you type.",
      "Hit Share to keep the scenario or send it to someone."
    ]
  },
  "scenarios": [
    {
      "name": "Conservative",
      "description": "Lower-end numbers — what if things land soft?",
      "values": {
        "latitude": 24,
        "dayOfYear": 103,
        "hoursFromNoon": 1.7999999999999998,
        "objectHeight": 3.5999999999999996
      }
    },
    {
      "name": "Typical",
      "description": "Defaults — the most common real-world setup.",
      "values": {
        "latitude": 40,
        "dayOfYear": 172,
        "hoursFromNoon": 3,
        "objectHeight": 6
      }
    },
    {
      "name": "Ambitious",
      "description": "Higher-end numbers — what if things really pop?",
      "values": {
        "latitude": 64,
        "dayOfYear": 275,
        "hoursFromNoon": 4.800000000000001,
        "objectHeight": 9.600000000000001
      }
    }
  ],
  "limitations": [
    "Estimates assume standard, average conditions — local rules, pricing, and materials vary.",
    "Results are rounded for readability; add a buffer before ordering, booking, or committing.",
    "Double-check anything with a real cost attached against a local quote."
  ],
  "faq": [
    {
      "q": "Why does shadow length depend on the date, not just time of day?",
      "a": "Earth's axial tilt changes the sun's maximum elevation angle throughout the year (solar declination), so the same object at solar noon casts a much longer shadow in December than in June at the same latitude — this is also the underlying reason for seasons."
    },
    {
      "q": "How accurate is this compared to a solar position app?",
      "a": "Reasonably close for planning purposes, but it omits the equation of time (a ±15 minute wobble in when true solar noon occurs relative to clock noon) and atmospheric refraction near the horizon, so treat results as approximate rather than survey-grade."
    },
    {
      "q": "Why do I need day-of-year instead of just picking a month?",
      "a": "Solar declination changes continuously and non-linearly through the year, changing fastest near the equinoxes (around day 80 and 266) and slowest near the solstices (day 172 and 355), so a specific day gives meaningfully more accurate results than a monthly average."
    },
    {
      "q": "What is this useful for besides curiosity?",
      "a": "Architects and gardeners use exactly this math to plan roof overhangs that block high summer sun but admit low winter sun, to space rows of plants to avoid shading each other, and to orient solar panels for maximum year-round exposure."
    }
  ],
  "related": [
    "https://www.revenuelab.fyi/toolbox/evapotranspiration-irrigation",
    "https://www.revenuelab.fyi/toolbox/frost-date-growing-window"
  ],
  "license": "CC-BY-4.0",
  "citation": "RevenueLab — Solar Shadow Length Calculator (https://www.revenuelab.fyi/toolbox/solar-noon-shadow-length)"
}