Sun and Moon
Sunrise, sunset, twilight and golden hour, the path of the Sun, moon phase and moonrise, eclipses as seen from your place, meteor showers, a Hindu panchang with Rahu kaal and the Hijri date, for any place on Earth and any date from 1800 to 2199, worked out in your browser
Guide reviewed 3 November 2026 by Milan Salvi. How we write and correct guides.
Open Sun and Moon โStep-by-step help guide and questions and answers for this tool.
Table of Contents
Overview
Sun and Moon works out the sky above any place on Earth, for any day from 1800 to 2199. Choose a city from the list of about 200, or type the coordinates of any spot, and pick a date. The Today view draws the whole day as a ring: night, the three twilights, blue hour, golden hour and daylight in their colours, with the time the Moon is up inside it. Beside it come sunrise and sunset with the direction the Sun is in, solar noon, the day length, first and last light, moonrise and moonset, and a list of every event of the day in order.
The Sun view charts the height of the Sun and Moon through the day, shows where on the horizon they rise and set, works out the length of a shadow and lists the next 30 days. The Moon view draws the Moon as it looks from your place, with its phase, age, distance and the full moons of the year. Calendars gives a Hindu panchang for sunrise at your place, with Rahu kaal and the muhurtas, and the Islamic date; Sky events lists the eclipses you can see from where you are, meteor showers, equinoxes, solstices and supermoons.
Everything is calculated by your own browser with standard astronomy formulas. The places and dates you choose are not uploaded, there is no account, and once the page has loaded it keeps working without a connection.
Key Features
Sunrise to Full Darkness
Sunrise, sunset, solar noon and day length, with civil, nautical and astronomical twilight at dawn and dusk.
Golden and Blue Hour
The warm low light and the deep blue sky, morning and evening, for every day of the next month, ready to download.
The Sky Dial
The whole day as one ring in the colours of the light; drag the hand to any moment to read the Sun's height.
Where to Look
The direction of sunrise, sunset, moonrise and moonset, the paths across the sky and the length of a shadow.
The Moon from Your Place
Phase, lit part, age, rise and set, distance and size, a moon calendar and every full moon of the year with its name.
Eclipses Seen from Here
Whether each coming eclipse is visible from your place, how much of the Sun is covered and the local times.
Panchang for Your Sunrise
Tithi, nakshatra, yoga and karana with end times, the Hindu month, Samvat, Rahu kaal, Yamaganda and the muhurtas.
Hijri Date and Islamic Days
The Umm al-Qura date, the date after sunset, the time of iftar in Ramadan and the coming Islamic dates.
How to Use
- Choose your place - Click the place at the top and pick a city, or enter the latitude, longitude and time zone of any spot. The page remembers it.
- Pick a date - Use the arrows, the date box or Today. Any day from 1800 to 2199 works, including the day you were born.
- Read the day - Today shows the sky dial, the next event, the key times and every event of the day in order. Drag the hand to any moment.
- Plan around the light - The Sun view gives the chart of the Sun's height, the directions, the shadow length and the next 30 days as a table, a CSV file or a print.
- Follow the Moon and the calendars - The Moon view has the phase and the full moons; Calendars has the panchang, Rahu kaal and the Hijri date.
- Watch for sky events - Sky events lists the eclipses visible from your place, meteor showers, equinoxes and supermoons; add any of them to your own calendar.
How the Times Are Worked Out
- Standard formulas - The positions of the Sun and Moon come from the methods in Jean Meeus' Astronomical Algorithms, the reference most almanac software is built on, worked out for the exact coordinates of the place at sea level.
- Checked against a professional ephemeris - Before publishing, we compared the results with NASA's Jet Propulsion Laboratory ephemeris for 45 places from the equator to the Arctic and every year from 1901 to 2049: sunrise and sunset agree within a few seconds, twilight within half a minute, moonrise and moonset within a minute, phases, equinoxes and the greatest moment of an eclipse within about a minute.
- Sunrise and sunset - The moment the top edge of the Sun meets a flat horizon, allowing for the bending of light by the air, as almanacs define it. Hills, buildings and the height you stand at can still move what you see by a few minutes.
- The panchang - For sunrise at your place, with the Lahiri ayanamsa as the Indian Astronomical Ephemeris defines it; the end times of tithi, nakshatra, yoga and karana were checked against the same ephemeris and agree within half a minute. Festival days also depend on local custom.
- The Hijri date - The Umm al-Qura calendar of Saudi Arabia, the same as its published tables on every day from 1924 to 2077. Where months begin with a local sighting of the crescent, dates can be a day later.
Frequently Asked Questions
The questions people ask most about Sun and Moon are answered on the tool page, just below the tool. The full list of 36 questions, from places and time zones to twilight, golden hour, the Moon, the panchang, the Hijri date, eclipses and your data, is in the Sun and Moon FAQ, and the help guide walks through every part of the tool step by step.
Privacy & Security
The place you look up is often your home. Sun and Moon has no upload step, no account and no server-side storage: every time is worked out in your browser, and your place and settings are kept in your browser's storage until you choose Forget saved place and settings.
The tool does not ask your browser for your location and loads nothing from outside the site. The page title never names your place, and the page keeps it out of its own address; a link you copy to share a place carries its coordinates, so share it only where you mean to. Like every page on ZeroDataUpload, the tool page shows ads through Google AdSense and uses Google Analytics; the Privacy Policy and Cookie Policy explain what those services collect and how the cookie banner controls them. Your place is never part of it.
Ready to try Sun and Moon? It's free, private, and runs entirely in your browser.
Open Sun and Moon โRelated
Last Updated: November 3, 2026