Sunrise Sunset Calculator for Any Location
The Sun Calculator is a sunrise sunset calculator that finds the exact sun times for any place on Earth and any date you choose. Pick a country and city, and you instantly see sunrise, sunset, day length, solar noon, golden hour, and blue hour for that spot.
Beyond the basic times, it draws a color-coded day timeline, lists a 7-day forecast, charts daylight across the whole year, and breaks down the twilight phases and sun position. It is built for photographers chasing the golden hour, travelers and outdoor planners, gardeners, and anyone curious about how daylight shifts with location and season.
How to Use the Sun Calculator
Choose your location
Pick a Country, then a State / City. Both dropdowns are searchable — type a name, an ISO code like US or VN, or a native spelling. Or tap Use my location to detect your spot by GPS.
Pick a date
It defaults to today. Open the date field to choose any past or future day, step one day at a time with the arrows, or tap Today to jump back to the current date.
Read the sun times
Cards show sunrise, sunset, day length, solar noon, and the morning and evening golden hours with a live countdown. The timeline below splits the day into night, twilight, blue hour, golden hour, and daylight.
Explore forecast and details
Scan the 7-day forecast table, follow the annual daylight chart across the seasons, and expand Astronomical Details for twilight phases, sun altitude and azimuth, and the nadir.
Features
Accurate Sun Calculations
Sunrise, sunset, solar noon, golden hour, blue hour, and twilight phases are computed for your exact coordinates and date using proven astronomical algorithms.
Worldwide Location Search
Browse 200+ countries and thousands of states and provinces. Search by name, native spelling, or ISO code, with country flags shown for quick picking.
GPS Detection
Tap the GPS button to detect your position and auto-select the nearest country and state, then calculate sun data for that spot.
Visual Day Timeline
A color-coded bar shows the full 24-hour day, with night, twilight, blue hour, golden hour, and daylight each sized to its real duration.
7-Day Forecast
A table of sunrise, sunset, day length, and evening golden hour for the next seven days, with today highlighted and day-length change shown.
Annual Daylight Chart
An interactive chart of sunrise and sunset curves across the whole year, with the golden daylight band and a marker on your selected date.
Astronomical Details
A collapsible panel with six twilight phases, the sun's current altitude and azimuth, and the nadir — the sun's lowest point below the horizon.
Date Picker
Calculate sun data for any past or future date with the built-in calendar, or jump back to today with a single tap.
Saved Preferences
Your last location is stored in your browser, so the tool restores it and recalculates automatically the next time you return.
Frequently Asked Questions
What time is sunrise and sunset today?
Choose your country and city, and the tool shows today's sunrise and sunset times right away. It defaults to today's date, so you only need to set the location once. For other days, pick any date with the calendar.
When is golden hour today?
The golden hour is the warm-lit window just after sunrise and just before sunset, prized in photography and film for soft light and long shadows. The tool lists both the morning and evening golden hours with a live countdown to the start or end of each.
What is the blue hour versus the golden hour?
The blue hour is the deep-blue period just before sunrise and just after sunset, when the sky is cool and even — great for cityscapes. The golden hour follows it on the daylight side, with warmer, directional light. The tool shows the times for both.
What is solar noon, and is it at 12 PM?
Solar noon is the moment the sun is at its highest point for your location, the midpoint between sunrise and sunset. It is usually not exactly 12:00 on the clock because of your time-zone offset and the equation of time, so the tool calculates the real solar noon for you.
What are the twilight phases?
Twilight has three phases by how far the sun sits below the horizon: civil (0–6° — enough light for outdoor activity), nautical (6–12° — the sea horizon is still visible), and astronomical (12–18° — dark enough for stargazing). Expand Astronomical Details to see the dawn and dusk time for all six.
How accurate are the sunrise and sunset times?
The calculations use the SunCalc astronomical library and are accurate to within a few minutes for most places. Accuracy depends on how precise your coordinates are, so picking a specific state or city — or using GPS — gives better results than a country-level point alone.
Can I check sun data for any date?
Yes. Use the date picker to select any past or future day, and the tool recalculates sunrise, sunset, and every other solar event for that date. The annual daylight chart also shows how day length swings across the whole year at your latitude.
What happens at extreme latitudes?
Near the Arctic and Antarctic circles the sun may never rise (polar night) or never set (midnight sun) for stretches around the solstices. The tool handles these cases and shows whatever data is available for the day and place you pick.
Is my location private?
All sun calculations run in your browser, and your chosen location is saved only on your device. The one exception is a coordinate lookup sent to the server when you use the searchable country/city lists or the GPS button so it can name your spot — that lookup is not stored as a profile.
No comments yet. Be the first to comment!