Moon Phase Software

Tools & method

Moon position calculation methods

A Moon position for an observer needs more than a date. The calculator combines an exact UTC instant with latitude and longitude, then transforms the modeled lunar state into topocentric equatorial and local horizontal coordinates.

This method hub separates coordinate-reference effects from horizon-event rules. Geocentric and topocentric values differ because an observer is displaced from Earth's center. Moonrise and moonset add a horizon definition and standard atmospheric refraction, so they cannot be inferred from a rounded altitude alone.

How this calculation is divided

The observer is modeled at sea level at the supplied coordinates. Topocentric right ascension, declination, and distance include lunar parallax as well as the engine's light-time and aberration options. Those coordinates are rotated to true-north azimuth and geometric altitude for the selected instant.

The page also exposes a normally refracted altitude where the library model is applicable and searches forward for rise, set, and upper transit. Event searches are bounded to 40 days and can return no event, especially for challenging high-latitude geometry.

Two technical guides

Scope boundaries

Use the working calculation

Open the Moon Position Calculator to evaluate another exact instant with the production logic described here. For the shared time model, accuracy policy, and supported era, return to the methodology overview. The implementation and independent references are listed on the sources page.