☾ Moon Shadow Calculator

Given a shadow's length and a moment in time, find every place on the Moon where that shadow could fall. Made by Kjeld Staps

Observation

Any units; only the ratio matters. Shadow ÷ height = 1.500

Date & time (UTC)

offset 0.0 h
Each preset sets the date, time, and the matching shadow for that landing, so the ring falls on the real landing site (crosshair).
± 12% of the shadow ratio
Globe shows the Moon as a sphere, the way we see it from Earth. Realistic light shows day and night; Full surface lights every feature so you can see the whole map and where the ring falls.
Possible locations (matching shadow) Sub-solar point (lunar noon) Night side

Result

Sub-solar point (Sun overhead)
…
Required Sun altitude
…
Lunar phase
…
Illuminated fraction
…
Where the shadow could fall
…

Case studies: real Apollo photographs

Click a photo. The calculator jumps to the moment it was taken and draws the ring of possible locations. Notice how the ring passes straight through that mission's real landing site, shown with a crosshair. This is the method checking itself against known history.
Pick a photo above to see the calculator confirm its time and place.

Measure a shadow: see how it works, and why it is hard

This is a hands-on demonstration, not a lie detector. For each built-in photo the tool already knows the correct answer, the Sun's real height at that site and time, and your job is simply to see how close you can get by measuring the shadow by hand. Measuring shadows in a photo is genuinely hard, so expect to be off by several degrees. A miss means the measurement is imprecise, not that the photo is fake. This tool cannot prove or disprove where a photo was taken. Measure best on an upright object on flat, level ground whose shadow runs across the picture, not toward or away from the camera.
Step 1 of 3: click the BASE of an upright object (where it meets the ground).
Object height
…
Shadow length
…
Shadow ÷ height
…
Sun altitude from your measurement
…
Pick a photo, measure a shadow, then draw the band. Your measurement decides the answer, not the tool.
How it reads. The bright ring marks every selenographic location where a vertical object would cast a shadow of exactly the length you entered, at that UTC instant. Because the Moon is (almost) a smooth sphere with no atmosphere, that set is a perfect circle centred on the sub-solar point, at an angular radius equal to the Sun's zenith distance (90° − altitude). Longitude is measured east-positive (IAU convention); the near side faces Earth around 0°, the far side around ±180°.
Accuracy & method
Sun and Moon positions use Meeus' abridged solar and lunar series; the Moon's orientation uses the IAU (WGCCRE) lunar rotation model, including physical librations. Against astropy's independent ephemeris over 3,000 dates spanning 1969 to 2035, the sub-solar point agrees to a maximum of 0.45 km on the surface (RMS 0.16 km), and the lunar position matches to 0.3 arc-seconds. The orientation is independently anchored: the model pole sits 1.54° from the ecliptic pole (the known lunar-equator tilt), and the libration stays within ±7.9° longitude and ±6.8° latitude (the known optical limits). It assumes a spherical Moon, so real local slopes and crater relief can change an individual shadow; that terrain effect, not the astronomy, is the dominant real-world uncertainty. Times are UTC, converted to Terrestrial Time with a ΔT model fitted to observed IERS values.
no atmosphere → no refraction axial tilt only 1.54° sub-solar point moves ~12°/day
How does the Moon Shadow Calculator work?

Think about a sunny day on Earth. A stick standing straight up casts a shadow. When the Sun is low near the horizon, the shadow is long. When the Sun is high overhead, the shadow is short. So the length of a shadow quietly tells you how high the Sun was in the sky.

The exact same thing happens on the Moon. The Sun shines there too, and rocks, flags and landers all cast shadows in the same way. The Moon has no air, so nothing bends or scatters the sunlight. That actually makes lunar shadows cleaner and easier to trust than shadows on Earth.

The calculator turns that simple idea into a location finder, in four steps:

  1. You give it a shadow. You type in how tall an object is and how long its shadow is (or, if you prefer, the Sun's height directly). From those numbers it works out the angle of the Sun above the ground.
  2. You give it a date and time. Using astronomy formulas, it calculates the one spot on the Moon where the Sun was standing straight overhead at that exact moment. That spot is called the sub-solar point. It drifts slowly across the Moon, taking about a month to go all the way around.
  3. It finds every matching place. Here is the key idea: every location where the Sun sits at the same height forms a perfect circle around that overhead spot. Close to the spot the Sun is high and shadows are short; far away the Sun is low and shadows are long. So a single shadow length matches one ring of possible places.
  4. It draws the ring. The tool paints that ring onto the Moon map or globe. Any point on the sunlit part of the ring is a place where your object would cast exactly that shadow, at exactly that time.

Why is this useful? If you have a real photograph taken on the Moon, measure an object and its shadow in it, and know roughly when it was taken, the ring shows you where on the Moon it could have been. And if you already know roughly where a photo was taken, you can run it the other way and check which dates and times actually fit. It is a way to test lunar photographs with plain measurement and mathematics, instead of opinions.

In one line: shadow length tells you the Sun's height, the Sun's height gives you a ring of matching places, and the date and time decide where that ring sits on the Moon.

A word from Kjeld Staps

In July 2024, I started working on this idea with one simple question: could the shadows visible in photographs from the moon be used to calculate where and when those photographs were taken?

The idea was inspired by ShadowFinder for the Earth. I began wondering whether the same principle could be applied to the lunar surface. By calculating the position of the sun relative to the moon, and combining this information with the height of an object and the length of its shadow, it should be possible to identify the locations and times that match a photograph.

I did not begin this project because I wanted to debunk the moon landings. I have always worked under the assumption that they happened. What interested me was whether mathematics, astronomy and software could provide another independent way to examine historical lunar photographs. Not through opinions or theories, but through calculations that can be tested, repeated and verified.

When I first had the idea, I reached out to some of the original creators and contributors behind ShadowFinder for the Earth. I also contacted people within the Bellingcat community to see whether anyone would be interested in helping me explore a version made specifically for the moon.

However, this was a very unusual and specific project. For many people, it was either not useful enough for their own work, too time-consuming, or simply something they did not have the availability to help with. I understood that, but I still believed the idea was worth pursuing. Eventually, I realised that if I wanted to see it become real, I would have to find out how to build it myself.

That was a serious challenge. I am not a developer, mathematician or astronomer. I started with a strong interest in this area and a willingness to learn. I had to understand the formulas, study astronomical coordinate systems, work with ephemeris data, learn how shadows behave on the lunar surface and then find a way to bring all of these separate parts together in Python. From the beginning, I knew that implementing the required calculations and turning them into an open-source tool would be difficult.

There were many moments when I did not know what the next step should be. I had to research, experiment, make mistakes and rebuild parts of the project several times. But every problem I solved brought the original idea closer to becoming something real.

Now, in 2026, the Moon Shadow Calculator is no longer only an idea written down in a document. It has become a working tool that successfully brings together lunar coordinates, the position of the sun, object heights, shadow measurements and historical dates and times. What started as a question in July 2024 has grown into a new method for analysing photographs taken on the moon.

For me, completing this project means much more than building a calculator. It proves that you do not always need to begin as an expert. Sometimes, being deeply interested in a subject, remaining curious and refusing to give up can take you much further than you initially expect.

I have always wanted to add value to the world by creating something that did not exist before. I enjoy exploring questions that have not yet been answered and turning unusual ideas into something practical. The Moon Shadow Calculator represents exactly that. It combines my interest in open-source investigation, astronomy, photography and technology into one project that can now be used by others.

I am grateful to everyone who shared information, answered questions, offered feedback or contributed to the projects that made this work possible. ShadowFinder provided the inspiration and foundation for the original idea, while the wider open-source community made many of the required resources available. This project was a significant challenge, but the information and tools needed to achieve it were out there.

I am proud that I continued, even when I had to work out most of the process myself. The result is something that had not been made before: a tool designed specifically to calculate and study shadows on the moon.

Kjeld Staps
Creator of the Moon Shadow Calculator
Feedback or ideas? Reach me on X/Twitter at @kjeldstaps.