Solar & Lunar Ephemeris Tool

Solar and Lunar Ephemeris Tool

Moon · Light · Sky
No location set
Date
Moon
Moon Phase
—% illuminated
Moonrise
Peak Altitude
Moonset
Moon Age
Light
Blue Hour (AM)
Golden Hour (AM)
Sunrise
Golden Hour (PM)
Sunset
Blue Hour (PM)
Blue Hour Ends
Awaiting location
Astronomical conditions for this date
Darkness
Moon Alt.
Phase
★ Astronomical grade only — check weather closer to your shoot date
A — Dark sky, moon low/absent B — Good conditions C — Fair, some moonlight D — Poor, bright moon F — Moon washout
What is this

A planning tool for photographers who care deeply about when and where the light falls.

This Solar and Lunar Ephemeris tool brings moon phase data, precise astronomical twilight windows, and a sky quality grading system into one dashboard. Instead of juggling separate apps for moonrise times, golden hour calculators, and lunar phase calendars, everything you need to plan a shoot lives here.

Set any location on Earth — by city name, GPS fix, or a direct click on the map — then pick any date past, present, or future. The tool instantly computes every meaningful light and lunar event for that day and grades night sky conditions across the entire month so you can identify the best windows weeks in advance.

Three pillars
🌙
Moon
Moonrise and moonset times with compass bearings, peak elevation time and altitude in degrees, illumination percentage, moon age in days, and a named phase with visual diagram. When the moon stays below the horizon all day, that is noted explicitly.
Rise · Peak · Set · Phase
🌅
Light
Seven distinct light events per day: astronomical blue hour start (AM), golden hour start (AM), sunrise, golden hour start (PM), sunset, blue hour start (PM), and blue hour end (PM). A colour-coded timeline bar shows all events proportionally across the full 24-hour day.
7 events · Full-day timeline
Sky grade
An A–F composite score for astrophotography conditions calculated from three weighted sub-scores: darkness, moon altitude, and phase brightness — each shown as its own dial bar so you can see exactly what is limiting quality on any given night.
Darkness · Altitude · Phase
The light timeline in detail

The colour bar at the top of the Light panel maps the entire day left-to-right, midnight to midnight. Each segment's width is proportional to how long that phase lasts — so a razor-thin golden hour and a generous one are immediately visible. Here is what each colour means for photography:

Deep night Astro. twilight Blue hour Golden hour / sunrise / sunset Daylight
PhaseWhat it means for photography
Deep nightSun more than 18° below the horizon. True astronomical darkness — the best window for Milky Way, star trails, and deep sky imaging. No solar contamination of any kind.
Astro. twilightSun 12–18° below the horizon. Sky brightens subtly but faint nebulae and the Milky Way core remain visible. The outer edge of astrophotography viability.
Blue hourSun 6–12° below the horizon (nautical twilight). The sky holds a deep, even blue — ideal for urban scenes and architecture where you want ambient sky balanced with artificial lighting.
Golden hourSun within roughly 6° of the horizon (civil twilight through sunrise/sunset). Warm, directional, low-angle light with long shadows. Quality peaks at the precise moment of sunrise and sunset.
DaylightSun above the golden hour threshold. Neutral overhead light. The tool does not sub-divide this period — use it to scout, travel, or wait for the PM golden window.

At high latitudes near midsummer the dark band may nearly vanish — the sun barely dips below the horizon. Near the equator transitions are fast and golden windows are short. The timeline scales to your exact coordinates and date.

Understanding the sky grade

The A–F grade is a composite of three sub-scores, each shown as its own dial bar. Understanding each factor lets you interpret borderline grades and decide whether a C or D night is still worth the drive.

Darkness — 45%
Combines illumination percentage with how high the moon sits at 10 pm. A full moon on the horizon scores better than a half moon directly overhead — effective glare in your sky is what matters, not phase alone.
Highest weight
Moon altitude — 30%
The moon's angular elevation at 10 pm local time. A moon below 0° scores 100 regardless of phase — it simply is not there. Every degree above the horizon reduces the score proportionally.
30% weight
Phase — 25%
Illumination percentage inverted: new moon (0%) scores 100, full moon (100%) scores 0. The simplest factor — it asks only how much of the disc is lit, ignoring position entirely.
25% weight
A
Pristine dark sky
Composite 80–100
Moon is new, absent, or well below the horizon at your shooting time. Maximum contrast for Milky Way core, nebulae, and faint deep-sky objects. These nights are rare — plan around them.
B
Excellent conditions
Composite 62–79
Thin crescent present or moon rising late in the night. Wide-field Milky Way photography and foreground-lit compositions work well. Minor compromise on the faintest targets only.
C
Fair — some interference
Composite 44–61
Quarter moon present and visible for part of the night. Deep sky imaging of faint nebulae suffers noticeably. Landscape night photography using the moon as a deliberate light source can still produce strong results.
D
Poor — bright moon
Composite 26–43
Gibbous moon high in the sky through much of the night. Stars wash out significantly; the Milky Way is barely visible or not at all. Moonlit landscape work, long exposures of reflective water, or portraits under natural moonlight become viable creative options.
F
Moon washout
Composite below 26
Near-full or full moon at significant altitude. Dark sky photography is not viable. Redirect to moonscape work, moonlit seascapes with long exposures, or simply use the moon as a powerful key light for environmental portraits.

The grade is purely astronomical — it tells you nothing about cloud cover, atmospheric transparency, or light pollution. Always cross-reference a clear-sky chart before travelling to a remote site.

Reading the moon panel
Moonrise & moonset bearings
Each time is followed by a compass bearing in degrees and direction — for example "19:42 · 112° ESE". Use it to pre-visualise where on the horizon the moon will appear or disappear relative to a landmark, peak, or city skyline before you leave home.
Peak altitude & time
The tool scans the full 24-hour day in 4-minute steps to find when the moon reaches its highest point — reported as a time and an angle. A moon peaking at 70° floods the landscape with near-overhead light; a moon peaking at 15° casts long raking shadows.
Illumination percentage
How much of the moon's visible disc is lit, from 0% (new moon) to 100% (full moon). Combined with the phase name, this gives a precise sense of how much ambient light the moon will add to a scene and how severely it will affect star visibility.
Moon age in days
Days elapsed since the last new moon (the full cycle is 29.53 days). Age ~7 = first quarter, ~14–15 = full moon, ~22 = last quarter. Useful for quickly placing yourself in the lunar cycle without counting calendar dates.
Below-horizon notice
If the moon does not rise at all on a given date at your location, the moonrise field shows "— (below horizon)" rather than a time. This is a direct signal the night sky will be moon-free from dusk to dawn — often more valuable than a nominal A grade.
Phase names & thresholds
Eight phases based on illumination fraction: New Moon (<3% or >97%), Waxing Crescent, First Quarter (~25%), Waxing Gibbous, Full Moon (~50%), Waning Gibbous, Last Quarter (~75%), and Waning Crescent. Each has a matching phase diagram image.
How to use it
1
Set your location
Type any city name and press Search or Enter. The tool queries OpenStreetMap's geocoder and drops a pin. Press GPS for your current position, or click directly on the map for remote spots with no city name nearby.
2
Browse the calendar
The monthly calendar shows a moon phase icon and A–F badge for every day. Use ‹ › to move between months. Today is marked with a gold dot. Scan for clusters of A and B grades near new moon.
3
Inspect a day
Click any calendar cell — or use the ◀ ▶ day arrows, the date picker, or the Today button — to load full details. The Moon panel, Light panel, timeline, and grade dials all update instantly.
4
Refine your plan
Cross-reference the moonrise bearing with your composition. Check whether the moon rises before or after astronomical dark. Confirm blue hour falls at a workable time. Then verify with a weather forecast before committing.
What photographers use it for
Landscape & golden hour
Find the precise minute civil dawn and the PM golden hour begin at your exact shoot location. The sun's bearing at those moments helps predict which way shadows will fall across a scene.
Astrophotography & Milky Way
Plan months ahead using the monthly calendar. A-grade dates clustered around new moon are your prime nights. Check moonset time to confirm the moon disappears well before astronomical dark.
Moonrise & moonset alignment
Use the moonrise bearing in degrees to determine exactly where on the horizon the moon will emerge. Combine with a mapping tool to find a vantage point where that bearing aligns with a key subject.
Blue hour & urban photography
Nautical twilight is the sweet spot where city lights and sky brightness near-balance for even exposure. The tool gives you the exact open and close times so you can be on location before the window opens.
Scouting & travel planning
Search any city in the world — the tool geocodes and recalculates for that latitude and longitude. Compare conditions across your travel window before you book. Your last location is saved automatically between sessions.
Intentional moonlight work
D and F grade nights are not wasted — a high full moon floods a landscape with soft, even light that is impossible to replicate artificially. Check peak altitude and time to plan long-exposure moonlit scenes and portraits.
What this tool does not tell you
No weather data
The tool models only astronomical geometry. Cloud cover, fog, haze, and precipitation are not accounted for. An A-grade night under thick overcast is worthless. Always cross-reference a clear-sky forecast before travelling.
No light pollution data
The sky grade assumes a dark sky. An A-grade site in or near a major city will still suffer severe light pollution. For serious astrophotography, use the grade as a lunar interference score only — combine it with a Bortle map for your specific site.
Grade is sampled at 10 pm
The moon altitude sub-score uses the moon's position at exactly 10 pm local time. If you plan to shoot at 2 am, the moon may be in a very different position. Check moonrise, moonset, and peak altitude times directly to understand how the moon moves through your actual shooting window.
Times use your local timezone
All displayed times use your browser's local timezone, not the timezone of the searched location. If you search a city in a different timezone, sunrise and moonrise times display in your local time. Convert mentally when planning for a destination you have not yet travelled to.

Solar and Lunar Ephemeris — FAQ

Common questions about planning shoots with moon data, light windows, and sky grades.

🌙 What exactly is an ephemeris, and why does it matter for photography?
An ephemeris is a table of predicted positions for celestial objects at specific times and locations. The word comes from the Greek for daily — historically, astronomers and navigators used printed ephemerides to know exactly where the sun, moon, and planets would appear in the sky on any given date.

For photographers, this matters because light quality is entirely determined by geometry — the angle of the sun below the horizon, the height of the moon above it, and the fraction of the moon's disc currently lit. Knowing these values in advance means you can arrive at a location at exactly the right moment, facing exactly the right direction, without guessing.
🌅 What is the difference between blue hour and golden hour?
They refer to different positions of the sun relative to the horizon, which produce entirely different kinds of light.

Golden hour occurs when the sun is within roughly 6° of the horizon — from civil dawn through sunrise in the morning, and from sunset through civil dusk in the evening. The atmosphere scatters blue wavelengths and passes warm reds and oranges, creating directional, low-angle light with long shadows and rich colour.

Blue hour occurs when the sun is between 6° and 12° below the horizon (nautical twilight). The sky holds a deep, even blue with no direct sunlight at all. This is the sweet spot for urban and architectural photography — artificial lights come on while the sky still retains colour and detail, producing a near-even exposure balance. The tool labels these precisely: Blue Hour (AM) marks nautical dawn, Golden Hour (AM) marks civil dawn, and the mirror events are shown separately for the evening.
⭐ How is the A–F sky grade calculated?
The grade is a weighted composite of three sub-scores, each shown as its own dial bar in the interface:

Darkness (45%) — multiplies illumination percentage by the moon's altitude factor at 10 pm to estimate effective glare in your sky. A full moon on the horizon produces far less glare than a half moon directly overhead.

Moon altitude (30%) — the moon's angular elevation at 10 pm local time. A moon below the horizon scores 100 regardless of phase; every degree above the horizon reduces the score.

Phase (25%) — illumination percentage simply inverted. New moon = 100, full moon = 0. The simplest factor; it ignores position entirely. The altitude sub-score is always sampled at 10 pm local time. If you plan to shoot at 2 am or 4 am, check the moonrise, moonset, and peak altitude times directly — the moon's position may be very different from what the grade implies.
🌑 Does a high grade guarantee good astrophotography conditions?
No — the grade is a lunar interference score only. It tells you how much the moon will compromise your dark sky. It says nothing about:

Cloud cover — an A-grade night under thick overcast is completely unusable. Always cross-reference a dedicated clear-sky forecast before travelling to a remote site.

Light pollution — the grade assumes a dark sky. An A-grade location inside or near a major city will still suffer severe artificial light pollution. Use the grade alongside a Bortle scale map for your specific site.

Atmospheric seeing — turbulence in the upper atmosphere affects the sharpness of stars and planetary detail regardless of moon phase. Think of the grade as one dimension of a multi-factor decision. A night rated B or C at a genuinely dark-sky site often outperforms an A-grade night in the suburbs.
🗓️ How far ahead can I plan using the calendar?
The tool is not limited to any specific date range. SunCalc, the astronomical library it runs on, can compute accurate sun and moon positions for any date — past or future. You can navigate the calendar months or years ahead, or type any date directly into the date picker.

The monthly calendar view shows an A–F grade badge and moon phase icon for every day of the month. Use the ‹ › arrows to move forward month by month to find clusters of A and B grades that align with your travel plans or local seasons. Practical planning range: the lunar cycle repeats every 29.53 days, so the same phase recurs roughly once per month. Scouting three to six months ahead is realistic for most photography trips.
📍 How accurate is the location search?
City searches use the OpenStreetMap Nominatim geocoder, which returns the latitude and longitude of the named place. The tool then computes all sun and moon data for that exact coordinate pair.

For most planning purposes — finding the golden hour time for a city, or checking the moon grade for a region — city-level accuracy is more than sufficient. For precise compositional alignment (for example, confirming a moonrise will clear a specific ridgeline), click directly on the map to pin the exact vantage point. The map accepts clicks anywhere on Earth at full coordinate precision. Your last-used location is saved automatically in your browser between sessions, so returning users do not need to re-enter their location each time.
🔄 Why do moonrise and moonset times shift so much day to day?
Unlike the sun, which rises and sets within a fairly consistent window each day, the moon shifts its rise and set times by roughly 50 minutes later each day. This is because the moon orbits Earth in the same direction Earth rotates — the planet has to turn an extra ~13° each day to catch up to the moon's new position, which takes about 50 additional minutes.

Over a full 29.53-day lunar cycle, the moon effectively completes one full trip around the clock — rising at dusk one week, rising at midnight the next, rising at dawn the week after. This is why a given moon phase occupies a completely different part of the night sky depending on the time of year and your latitude. For astrophotography, what matters most is not just when the moon rises but whether it sets before astronomical dark begins. An A-grade date where the moon sets at 11 pm is very different from one where it never rises at all.
⏱️ What timezone are the displayed times in?
All times displayed use your browser's local timezone — not the timezone of the location you have searched.

If you search for a city in a different timezone from your own, sunrise, moonrise, and all light event times will appear in your local time. For most pre-trip planning this is workable — you can convert mentally — but be aware of the distinction when planning for distant destinations. Example: if you are in London (UTC+0) and search for Tokyo (UTC+9), a Tokyo sunrise shown as "21:00" in the tool means 9 pm London time — which is 6 am Tokyo time. The underlying data is correct; only the display timezone shifts.
🌕 Is a D or F grade night ever worth shooting?
Absolutely. D and F grade nights are not wasted nights — they simply require a different creative approach.

A high full moon at or near peak altitude floods a landscape with soft, directionless light that no artificial setup can replicate at scale. Long exposures of moonlit seascapes, snow-covered mountains, or open deserts can be extraordinary on F-grade nights. The moon acts as a powerful ambient key light.

Environmental portraits under a full moon, moonlit fog in a forest, or the moon itself as the primary subject with a foreground silhouette are all techniques that specifically require the conditions a low grade describes. Use the peak altitude and peak time fields to know when the moon will be at maximum brightness and elevation — this is your equivalent of golden hour for moonlit work.
🔭 How do I use the moonrise bearing for compositional planning?
The moonrise bearing is displayed in both degrees (0–360°) and a compass direction abbreviation such as ESE or NNW. Zero degrees is true north; 90° is due east; 180° is due south; 270° is due west.

To use it for compositional alignment: note the bearing for your chosen date and location, then open a mapping tool and draw a line from your planned shooting position at that bearing angle. The moon will rise along that line — you can identify which landmark, ridgeline, or structure it will appear above or behind.

Moonset bearing works identically in reverse — it tells you where on the western horizon the moon will disappear, useful for planning silhouette compositions at dawn with a setting full moon. The bearing shown is the moon's azimuth at the moment of rise or set — when it is exactly on the horizon. As it climbs, its azimuth shifts. For precise alignment at a specific altitude, the peak altitude and time fields give you the arc's midpoint.