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 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?
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
The moon's place through the day
ELP 2000-82B sampled every two hours and interpolated2026-06-21 local, 16 samples= declination -5.44 to 2.09 degreesThe horizon that counts
USNO: 90 deg 34' of zenith distance, plus the semidiameter, less the parallaxparallax about 57.1 arcmin= the centre at about 0.13 degrees of geocentric altitudeThe crossings in the local day
Every sign change of that criterion, bisected1 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
- 2026-11-06, changed: Eight marine and celestial tools are now stable: sextant altitude corrections, sight reduction, set and drift, plane sailing, tide datum conversion, tide prediction, the moon's position, and moonrise and moonset. Nothing they compute changed. Each was already checked against a published source rather than against itself: Bowditch's own worked examples for the sights, the sailings, and the current triangle, NOAA's published tide predictions and station datums for the tides, and the US Naval Observatory's computed data for the moon. What the stable mark adds is that the build now holds them to the whole bar on each commit. Their pages no longer carry the experimental warning. The navigation MCP toolset grows to 37 tools, still under its cap. Changelog
- 2026-10-28, changed: Two drawings and two explainers for the celestial and moon tools. The sextant altitude corrections now draw as the work form a navigator writes down the margin: the altitude read off the arc at the top, each correction stepping it left or right by its own size to scale, and the observed altitude at the bottom. Moonrise and moonset now draw a sky plot with the moon's path and the sun's behind it, north up and the horizon at the rim, with rise and set marked where the moon crosses it; the tool returns both paths for the day to make that possible. Two new explainers: how a sextant sight becomes a line of position, and how much light the moon will give you, which covers why a half moon is far dimmer than half as bright and why a calendar date can hold two moonrises or none. Changelog
- 2026-10-28, added: Three new experimental tools, a moon group in Time. Moonrise, moonset, and the moon's highest point for a place and local date, by the US Naval Observatory's own definition of the upper limb on the horizon, in local time and Zulu, with the dates the moon's daily retardation leaves without a rise or without a set named along with the times either side, and the polar days it never rises or sets at all. Where the moon is in the sky at an instant, as seen from the ground rather than from the centre of the Earth, with its distance, parallax, and apparent size. And how much of the disc is lit, how old the moon is, and when the next new moon, first quarter, full moon, and last quarter fall. Checked against USNO at 1,361 rise, set, and transit times over 500 places and dates and at all 208 of its published phase instants, every one within a minute. Changelog
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
- ELP 2000-82B lunar theory (Chapront-Touze and Chapront), VizieR catalog VI/79, Bureau des Longitudes, distributed by CDS Strasbourg, ELP 2000-82B, series ELP1 to ELP3 (main problem), VizieR VI/79. The main-problem series for longitude, latitude, and distance, as elp82b.f evaluates them.
- Rise, Set, and Twilight Definitions, US Naval Observatory, Astronomical Applications Department, Current web edition. Moonrise and moonset: the geocentric zenith distance of the moon's centre is 90 degrees 34 minutes plus its semidiameter less its horizontal parallax.
- IERS Conventions (2010), IERS Technical Note 36, Chapter 5, International Earth Rotation and Reference Systems Service (Petit and Luzum, eds.), Technical Note 36, chapter 5 of 10 August 2012, with Tables 5.2e, 5.3a, and 5.3b. Equations 5.15 (ERA), 5.32 (GMST), 5.39 and 5.40 (Fukushima-Williams precession angles); Tables 5.3a and 5.3b (IAU 2000A nutation). Read free.
- USNO Astronomical Applications API (rise, set, and twilight; moon phases), US Naval Observatory, Astronomical Applications Department, API 4.0.1, rstt/oneday and moon/phases endpoints. Rise, set, and upper transit of the moon for a place and date, and the instants of the moon's phases.
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)
Learn the concept: How much light the moon will give you