Stardate Moon Phase Calculator

Stardate Moon Phase Calculator

Enter any date and time and this tool finds the Moon phase, its illuminated fraction, the age of the Moon in days, and how long until the next Full Moon and New Moon. It also prints a fun Star-Trek Next Generation style stardate so you can log the sky like a starship officer.

🚀Quick Date Presets

📅Date, Time and Location Inputs

The civil date you want the Moon phase for.

Local clock time; the Moon age shifts slightly through the day.

Example: New York is -5, London 0, Tokyo +9. Used to convert to UTC.

Flips which limb of the Moon appears lit in the glyph and notes.

A known New Moon epoch. Default is 6 Jan 2000, 18:14 UTC.

Average New-Moon-to-New-Moon period. Standard value 29.53059.

Both are entertainment approximations, not official time.

Controls rounding on age, illumination and stardate.

🌕 Full Moon
Illumination 0% of the disc lit
Moon age 0 d days since New Moon
Next Full / New Moon 0 d days to Full, then New
Stardate (for fun) 0 entertainment value only

🔢Formula Snapshot

29.53059Synodic days
age mod(JD − JD0) mod S
1−cosLit fraction curve
2323Stardate base yr

🌕Eight Moon Phases by Age and Illumination

Phase NameMoon Age RangeIlluminationWhat You See
New Moon0.0 to 1.8 days0 to 3%Dark, rises with the Sun
Waxing Crescent1.8 to 5.5 days3 to 35%Thin evening sliver in the west
First Quarter5.5 to 9.2 days35 to 65%Right half lit, up at sunset
Waxing Gibbous9.2 to 12.9 days65 to 97%More than half, brightening
Full Moon12.9 to 16.6 days97 to 100%Whole disc, rises at sunset
Waning Gibbous16.6 to 20.3 days97 to 65%Shrinking, rises late evening
Last Quarter20.3 to 24.0 days65 to 35%Left half lit, up before dawn
Waning Crescent24.0 to 29.5 days35 to 0%Thin morning sliver in the east

📏Synodic vs Sidereal and Other Lunar Months

Month TypeLength (days)Measured AgainstWhy It Differs
Synodic (phase)29.53059The Sun, New to NewDrives the phases we see
Sidereal27.32166The distant starsOne true orbit of Earth
Tropical27.32158The vernal equinoxNearly equal to sidereal
Anomalistic27.55455Perigee to perigeeSets supermoon timing
Draconic (nodal)27.21222The orbital nodesControls eclipse seasons

🔮Stardate Eras Used in Star Trek

Era or SeriesApprox Stardate RangeRoughly Which YearsNote
Original Series (TOS)1312 to 59282265 to 2269Numbers were loosely tracked
Motion Pictures7410 to 84542270s to 2280sContinued the TOS style
Next Generation (TNG)41000 to 479992364 to 23701000 units equal one year
Deep Space Nine46000 to 529992369 to 2375Shares the TNG scale
Voyager48000 to 549992371 to 2378Also 1000 units per year
This calculator (TNG)1000 per year from 2323Any date you enterSimplified fan approximation

📡Full Phase Comparison Grid

PhaseAge (days)IlluminationRough Rise / SetBest ViewingSymbol
New Moon0.00%Rise 6am / Set 6pmDeep-sky and stars🌑
Waxing Crescent3.725%Rise 9am / Set 9pmEarly evening, west🌒
First Quarter7.450%Rise noon / Set midnightEvening, sharp craters🌓
Waxing Gibbous11.178%Rise 3pm / Set 3amLate evening, bright🌔
Full Moon14.8100%Rise 6pm / Set 6amAll night, low contrast🌕
Waning Gibbous18.578%Rise 9pm / Set 9amLate night, east🌖
Last Quarter22.150%Rise midnight / Set noonPre-dawn sky🌗
Waning Crescent25.818%Rise 3am / Set 3pmDawn, low in east🌘

How the Math Works

Julian Date (JD)The calendar date and UTC time are converted to a running Julian Date, a continuous day count astronomers use so any two dates can be subtracted directly.
Moon age = (JD − JD0) mod SJD0 is your reference New Moon and S is the synodic month, 29.53059 days. The remainder is how many days into the current cycle the Moon is.
Illumination = (1 − cos(2π × age / S)) / 2This cosine curve is 0 at New Moon (age 0), 1 at Full Moon (age about 14.77 days), and back to 0 at the next New Moon.
Phase name from octantsThe 29.53 day cycle is split into eight equal slices. Which slice the age falls in names the phase, from New through Full to Waning Crescent.
Days to Full and NewFull Moon sits at age S/2. Days to Full is that target minus the current age (wrapped into the next cycle if needed); days to New is S minus the age.
Stardate = 1000 × (year − 2323) + fractionOfYear × 1000A simplified TNG-style approximation where one calendar year equals 1000 stardate units. It is purely for entertainment and does not track real astronomical time.

💡Stargazing and Stardate Tips

Shoot for the quarters: A Full Moon looks flat because sunlight hits it head-on and washes out shadows. For dramatic craters and mountain ranges, observe near First or Last Quarter, when the terminator line throws long shadows and surface detail pops in even a small telescope.
Mind the hemisphere flip: A waxing Moon lit on the right in the Northern Hemisphere appears lit on the left from the Southern Hemisphere. Set the hemisphere field correctly so the glyph and the lit-side note match what you actually see overhead before you log your fun stardate.

Two things are answered at once by this calculator on page. For the date you input, it displays Moon’s phase, how illuminated it is, and how many more (or less) days there are till the next New or Full Moon. Then it also gives that same date a Star Trek: The Next Generation-style stardate. That’s the kind of number you’d expect a starship officer to jot down when checking out some anomaly. Whether you are a science fiction fan who wishes to log your day like Captain Picard, or a skywatcher who wants to plan your night, this tool will serve both.

No server needed; all calculations is done instantaneously right in your browser. But what’s the point? Because the calculator starts at a fixed point (the reference epoch), it does not get out of phase which is important if you want an accurate result. Every New Moon bring us around to another one again; that average interval is 29.53059 days. Yes, the decimal is significant: it prevents the calculation from drifting over time.

How This Moon Calculator Works

First, the calculator takes each date, yours, plus the reference, and turns them into a type of day number called a Julian Date. This is how astronomers do all their calculations; it eliminates messy considerations like different-length month and leap years. Since it’s just a sequence of numbers representing days, you simply subtract one set from the other, and then you have your answer. The answer are the age of the moon, expressed in days.

Once you have an idea of the age, the next step is simple: it’s just a matter of naming the phase. The entire cycle have eight parts, each being one-eighth. If the number is close to zero, it’s a New Moon. It turns to a First Quarter at around 7.4 days. Full Moon occurs at about 14.77 days. And Last Quarter are reached at roughly 22 days. The other phases, the crescents and gibbous. Fill the spaces inbetween. From this familiar pattern, the tool names the current phase correctly and displays its corresponding glyph.

This graphical guide helps you visualize what you should see when you look up. However, this isn’t because the lit fraction of the Moon increases in a straight line. It doesn’t; it’s more like a smooth cosine curve. Here is the formula: illumination = 1, [cosine of (2pi times age divided by synodic month)]/2. At New Moon, result is zero. At Full Moon, it climbs to one hundred percent. So the moon looks like it grows rapidly near the quarters, whereas around New and Full Moons it changes relatively slowely. The number you see onscreen comes close to matching what your eye sees.

Need to know when the next Full Moon is coming? You might also want to know how many days are left before the next New Moon to plan a night hike or photo shoot. Since the Full Moon happens exactly halfway through the synodic month, the number of days left until the next Full Moon is that halfway target minus the current age. The days left until the next New Moon is the synodic month minus the number of days since the last New Moon. These counts automatically adjust whenever you enter a new time and date. So you can plan your activities accordingly: either under light or dark skies.

Because the Moon doesn’t match our local time zones, it converts your local time zone to Universal Time (using the timezone offset you provide) to maintain an accurate Julian Date and age (within a fraction of a day). What you will see depends off which hemisphere you select as well. A waxing Moon is always lit on the right-hand side if you are in the Northern Hemisphere; in the Southern Hemisphere, that same phase will be lit up on the left. Toggling between hemispheres reverses the glyph accordingly, making it match the one you observe in the sky.

The fun aspect here is the stardate converter. It’s based on a slightly more user-friendly variation of the Next Generation stardate system in which there are one thousand stardate units per calendar year. To get the result, the equation takes the difference between the current and base years, multiplies it by one thousand, and adds the portion of the year that has passed divided by one thousand. For example, fans of Deep Space Nine know that stardates in the 47000 range would represents around mid-2360s. Note that these are entertainment guesses; actual Star Trek stardates were not always entirely consistent from episode to episode. This one’s just for fun (amusement, not navigation).

Exploring is made easy thanks to a set of presets that add just one click. Leap to next Full Moon, or to today. Jump forward (or backwards) to historic moments like the Great American Eclipse from 2017 or the launch of Apollo 11 on 16 July 1969. You can also jump to its moon landing four days later. There’s also a preset for Y2K midnight and more. When you select a preset, it automatically calculates and fills in the date, time, timezone, and stardate style. This lets you see how the Moon would of appeared on those famous dates within seconds.

The stardate, New Moon and Full Moon countdown, current Moon age, and illumination are the four results from every calculation. Below that is a table of reference listings all eight phases, including their illumination level and age range. It even compares the sidereal and other lunar months with the synodic month. If you’re a Star Trek fan who likes to keep a log as a captain of a starship, this is for you. Or, perhaps you just want to know what’s going on in the heavens when planning an observing night. Either way, it will transform a date into a little science fiction fun and some serious lunar science.

Out there in the sky, it waits patiently for you to look up.

Stardate Moon Phase Calculator