geoprimsField-grade geospatial math

Moonrise, moonset, and transit

Moonrise, moonset, and upper transit for a place and local date by the US Naval Observatory's definition, in local time and Zulu, with the dates a rise or set is skipped and the moon's illuminated fraction

the moon rises at 12:59 and sets at 00:35 local time, with 51percent of the disc lit

the moon rises at 12:59 and sets at 00:35 local time, with 51 percent of the disc lit.

Moonrise
Moonset
Upper transit
State
What to know
Illuminated fraction
Provenance
Computed by
time.moon.rise-set 1.0.0, core 0.1.0
Model
The moon's apparent place from ELP 2000-82B sampled every two hours across the local day and interpolated; rise and set where the geocentric zenith distance of the centre reaches 90 degrees 34 minutes plus the semidiameter less the horizontal parallax, which is USNO's definition of the upper limb on the horizon with 34 minutes of refraction; upper transit where the local hour angle reaches zero; every crossing in the local day reported, because the moon's daily retardation of about 50 minutes can give a date two of one kind or none
Accuracy
Within 1 minute of the US Naval Observatory at every one of 1,361 events: 500 places and UTC dates from 1995 to 2045, among them 29 days the moon never rises or sets and 32 the daily retardation leaves without a rise or without a set
Reference data
version 2026d of a reference dataset
Notes
None
Cites
Bureau des Longitudes, distributed by CDS Strasbourg, ELP 2000-82B lunar theory (Chapront-Touze and Chapront), VizieR catalog VI/79; US Naval Observatory, Astronomical Applications Department, Rise, Set, and Twilight Definitions; International Earth Rotation and Reference Systems Service (Petit and Luzum, eds.), IERS Conventions (2010), IERS Technical Note 36, Chapter 5; US Naval Observatory, Astronomical Applications Department, USNO Astronomical Applications API (rise, set, and twilight; moon phases)

Something look off?

Your values

Showing an example. Change anything.
More options 1
Run many at once from a CSV

Loading…

NESWset 06:40rise 19:2046°Moon solid, sun dashed · 52% lit
How we got thisFormula, worked example, sources, and proof

Model: The moon's apparent place from ELP 2000-82B sampled every two hours across the local day and interpolated; rise and set where the geocentric zenith distance of the centre reaches 90 degrees 34 minutes plus the semidiameter less the horizontal parallax, which is USNO's definition of the upper limb on the horizon with 34 minutes of refraction; upper transit where the local hour angle reaches zero; every crossing in the local day reported, because the moon's daily retardation of about 50 minutes can give a date two of one kind or none

Show your work

  1. The moon's place through the day

    ELP 2000-82B sampled every two hours and interpolated

    2026-06-21 local, 16 samples = declination -5.44 to 2.09 degrees

  2. The horizon that counts

    USNO: 90 deg 34' of zenith distance, plus the semidiameter, less the parallax

    parallax about 57.1 arcmin = the centre at about 0.13 degrees of geocentric altitude

  3. The crossings in the local day

    Every sign change of that criterion, bisected

    1 rise(s), 1 set(s) = the moon rises at 12:59 and sets at 00:35 local time, with 51 percent of the disc lit

The same steps an agent gets from the MCP server with explain: true.

Accuracy: Within 1 minute of the US Naval Observatory at every one of 1,361 events: 500 places and UTC dates from 1995 to 2045, among them 29 days the moon never rises or sets and 32 the daily retardation leaves without a rise or without a set

When to use this: Use this to plan around moonlight: a night flight, a survey, a watch, a shoot, or an evening walk. Enter the place, the local date, and the zone. The tool returns moonrise, moonset, and the moon's highest point in both local time and Zulu, how much of the disc is lit, and whether the date skips a rise or a set.

Limitations: The times are for a level horizon at sea level: hills and buildings move them by minutes, and refraction at the horizon varies with the weather, so a minute of disagreement with another source is normal. Inside the polar circles the moon can stay up or down all day, which the result states rather than inventing a time. A zone name is resolved from the tzdb copy shipped with the tool.

Worked example: Denver on the June solstice, 2026 (MDT). Source: USNO rstt/oneday for 2026-06-21 at 39.7392, -104.9903: upper transit 00:20Z, set 06:35Z, rise 18:59Z.

You enter

Local date
2026-06-21
Latitude
39.7392 deg
Longitude
-104.9903 deg
Time zone or UTC offset
America/Denver

You get

The moon's day
the moon rises at 12:59 and sets at 00:35 local time, with 51 percent of the disc lit
Moonrise
2026-06-21 12:59 local (2026-06-21 1859Z)
Moonset
2026-06-21 00:35 local (2026-06-21 0635Z)
Upper transit
2026-06-21 19:03 local (2026-06-22 0103Z)
State
The moon rises and sets on this date
What to know
The moon rises and sets about 50 minutes later each day, so the times move through the clock and some local dates hold two of one event or none.
Illuminated fraction
0.515
Altitude at transit
46.4°
Azimuth at moonrise
92.3°
Azimuth at moonset
271.8°

Review: Not yet independently reviewed by a geodesist.

Last verified: 2026-10-20, when a maintainer last confirmed this tool's sources at the issuer. See the sources ledger.

Status: version 1.0.0, core 0.1.0. See this tool in the verification report.

Changes

Checked against: 26 golden test vectors (download the test vectors, each with its source and tolerance). See how results are checked and every source.

Sources

Terms

IERS: International Earth Rotation and Reference Systems Service
The service that maintains the ITRF and Earth orientation data, and announces leap seconds in Bulletin C. Source: IERS Bulletin C (leap seconds)
TT: Terrestrial Time
The uniform time scale of astronomical ephemerides: TAI plus 32.184 seconds. Source: Espenak and Meeus Delta T polynomials
UT1: Universal Time 1
Time kept by Earth's actual rotation. It drifts against atomic time, and UTC is kept within 0.9 s of it. Source: IERS Bulletin C (leap seconds)
UTC: Coordinated Universal Time
The world's civil time standard, kept within 0.9 s of Earth's rotation by leap seconds. Aviation calls it Zulu time, written with a Z. Source: IERS Bulletin C (leap seconds)