SunCalc Shadow Calculator Tutorial: How to Chronolocate Photos and Video Evidence
A masterclass in solar chronolocation: calculating sun azimuths, shadow lengths, and exact time-of-capture using SunCalc and open-source astronomical ephemeris tools.
When breaking news footage, protest clashes, or military missile strikes appear on social media, bad actors frequently misrepresent archival footage as recent events or claim morning strikes occurred in the dead of night. While digital files can be stripped of EXIF timestamps, the physics of our solar system cannot be forged. If a photograph contains visible sun shadows cast by vertical structures, an investigator can pinpoint the exact time of day to within five minutes.
The premier open-source tool for calculating solar geometry is SunCalc (suncalc.org), alongside client-side astronomical calculators like Dawat’s Solar Chronolocator. This step-by-step tutorial teaches you how to calibrate true north, measure shadow azimuth rays, and solve for capture timestamps.
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β ASTRONOMICAL CHRONOLOCATION VECTOR GEOMETRY β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β SUN POSITION (Azimuth ΞΈ, Elevation Ξ±) β
β \ β
β \ β
β \ Ray of Sunlight β
β \ β
β βΌ β
β [Vertical Pole / Wall (Height H)] β
β β β
β Shadow Vector (Azimuth + 180Β°) β β
β ββββββββββββββββββββββββββββββββββββββββ΄ββ Ground Plane β
β Shadow Length (L) β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
1. Deconstructing the SunCalc Interface
When you open suncalc.org, you are presented with a map overlay featuring colored rays radiating from a central pin:
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β SUNCALC VISUAL RAY LEGEND β
ββββββββββββββββββββββ¬βββββββββββββββββββββ¬βββββββββββββββββββββββββββββββ€
β RAY COLOR β ASTRONOMICAL MEANINGβ INVESTIGATIVE FUNCTION β
ββββββββββββββββββββββΌβββββββββββββββββββββΌβββββββββββββββββββββββββββββββ€
β Thick Orange Line β Current Sun Azimuthβ Points in direction of sun β
β β β at the selected time slider β
ββββββββββββββββββββββΌβββββββββββββββββββββΌβββββββββββββββββββββββββββββββ€
β Thin Black Line β Shadow Direction β Points in EXACT direction β
β β (Direct Opposite) β shadows will fall on ground β
ββββββββββββββββββββββΌβββββββββββββββββββββΌβββββββββββββββββββββββββββββββ€
β Yellow Curve β Daylight Sun Arc β Shows 24-hour solar path β
β β β across the sky on that date β
ββββββββββββββββββββββΌβββββββββββββββββββββΌβββββββββββββββββββββββββββββββ€
β Golden / Red Rays β Sunrise / Sunset β Pinpoints dawn/dusk azimuths β
ββββββββββββββββββββββ΄βββββββββββββββββββββ΄βββββββββββββββββββββββββββββββ
[!IMPORTANT] The single most common mistake in amateur chronolocation is confusing the Sun Direction (Orange Line) with the Shadow Direction (Black Line). Shadows always point 180 degrees away from the sun:
$$\text{Azimuth}{\text{shadow}} = (\text{Azimuth} + 180^\circ) \bmod 360^\circ$$}
2. Step-by-Step Chronolocation Workflow
Simulate Solar Shadows in Local Browser Memory
Calculate solar altitude, azimuth angles, and verify capture timestamps without transmitting coordinates or evidence images to any cloud server.
Launch Solar ChronolocatorStep 1: Geolocate the Exact Ground Coordinates
Before you can determine the time, you must know the exact location. Identify the scene using satellite imagery (Google Earth, Bing Maps, or Sentinel Hub) and lock down the decimal latitude and longitude (e.g., 36.7538, 3.0588).
Step 2: Establish True North Calibration
Find a permanent vertical reference object in the photo that is also visible on satellite maps: - A light pole or flagpole. - The corner of a flat-roofed rectangular building. - A street curb running parallel to the scene.
Align the satellite view so that True North is oriented straight up ($0^\circ$).
Step 3: Measure the Shadow Vector Angle
Measure the angle of the cast shadow relative to True North using a digital protractor or QGIS line measurement tool: - If a flagpole shadow points toward the northeast at $45^\circ$, the sun must be shining from the southwest at $45^\circ + 180^\circ = 225^\circ$.
Step 4: Calculate the Object-to-Shadow Height Ratio
Measure the vertical height of the object ($H$) and the horizontal length of the cast shadow on flat ground ($L$). The solar elevation angle ($\alpha$) is calculated via basic trigonometry:
$$\tan(\alpha) = \frac{H}{L} \implies \alpha = \arctan\left(\frac{H}{L}\right)$$
- If a 10-meter utility pole casts a 10-meter shadow ($H/L = 1.0$), the solar elevation angle is $\arctan(1.0) = 45^\circ$.
- If the shadow is twice as long as the pole ($H/L = 0.5$), the elevation angle is $\arctan(0.5) \approx 26.6^\circ$.
3. The Critical “Time Zone Trap”
The primary pitfall in published investigative reports is time zone desynchronization:
- SunCalc Defaults to Browser Local Time: By default, SunCalc calculates times in the local time zone of the investigator’s computer, not the location being analyzed. If an investigator in New York looks at an event in Kabul, Afghanistan, the default slider displays Eastern Time.
- Daylight Saving Time (DST) Transitions: Check whether the target country observed Daylight Saving Time on the historical date of the event. Many nations (such as Turkey, Russia, and Iraq) abolished seasonal time changes entirely.
- Always Report in Both Local and UTC: When filing an evidentiary report, state both the local solar time and Coordinated Universal Time (UTC) to eliminate cross-border ambiguity.
4. Evidentiary Verification Checklist
Before publishing conclusions based on shadow chronolocation: - Surface Slope Audit: Confirm that the ground where the shadow fell was flat. Shadows falling down a hillside or across stairs distort length measurements and produce false elevation angles. - Verticality Check: Ensure the shadow-casting pole is truly perpendicular ($90^\circ$) to the ground plane, not tilted by wind or collision damage. - Twin-Time Ambiguity (Morning vs. Afternoon): Because the sun passes through identical elevation angles twice each day (once climbing in the morning, once descending in the afternoon), you must use the shadow azimuth ray to eliminate morning/afternoon confusion.
How to Chronolocate Images Using SunCalc Shadow Geometry
A step-by-step tutorial on determining photo capture time from sun shadow angles and solar ephemeris.
- Lock Down Exact Decimal Latitude and Longitude Coordinates: Geolocate scene on satellite maps and record exact coordinates to eliminate spatial ephemeris error.
- Calibrate True North (0 Degrees) Using Satellite Overhead Alignment: Orient overhead aerial view straight up to establish an absolute compass baseline for shadow angle measurement.
- Measure Shadow Azimuth Ray and Calculate Sun Azimuth (Add 180 Degrees): Determine shadow bearing from vertical pole; add 180 degrees (modulo 360) to find the solar azimuth direction.
- Measure Object-to-Shadow Length Ratio to Compute Solar Elevation Angle: Calculate vertical object height H and shadow length L; compute solar elevation angle via arctan(H/L).
- Adjust SunCalc Time Slider to Match Both Azimuth and Elevation Angles: Slide time scrubber on suncalc.org until orange sun ray and elevation angle match measured values.
Frequently Asked Verification Questions
Key technical principles, error traps, and diagnostic standards for investigative researchers.
How do you calculate sun azimuth from a shadow angle?
What is the most common error in SunCalc chronolocation?
Simulate Solar Shadows in Local Browser Memory
Calculate solar altitude, azimuth angles, and verify capture timestamps without transmitting coordinates or evidence images to any cloud server.
About the Contributor
The Dawat Geospatial Research Desk monitors conflict zones, environmental crimes, and state infrastructure projects using public orbital constellations.
Related Research & Dispatches
Free High-Resolution Satellite Imagery: The Open-Source Investigator's Guide to Orbital Data
How to access, filter, and analyze free sub-meter and multi-spectral satellite imagery from Sentinel-2, Landsa...
Solar Chronolocation: How to Pinpoint Capture Time and Location Using Sun Shadows and Azimuth Angles
A mathematical and practical field guide to solar chronolocation: calculating sun elevation, measuring shadow ...
Sentinel-2 vs Landsat 9: The Geospatial Analyst's Multispectral Band Guide
A technical sensor comparison, spectral wavelength correlation matrix, and band combination manual for Coperni...