Sunrise, Sunset & Moon Phase Calculator
Sunrise, sunset, solar noon, twilight, golden hour, moonrise, moonset, Moon phase and illumination for any place and local date — calculated in your browser.
- Free to use
- No account required
- Calculated in your browser
Sunrise, Sunset & Moon Phase Calculator
Was this tool helpful?
Good to know
- Useful for
- Planning photography in golden hour, early starts and evening walks, sailing and stargazing around twilight, and checking polar day or polar night when travelling far north or south.
- Accepts
- Latitude −90 to 90 and longitude −180 to 180 in decimal degrees, an IANA time zone, and a calendar date from 1900 to 2100. City names aren't looked up automatically; use a preset or enter coordinates.
- Produces
- Local times for sunrise, sunset, solar noon (with the Sun's height), daylight length, civil/nautical/astronomical dawn and dusk, golden-hour intervals, moonrise and moonset, the Moon's phase, illuminated percentage, waxing/waning state, and the next new Moon, first quarter, full Moon and last quarter
Privacy
Everything is calculated in your browser with the astronomy-engine library. Your coordinates and results aren't uploaded or stored.
Limitations
- Sunrise and sunset use the U.S. Naval Observatory convention: the Sun's upper edge on a flat, sea-level horizon with standard refraction. Hills, buildings, your elevation, air pressure, temperature and clouds change what you actually see — typically by a minute or more, and much more near the poles.
- Twilight boundaries are the Sun's centre at −6° (civil), −12° (nautical) and −18° (astronomical). Golden hour here is the Sun's centre between −4° and +6°; photographers use several definitions.
- The day is the selected local date from midnight to midnight in the chosen time zone, so it lasts 23 or 25 hours when clocks change. Events that happen on another local date (even if they're on the same UTC date) aren't shown, and some days genuinely have no moonrise, no moonset, no sunrise or no sunset.
- At high latitudes the tool reports polar day, polar night, days with only a sunrise or only a sunset, twilight thresholds that aren't reached, and golden light around midday or midnight, rather than inventing times.
- The Moon's phase and illumination are given for 12:00 local time; the four principal phase names are used only on the date their exact moment falls. No weather or cloud forecast is included.
Tips
- Use Copy results to paste the full set of times, including the coordinates and time zone, into notes or a message.
- For far-north places in summer, check the golden-hour list: the light can stay golden for hours around midnight.
- Results were checked against independent astronomy software (PyEphem and NOAA's equations) to within a minute.
How to find sunrise, sunset and moon times
- Pick a city preset or enter the latitude and longitude of your location (decimal degrees; south and west are negative).
- Check the IANA time zone of the location (for example Europe/Vienna) — it's the location's zone, not your device's.
- Choose the local date at that location and click Calculate.
- Read the Sun, twilight, golden-hour and Moon results, and copy them as plain text if you need them elsewhere.
Frequently asked questions
How are sunrise and sunset defined?
Sunrise and sunset are the moments the Sun's upper edge touches a flat, sea-level horizon with standard atmospheric refraction, the U.S. Naval Observatory convention. Hills, buildings, your elevation, weather and air conditions change what you actually see, typically by a minute or more.
What are civil, nautical and astronomical twilight?
They're the periods when the Sun's centre is up to 6°, 12° and 18° below the horizon. Civil dawn begins at −6°, nautical at −12° and astronomical at −18°, and dusk ends at the same angles in the evening.
When is golden hour?
Here, golden hour is when the Sun's centre is between 4° below and 6° above the horizon, morning and evening. Photographers use several definitions, so the times can differ from other apps.
How is the Moon phase calculated?
The phase and illuminated percentage are calculated for 12:00 local time on the chosen date, along with whether the Moon is waxing or waning. The names new Moon, first quarter, full Moon and last quarter are used only on the date their exact moment falls, and the next dates of each are listed.
Why is there no sunrise, sunset or moonrise on some days?
Because some local dates genuinely have none. Near the poles, polar day or polar night can mean no sunrise or no sunset. Moonrise and moonset shift from day to day — on average by roughly 50 minutes, but the actual change varies with the Moon's orbit, your latitude and the date — so some local dates have no moonrise or no moonset. The tool reports this rather than inventing a time. Each day runs from local midnight to midnight, so it lasts 23 or 25 hours when clocks change, or 23½ or 24½ hours where clocks shift by half an hour, such as Lord Howe Island.
How do I calculate times for another location?
Choose a city preset or enter latitude and longitude in decimal degrees (south and west are negative), then pick the location's IANA time zone and the local date there. Results use the location's time zone, not your device's. Dates from 1900 to 2100 are supported.
How accurate are the results?
The calculations use the astronomy-engine library and were checked against PyEphem and NOAA's equations to within a minute. Local terrain, elevation and atmospheric conditions can shift what you see by more, especially near the poles, and no weather forecast is included.
Related time and date tools
Related guides
- 5 min readHow to Calculate Business Days Between Two DatesCount business days between two dates, choose whether the start and end dates count, set your own workweek and holidays, and add or subtract working days, with tested examples.
- 7 min readHow to Schedule Meetings Across Time Zones and DSTPick a date, add each city's time zone and hours, and see where a meeting fits. Tested across the March 2026 clock changes: New York and London were 4 hours apart, not 5.
- 8 min readHow to Calculate Your Exact Age, Including Leap-Day BirthdaysCount completed birthdays, then months, then days. Tested examples show how 29 February birthdays and month ends are handled, and why other calculators can differ from it by a day.

