SunCalc: Check Where and When a Photo Was Taken by Shadows
· By Dr. Martin Wyss, WYSS Intelligence
SunCalc is a free map tool that shows where the sun stands for any place, date and time, and the shadows in a photo record exactly that. This guide shows how to read shadows, work out the sun's elevation, test a claimed time and place, find the camera direction and avoid common mistakes.
What is SunCalc and how does it help locate a photo?

SunCalc is a free, map based tool that shows where the sun is in the sky for any place on Earth at any date and time. On the website suncalc.org you choose a spot on a map, set a date and time, and it draws the directions of the sun, sunrise and sunset over the map and lists the sun's elevation and azimuth. The same name is also used for an open source library developers use in their own software. For checking photos, the website is what you want.
Shadows record where the sun was when the shutter clicked. They point away from the sun, and their length compared with the object casting them depends on how high the sun stood. If you suspect where a photo was taken, SunCalc tells you whether the sun could have been in that position at the claimed time. If you know the place and roughly the date, it helps you estimate the time of day and which way the camera pointed.
What the sun cannot do alone is find an unknown place from nothing. It can show the hemisphere, rule out some latitudes and seasons, and confirm or contradict a claim. That makes it a verification tool used next to landmarks, signs and maps, which is how it is used when fact checking where a viral photo was taken.
How to use SunCalc step by step
Open suncalc.org, type an address or place name into the search field, or pan the map and move the marker to where the photographer stood. Precision pays off: with the marker on the right street corner, you can compare the sun's direction directly with the streets and facades on the map.
Set the date in the date field and the time with the time slider. SunCalc works in the local time of the selected place, including daylight saving time where it applies, so enter the time a clock on the spot would have shown. As you move the slider, the sun line swings across the map and the values update.
Lines radiate from the marker for sunrise, sunset and the sun at the selected time, and a curve traces the day's sun path; a colour key explains which is which. The sun line points toward the sun, so shadows run along the same line in the opposite direction.
The data panel below the map lists times such as sunrise, solar noon and sunset, plus the sun's elevation (also called altitude) and azimuth. Azimuth is a compass bearing measured clockwise from north: 90 degrees is east, 180 south, 270 west. The panel also shows the shadow length for an object height you can set, which saves doing the trigonometry by hand.
How to read shadow direction and length in a photo
Pick vertical objects with sharp shadows on flat, level ground: lamp posts, sign poles, fence posts, building corners. You need to see where the object meets the ground and where its shadow ends. Shadows falling across steps, slopes, cars or walls bend and give false readings.
Photos are perspective images, so parallel shadows converge toward a vanishing point like railway tracks. Never measure a shadow's angle against the frame edge. Relate it to something you can find on a map: a kerb, a facade, road markings, a tram line. A note such as "shadows run parallel to the pavement" transfers cleanly to an overhead map.
For length you need a ratio: shadow length divided by object height. Compare only an object and shadow at a similar distance from the camera, ideally with the shadow running across the frame. A shadow pointing at the lens is foreshortened and looks too short. Objects of known size, such as doors, paving slabs or road signs, help you scale.
Write down what you see before opening any tool, with an honest range such as "between 1.1 and 1.5 times the height". This stops you reading into the photo what the tool tells you to expect.
How to work out the sun's elevation from a shadow
For a vertical object on level ground, the tangent of the sun's elevation equals height divided by shadow length. When the shadow is as long as the object is tall, the sun stands at 45 degrees. A shadow twice the height means about 27 degrees, half the height about 63 degrees.
A worked example: a lamp post about 3 metres tall casts a shadow of about 4 metres. Three divided by four is 0.75, and its arctangent is about 37 degrees. If the shadow could be anywhere from 3.5 to 4.5 metres, the elevation lies roughly between 34 and 41 degrees. Compare that range with SunCalc, not a single number.
The reverse is often easier: enter the object's height in SunCalc's shadow field, set the claimed time and compare the predicted length with the photo. At low elevations the sun rises or sinks quickly and shadow length changes fast, so long morning or evening shadows pin down the time well. Around midday the elevation barely changes, and length says little about the exact time.
Hemisphere, latitude and season from the sun
Outside the tropics, the midday sun stands to the south in the northern hemisphere and to the north in the southern hemisphere. Midday shadows therefore point roughly north in Europe, North America and most of Asia, and roughly south in Australia, New Zealand and southern Africa. Between the tropics the noon sun can be north or south depending on the season, and at times almost overhead.
The noon elevation is about 90 degrees minus the difference between latitude and the sun's declination, which swings from about plus 23.4 degrees at the June solstice to minus 23.4 in December. At 50 degrees north, the noon sun stands at roughly 63 degrees in late June, 40 at the equinoxes and 17 in late December.
Since you rarely know a photo was taken exactly at solar noon, use this to exclude possibilities. Long midday shadows in a scene with summer clothing and dense foliage do not fit mid latitudes in summer; very short shadows rule out high latitudes in winter.
The sun also takes the same positions twice a year, on dates symmetrical around a solstice. Early May and early August give almost the same sun path, so shadows that fit August also fit May. Leaves, crops, blossom and clothing separate the two.
How to check a claimed time and place with SunCalc
This is the most common use. Confirm the place with landmarks or street level imagery and set the marker where the camera stood. Enter the claimed date and time. Compare the sun line with the shadow direction relative to streets and facades, then compare the elevation or predicted shadow length with the ratio you measured.
Suppose a photo is said to show a mid latitude European square on a July afternoon, camera pointing east along a street. The afternoon sun is in the west, behind the photographer, so shadows should fall away from the camera. Shadows falling toward the camera put the sun in the east, pointing to morning. If SunCalc gives about 40 degrees elevation, a 3 metre post should cast roughly 3.6 metres of shadow; shadows several times longer mean a much lower sun.
Allow for error: direction estimates can be off by several degrees and ratios by more. A match only means the sun does not contradict the claim. A shadow at right angles to where it should be is a strong signal, a ten degree difference usually noise. Move the slider to find the best fitting time; if it lies hours from the claim, record it as part of a full location checklist for journalists.
Checking a claimed time and place
- Pin the camera position: Place the map marker where the photographer stood.
- Set claimed date and time: Enter the local date and time that the claim gives.
- Compare shadow direction: Check that shadows run opposite the sun line relative to streets and facades.
- Compare shadow length: Compare the predicted shadow for a known object with the ratio in the photo.
- Judge the mismatch: Treat small differences as noise and a far better fitting time as a finding.
How to find which way the camera was facing
Shadows falling toward the lens mean the camera faced roughly into the sun, often with backlit subjects and a bright sky. Shadows falling away mean the sun was behind the photographer. Shadows crossing the frame from left to right mean the sun stood to the left, at roughly a right angle to the camera.
With a known time this becomes a bearing. If SunCalc gives a sun azimuth of 250 degrees and shadows fall straight away from the camera, it pointed roughly toward 70 degrees, east northeast; if they fell toward the camera, toward about 250.
This helps when you know the neighbourhood but not the street, because only streets running the right way can match. A sunlit facade faces within 90 degrees of the sun's azimuth, so lit and shaded walls also reveal how buildings are oriented.
How to estimate the time of day at a known place
When the place is certain, set the date or your best guess, move the slider until the sun line matches the shadow direction, then check the elevation or predicted length. If both agree, you have an estimate. If direction matches but length does not, the date is probably wrong; trying other months shows which season fits.
Elevation alone is ambiguous, since the sun stands equally high before and after solar noon. Direction resolves it: morning sun in the east, afternoon sun in the west.
If the file carries a timestamp, read it with a free EXIF viewer and treat it as one more claim to test. Camera clocks are often wrong or on another time zone. Expect a time window, narrower near sunrise and sunset, wider around midday.
Common mistakes when using sun position to check photos
The most frequent mistake is assuming the sun is highest at 12:00. Time zones and daylight saving shift solar noon, in some places by more than an hour. Use the solar noon value SunCalc lists.
Mirrored images are the second trap. Front cameras often save mirrored pictures, and reposts are sometimes flipped. A mirror turns left into right, so a morning scene can pass for an afternoon one. Text reading backwards on signs, number plates or clothing means every direction must be reversed.
Sloping ground stretches or shortens shadows, wide angle lenses distort objects near the frame edges, leaning poles are not vertical, and cropping can remove the features you need. Check the marker too: in a dense city, moving it across a square changes which buildings could cast the shade you see.
Limits: clouds, reflections, night and edited images
Under overcast skies there are no hard shadows and the method does not apply. Thin cloud may leave faint shadows that show direction but not length. Do not force a conclusion from shadows that are barely there.
Glass towers, water and snow reflect sunlight onto surfaces the sun does not reach, sometimes creating a second set of shadows. Street lamps at dusk and night cast shadows that fan out from a nearby point instead of running parallel; if shadows radiate, the light source is not the sun.
Composites can contain objects lit from different directions, and generated images often have shadows that ignore physics. A sun check cannot validate such images, but inconsistent shadows within one scene are a useful sign of manipulation.
What each sun clue can show
| What it tells you | What you need | Main limit | |
|---|---|---|---|
| Shadow direction | Sun azimuth, camera bearing, time | Mapped street or facade | Perspective and mirroring mislead |
| Shadow to height ratio | Sun elevation, time or season | Vertical object on level ground | Slopes and foreshortening distort length |
| Midday shadow side | Hemisphere outside the tropics | Shadows near solar noon | Unclear between the tropics |
| Sunlit facades | Which way buildings face | Several facades in frame | Reflections add false light |
| Shadow consistency | Possible editing or compositing | Several shadows in one scene | Street lamps cast radiating shadows |
Combining sun analysis with other location methods
Sun analysis works best once the place is known, so the first job is usually finding it. Landmarks are quickest when one is in view, and the guide on how to identify a building from a photo covers that. Signs, script, reverse image search and satellite comparison fill the gaps, and an OSINT geolocation workflow shows how to chain and document these steps.
When you have no idea where a photo was taken, you can upload a photo to LOCATE.photo for a paid estimate. WYSS TERRA LOCATOR works out the location from what is visible, and WYSS TERRA VERIFIER checks that result against the photo before it is shown. Each clue is marked on the photo and the result gives coordinates with a confidence radius, which you can take into SunCalc to test a claimed time. The page on how WYSS TERRA works explains the process; the result is an estimate, not proof, so the sun check stays an independent test.
Whatever the route, record the SunCalc settings, the object measured, the ratio with its range and your tolerance. Anyone repeating your steps should reach the same conclusion, and that is what turns a shadow into evidence.
Frequently Asked Questions
- Is SunCalc free to use?
- Yes. The SunCalc website is a free map tool that runs in the browser, so you can set a place, date and time without installing anything.
- Can SunCalc tell me where a photo was taken?
- Not on its own. It shows the sun position for a place and time you enter, so it can confirm or rule out a claim and indicate the hemisphere. Finding an unknown place needs landmarks, signs, maps or an image based estimate first.
- Does SunCalc use local time or UTC?
- It uses the local time of the selected place, including daylight saving time where it applies. Use the solar noon value it lists rather than assuming the sun is highest at 12:00.
- What do azimuth and elevation mean in SunCalc?
- Azimuth is the sun's compass direction measured clockwise from north. Elevation is how high the sun stands above the horizon. Shadows point opposite the azimuth and their length depends on the elevation.
- How precisely can shadows reveal the time a photo was taken?
- They give a time window, not an exact minute. It is narrower near sunrise and sunset and wider around midday, when the sun's height barely changes.
- Why does SunCalc not match the shadows even though the place is right?
- Common causes are a wrong date or time zone, a mirrored image, sloping ground or a misplaced marker. Check these before concluding the claim is false.