About SunMoonCalc

What SunMoonCalc computes, how every figure is derived from published astronomy, where the numbers come from, what this site is not, and how it is corrected.

What SunMoonCalc is

SunMoonCalc is a set of astronomy calculators: sunrise and sunset for any date and location, golden hour and the three twilights around it, the moon phase for today and any other date, moonrise and moonset, the meteor shower calendar, and a set of city pages such as London, Chicago and Tokyo for people who want the answer without typing the coordinates in.

Every calculator runs in your browser. There is no account, no sign-up and no paywall, and the figures are produced on your own device rather than looked up on a server.

Why it exists

Most astronomy sites hand you a single number with no way to check it. That is fine for a quick glance, and useless when the number goes on a permit, a filming schedule or a plan that depends on the light being there.

So each tool here shows the formula it used, names the reference the formula comes from, and prints the intermediate values β€” declination, hour angle, altitude, illuminated fraction β€” instead of only the final time. If the answer looks wrong, you can find out why rather than being told to trust it.

How the numbers are produced

Solar positions come from the standard low-precision solar equations published by NOAA: the declination for the date, the hour angle at which the upper limb touches the 90.833Β° zenith (which folds in atmospheric refraction and the apparent radius of the sun), and your longitude converted to local clock time. Lunar phase figures use the published synodic-month and phase-fraction relationships. The yearly moon calendars and the meteor shower list use the same reference material.

Times are shown in the civil time of the time zone you select, and daylight saving is handled by the time zone rules rather than a fixed offset, so a date in the middle of a daylight-saving change is calculated day by day rather than shifted by a constant.

Typical accuracy

FigureTypical accuracyWhere it is weakest
Sunrise, sunset, solar noonwithin about a minutehigh latitudes, and dates near the seasonal extremes
Golden hour and twilight timeswithin a couple of minutesthe same, because the boundaries themselves are gradual
Moonrise, moonsetwithin a few minutesthe days around new moon, when the answer is near-meaningless anyway
Moon phase and illuminationa fraction of a percentnowhere in particular; this is the most reliable figure on the site

What this site does not do

Who maintains it

SunMoonCalc is run by an independent developer. It is not a company, an observatory, an astronomical society or a licensed surveying practice, and nobody here holds a professional credential that is being used to lend these numbers authority. The site exists because the calculations are worth publishing plainly.

Figures change when the underlying reference or the method changes, and each page carries the date its figures were last checked. The editorial policy sets out exactly how that check is done, and contact is the fastest way to report something that looks wrong.

References and figures last reviewed: 28 October 2026.

Keep exploring the sky

Have a suggestion?

Missing a feature or found something off? Tell us β€” user suggestions decide what we build next.