Shadow Length, Direction & Height Calculator

Project a shadow across level or sloped ground, then work backward from a measured shadow to the object’s height.

Inputs

US displays feet and 12-hour times. Metric displays meters and 24-hour times.

Horizontal distance, for the reverse height estimate.
Positive is uphill in the direction the shadow points.
North is positive.
East is positive.
Use the offset on this date, including daylight saving.

Shadow projection across the ground

Shadow projection over sloping groundThe light ray from the object’s top meets the ground at the shadow tip when a finite intersection exists. OBJECT 15 ftSLOPE 0%CAST 65.7° NESPAN 8.58 ft
Horizontal shadow
8.58 ft
Cast bearing
65.7° NE
Shadow along ground
8.58 ft
Estimated object height
34.98 ft
Sun altitude
60.2°
Sun azimuth
245.7° SW

For reverse height, enter the horizontal distance from the object’s base to the shadow tip.

Location-based hourly sweep
Local timeSun altitudeHorizontal shadowCast bearing
8:00 AM25.6°31.36 ft259.9° W
9:00 AM37°19.89 ft268.8° W
10:00 AM48.5°13.26 ft279.2° W
11:00 AM59.6°8.8 ft293.2° NW
12:00 PM69.1°5.72 ft316.7° NW
1:00 PM73.7°4.39 ft358.5° N
2:00 PM69.6°5.58 ft41.3° NE
3:00 PM60.2°8.58 ft65.7° NE
4:00 PM49.2°12.94 ft80.1° E

How to measure the shadow

On level ground, divide the vertical object height by the tangent of the Sun’s altitude. For a slope, use horizontal length = height ÷ (tan(altitude) + grade), with grade expressed as a decimal uphill in the cast direction. The ground distance is the horizontal length times √(1 + grade²).

The bearing points opposite the Sun. For reverse height, measure from the object’s vertical base to the tip of its shadow. The hourly sweep uses the entered location and date even when the main result uses measured sun angles.

Common questions

When does a downslope give no finite shadow tip?

A surface falling at least as steeply as the light ray never meets that ray in this planar model. A change in grade or a second obstruction can create a real shadow boundary.

Can I use a tape measure along a slope to recover object height?

Convert the taped distance to its horizontal component first. Divide it by √(1 + grade²), where grade is the signed percentage divided by 100.

What happens to shadow direction when the Sun is directly overhead?

A vertical object’s horizontal shadow collapses to its base. The cast bearing and reverse height from a zero-length measurement are undefined.