mapbench
Language note: Full AR translation for this tool is not ready yet. Showing the English tool interface. More localized content will be added over time.
Interactive toolSun & Moon

Shadow Length Calculator

Relate sun height in the sky to how long a shadow an object casts — useful for photography and site planning.

✓ No account required✓ Worldwide✓ Shareable results
Tool workspace
Set your inputs, inspect the map and read the result
Loading tool…
Simple workflow

How to use this tool

  1. 1Set location and check solar position (altitude).
  2. 2Use height ÷ tan(altitude) for approximate shadow length when the sun is above the horizon.

Quick answer: Estimate shadow length from object height and solar elevation. Coverage: Worldwide. No account is required.

Shadows follow the sun’s elevation

When the sun is high, shadows shrink; near sunrise and sunset they stretch. For a vertical object on flat ground, length is roughly height divided by the tangent of solar elevation.

Photographers use this to anticipate whether a building or tree will throw shade across a subject. Site planners use it for rough massing studies. Terrain slope and nearby walls still win over pure trigonometry outdoors.

Pair solar position with sunrise and golden-hour tools when the time of day matters as much as the angle.

When this tool is useful

Use Shadow Length Calculator when the question matches the method the page actually uses. Typical workflows include:

  • Answer a one-off question about shadow length and keep the result tied to a visible map or explicit input.
  • Compare two or more scenarios involving sun shadow calculator without creating an account or installing desktop software.
  • Use the output as a planning or teaching reference, then move to an official or specialist source if the result affects legal, safety, engineering or financial decisions.

Worked examples

These examples are meant to show how to interpret this kind of output, not to replace the values produced from your own inputs.

  • Equinox comparison — Calculated day length is about 12h 07m at the Equator and changes with latitude because of solar geometry and the sunrise/sunset convention used.
  • Golden hour — The useful light window changes with latitude, season and local horizon. Treat calculated times as planning guidance, especially around obstructed horizons.
  • Clock time — Solar geometry and civil clock time are different layers. Time zones and daylight-saving rules shift the clock label, not the Sun's position.

How to interpret the result

The most common errors come from using a correct result to answer the wrong geographic question. Keep these points in mind for Shadow Length Calculator:

  • When comparing day length across a year, remember the curve is your latitude's signature: near-equatorial sites hover at twelve hours while high latitudes swing wildly. Choose expectations by latitude, not by calendar folklore.
  • Convert solar times to local clock times deliberately: the sun keeps astronomical time, while governments keep political time, and the gap between them is large in many countries. State both when sharing results.

Limits & appropriate use

Solar arithmetic's limits are small but real: the official zenith encodes average refraction, not today's atmosphere; coordinates are rounded to your input's precision; and terrain is absent unless you add height yourself — a mountain rises the sun late and the formulas won't know. Time adds the political layer: zones and DST are human law, and western edges of big zones (Spain, western China) make solar noon wander hours from clock noon. Every output here therefore carries its convention and both clocks, because an unanchored sunrise time is an argument, not a fact.

Lunar and seasonal outputs carry their own gentle limits: phase from the synodic approximation is hours-precise, which outruns every planning need but not ephemeris science; day length is geometric daylight, not sunshine, and clouds belong to climate's department. Escalation is rare and well-defined — astronomical almanacs and ephemerides for science, terrain-aware apps for mountain photography, and the tz database maintainers whenever a government invents a new DST rule at 48 hours' notice, as they delight in doing.

  • Science-grade ephemerides → astronomical almanacs/JPL horizons.
  • Mountain sunrise/sunset → terrain-aware horizon adjustments.
  • Legal daylight definitions → jurisdictional statutes (they vary!).

Data & methodology

Solar elevation from position algorithms; shadow length from basic trigonometry on flat ground. Solar times use the NOAA algorithm with the 90.833° official zenith; lunar phase uses the synodic cycle. Timezone geometry comes from the open tz database resolved locally in your browser.

For source details, licences and model limitations, see Data Sources and Methodology.

Key terms worth knowing

Civil twilight
Sun between 0° and −6°: usable outdoor light without lamps.
Synodic month
The 29.53-day new-moon-to-new-moon cycle behind phases.

Related tools

If this page answers only part of your question, these tools use a nearby but different method or dataset.

Editorial guidance: MapBench explains the method and limitations so the tool can be used as a transparent reference, not as a black-box answer. For legal boundaries, safety-critical routing, surveying, engineering, regulated decisions or official statistics, verify the result with the responsible authority or a qualified professional.

Category: Sun & Moon. Results are intended for everyday analysis and planning unless a page explicitly states otherwise.

Common questions

Frequently asked questions

Clear answers about the calculation, accuracy and appropriate use.

Exact physics?

Shadow length ≈ height / tan(solar elevation). Use solar position for elevation angle at your place and time.

Flat ground?

Assumes level ground; slopes change real shadow length.

Data & privacy
  • ✓ Browser-first processing where supported
  • ✓ External data sources are documented
  • ✓ No account required for public tools
  • ✓ Data sources and privacy policy
Category
Sun & Moon

Sunrise, sunset and day length.

Browse all Sun & Moon →