Solar guide · Shadow calculation table

Estimating Shadow Direction from Solar Angles

Learn how to reverse solar azimuth for shadow direction and use solar altitude for a simple level-ground shadow-length estimate.

Published
Updated

A sun-facing object casts its shadow away from the Sun. On a compass plan, the first estimate is therefore simple: add 180° to solar azimuth and wrap the result back into the 0–360° range. If the Sun is at 70°, the level-plan shadow bearing is approximately 250°.

Length needs another assumption. For a vertical object on level ground, the shadow-length-to-height ratio is 1 ÷ tan(solar altitude). This idealized relationship is useful for scale intuition, but a real result changes with sloped ground, tilted objects, irregular shapes, diffuse light, and intervening obstructions.

Reverse the bearing, then check altitude

To reverse a solar bearing, add 180°. If the result is 360° or more, subtract 360°. The direction is meaningful for direct sunlight only when the Sun is above the horizon and reaches the object without being blocked.

Altitude controls the theoretical length. At 45°, the level-ground shadow of a vertical object is approximately the same length as the object’s height. Below 45° the ratio grows; above 45° it shrinks. As altitude approaches zero, the ideal ratio becomes extremely large and increasingly sensitive to terrain and skyline assumptions.

Keep the geometric model explicit

A shadow estimate needs an object height, a receiver plane, and a solar position for a particular instant. Without those definitions, a direction arrow can be useful but a claimed length is not reproducible.

This guide reports a dimensionless ratio. Multiply it by the object height only when the object is vertical and the receiving ground is approximately level. More complex cases require three-dimensional geometry or site measurement.

Shadow calculation table

Perth two-metre shadow direction test

A two-metre vertical object in Perth is evaluated every two hours from 08:00 to 16:00 on 20 March 2026. Shadow bearing is (solar azimuth + 180) mod 360; theoretical length is object height divided by tan(solar altitude). No length is emitted when altitude is at or below 0°.

Direction

shadow bearing = (azimuth + 180) mod 360

Length on level ground

length = 2 m / tan(altitude)

Perth theoretical shadow direction and length table for a two-metre object
Local timeSolar directionAltitudeShadow directionShadow lengthState
2026-03-20 08:0077.2° East20.3°257.2° West5.41 mCalculated on level ground
2026-03-20 10:0054.5° North-east43.5°234.4° South-west2.11 mCalculated on level ground
2026-03-20 12:0011.6° North57.9°191.6° South1.26 mCalculated on level ground
2026-03-20 14:00319.8° North-west51.2°139.8° South-east1.61 mCalculated on level ground
2026-03-20 16:00290.9° West30.2°110.9° East3.44 mCalculated on level ground

This result assumes a vertical object and level ground. Slope, object shape, diffuse light, terrain, and obstructions can change the visible shadow. It is a geometry estimate, not a surveyed shadow diagram.

Download the evidence dataset

Perth equinox bearings and theoretical shadow lengths for a two-metre vertical object from 08:00 to 16:00. The UTF-8 CSV uses a fixed column order and contains calculated values only.

Apply the ratio carefully

For an ideal 2 m vertical post, a displayed ratio of 1.5 implies a 3 m shadow on level ground. Mark that bearing and distance on a plan, then check whether a wall, slope, canopy, or different receiving surface changes the geometry.

For buildings or compliance work, use surveyed dimensions and an appropriate three-dimensional or professional shading analysis. This simplified construction is best used for first-pass reasoning and field-observation planning.

  • Shadow bearing = normalized solar azimuth + 180°.
  • Level-ground shadow length = object height ÷ tan(solar altitude).
  • Do not calculate a direct-sun length when altitude is at or below 0°.

Responsible use

Practical uses and model limits

Useful for

  • Estimating which side of an object will be shaded at a selected time.
  • Choosing field-measurement times when shadows are long enough to observe clearly.
  • Checking whether a simple plan sketch is directionally consistent with the solar bearing.

Do not overlook

  • The ratio assumes a vertical object, level receiver, direct sunlight, and no obstruction between Sun and object.
  • Slopes, facade projections, complex roofs, penumbra, diffuse sky light, and reflected light require a more complete model.
  • This is not a substitute for surveyed shadow diagrams, development-approval evidence, or safety-critical engineering.

Sources and reproducibility

Evidence and calculation sources

  • NOAA Solar Calculation Details

    Independent background on solar azimuth and elevation conventions; NOAA does not endorse this site.

  • SunCalc

    Solar position and astronomical event calculations used by this site.

  • Luxon

    IANA timezone-aware conversion between the selected local time and UTC.

  • Solar Path Tracker methodology

    Definitions, angle normalization, polar handling, precision, and model limits.