Plan your future with our Retirement Budget Calculator

Shadow Length Calculator

Enter your object's height and the sun's elevation angle to calculate shadow length, ratio, hypotenuse, and related geometry.
Loading...
Luis GonzalezCreated by Luis GonzalezLast updated:

How to Use This Calculator

  1. 1

    Enter the Object Height

    Input the vertical height of the object casting the shadow, such as a building, tree, or person.

  2. 2

    Specify the Solar Elevation Angle

    Provide the sun's angle above the horizon in degrees. 0° means the sun is on the horizon, while 90° means it's directly overhead.

  3. 3

    Select your Unit of Measurement

    Choose the desired unit (feet, meters, centimeters, inches, or yards) for all height and length inputs and outputs.

  4. 4

    Review Your Results

    The calculator instantly displays the shadow length, shadow-to-height ratio, diagonal distance, and related angles.

Example Calculation

A homeowner wants to know the shadow cast by a 10-foot tree when the sun is 30 degrees above the horizon to plan garden shade.

Object Height

10 ft

Solar Elevation Angle (°)

30°

Unit of Measurement

Feet (ft)

Results

17.32 ft

Tips

Account for Seasonal Changes

Remember that the solar elevation angle changes significantly throughout the year. For year-round shade planning, re-run the calculation for summer and winter solstice angles at your latitude.

Measure Accurately for Best Results

Ensure your object height is precise. For complex objects like trees, consider measuring to the average canopy height for a more practical shadow estimate, or use a laser rangefinder.

Consider the Sun's Movement

Shadows are longest at sunrise/sunset and shortest at solar noon. Use this calculator for different times of day to understand the full range of shadow movement across a landscape.

The Shadow Length Calculator determines the precise length of a shadow cast by any object based on its height and the sun's elevation angle. This tool is invaluable for architects, landscapers, photographers, and anyone planning outdoor spaces, helping them understand solar geometry and predict shade patterns. For instance, knowing that a 10-foot object casts an approximately 17-foot shadow at a 30° solar elevation can guide optimal placement of trees or solar panels in 2025.

Understanding Solar Elevation and its Impact on Shade

Understanding the solar elevation angle is fundamental because it directly controls the length and direction of shadows, influencing everything from urban microclimates to passive solar building design. A low sun angle, common in early mornings, late afternoons, or winter months, produces long, dramatic shadows. Conversely, a high sun angle, typical around solar noon in summer, results in short, compact shadows. This dynamic affects natural lighting within buildings, the growth patterns of plants in a garden, and the effectiveness of outdoor living spaces.

The Trigonometry Behind Shadow Length Calculations

The calculation of shadow length relies on basic trigonometry, specifically the tangent function. When an object casts a shadow, it forms a right-angled triangle where the object's height is one leg, the shadow length is the adjacent leg, and the solar elevation angle is the angle between the ground and the sun's rays.

The primary formula used is:

shadow length = object height / tan(solar elevation angle)

Here, "object height" is the vertical measurement of the object, and "solar elevation angle" is the angle of the sun above the horizon, expressed in radians for trigonometric functions. The tangent of this angle relates the opposite side (height) to the adjacent side (shadow length).

💡 For a deeper dive into the underlying mathematical principles, our Shadow Length Calculator (Trig) provides a more detailed breakdown of the trigonometric functions involved.

Planning Shade: A Worked Example

Imagine a landscape designer planning a patio area for a client who has a 10-foot tall privacy fence. They want to know the shadow length when the sun is at a moderate 30-degree elevation to ensure sufficient afternoon shade.

  1. Identify the Object Height: The fence is 10 feet tall.
  2. Determine the Solar Elevation Angle: The sun is at 30 degrees.
  3. Apply the Formula:
    • Convert the solar elevation angle to radians: 30° × (π / 180°) ≈ 0.5236 radians.
    • Calculate the tangent of the angle: tan(0.5236) ≈ 0.5774.
    • Divide the object height by the tangent: 10 ft / 0.5774 ≈ 17.32 ft.

The shadow length cast by the 10-foot fence will be approximately 17.32 feet. This allows the designer to strategically place seating or shade structures.

💡 To plan outdoor activities effectively, understanding solar angles is key. Our Sailing Weather Suitability Calculator helps assess broader environmental factors for optimal outdoor enjoyment.

Solar Angle and its Climatic Impact

The solar elevation angle is a primary driver of Earth's climate and local weather patterns. Throughout the year, the sun's angle varies significantly, leading to distinct seasons and influencing the amount of solar radiation reaching the ground. For instance, at the summer solstice in the Northern Hemisphere, the sun can reach elevation angles above 70° in mid-latitudes, delivering intense solar energy that contributes to higher temperatures and longer daylight hours. Conversely, during the winter solstice, angles can drop below 30°, resulting in weaker solar heating and shorter, cooler days. This variation affects everything from agricultural cycles and plant growth to the energy efficiency of buildings. In urban environments, tall buildings create extensive shadow networks, impacting pedestrian comfort, solar access for lower floors, and even local wind patterns, a phenomenon studied by urban climatologists.

Ancient Origins of Gnomonics and Shadow Measurement

The practice of measuring shadows, known as gnomonics, has roots tracing back to ancient civilizations, serving as a fundamental method for timekeeping, astronomy, and surveying long before mechanical clocks or advanced instruments existed. The earliest known gnomons, simple vertical sticks used to cast shadows, appeared in ancient Egypt and Mesopotamia around 3500 BCE. These rudimentary sundials, often called shadow clocks, allowed people to track the passage of time throughout the day and year by observing the length and direction of a shadow. Greek mathematicians like Anaximander (c. 610–546 BCE) and Eratosthenes (c. 276–195 BCE) further refined gnomonics. Eratosthenes famously used shadow lengths at different locations to accurately estimate the Earth's circumference, demonstrating the profound scientific insights derived from this seemingly simple measurement. The principles developed in antiquity continue to underpin modern solar geometry and architectural design.

Frequently Asked Questions

What is the solar elevation angle and why is it important for shadow length?

The solar elevation angle is the angle of the sun above the horizon, with 0° at the horizon and 90° directly overhead. This angle is crucial because it directly dictates how long an object's shadow will be; a lower sun angle creates a longer shadow, while a higher angle results in a shorter shadow. Understanding this helps predict shade patterns for architecture, gardening, or solar panel placement.

How does latitude affect solar elevation and shadow length?

Latitude significantly impacts the solar elevation angle, especially seasonally. Locations closer to the equator experience higher average solar angles, leading to shorter shadows year-round, while higher latitudes have lower angles and longer shadows, particularly in winter. For instance, at 40° N latitude, the summer solstice noon sun is around 73.5°, while the winter solstice noon sun is only about 26.5°.

What is the zenith angle and how does it relate to solar elevation?

The zenith angle is the angle between the sun's rays and the vertical direction (directly overhead, or zenith). It is simply 90° minus the solar elevation angle. A lower zenith angle means the sun is higher in the sky, and shadows will be shorter. Architects and solar engineers often use the zenith angle to optimize building design and solar energy systems.