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
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.
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:
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.
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.