Algorithms for Computing Astronomical Phenomena
Astronomical Applications Dept. Astronomical Applications Dept.
 
Skip navigation

The Astronomical Applications Department frequently receives requests for the formulas or algorithms used to compute times of sunrise, sunset, twilight, moonrise, and moonset. Unfortunately there is no single formula that can be used to accurately predict times of these phenomena over an acceptably wide range of dates and places. The good news, though, is that algorithms to compute times of solar and lunar phenomena have been published in many places and are readily available. Below are a few sources for this information. The U.S. Navy neither endorses nor recommends any product or vendor.

External Links Disclaimer.