Skip to main content
🌅 Calculator

Sunrise, Sunset & Daylight Calculator

Search any city and pick a date to see sunrise, sunset, solar noon, day length, golden hour and the twilight phases — all computed from the sun’s position and shown in the local time there.

  • Free, no sign-up
  • Works worldwide
  • Instant results
By SK KutubuddinReviewed
Quick Answer

How do I find sunrise, sunset and daylight hours for a city?

Search the city and choose a date — the tool computes sunrise, sunset, solar noon, total day length, golden hour and the twilight phases from the sun’s position, and shows them in that city’s local time. Day length grows toward summer and shrinks toward winter, with the swing getting larger the further you are from the equator.

sun at −0.83°
Sunrise/sunset
to −6°
Civil twilight
−0.83° to +6°
Golden hour
local time
Times in

Methodology: Sun times are computed with the standard solar-position algorithm (after Meeus) from the location’s latitude, longitude and date — sunrise and sunset at 0.83° below the horizon, civil/nautical/astronomical twilight at 6°/12°/18°, and golden hour up to 6° above. Times are converted to the location’s IANA timezone (resolved from the nearest airport) with daylight saving handled for that date. The astronomy runs in a small API; everything is verifiable rather than approximated. How we test & calculate.

Knowing the light before you go

How much daylight you’ll get — and exactly when the sun rises and sets — shapes a trip more than people expect. It decides how many hours of sightseeing you really have, when the light is best for photos, whether an early flight lands in darkness, and how a northern summer or winter will feel. This tool computes all of it for any city and date from the position of the sun, then shows the times in the local clock so you can plan against them directly.

Sunrise, sunset and the length of the day

Sunrise and sunset are the moments the sun’s centre sits about 0.83° below the horizon — the figure that accounts for the sun’s own width and the way the atmosphere bends its light, which is why the day is always a little longer than a simple geometry would suggest. Solar noon is when the sun is highest, halfway between them. The day length is just the gap between sunrise and sunset, and the tool also tells you how that compares to the day before — a minute or two near the equinoxes, several minutes at high latitudes.

Golden hour, for the photographers

If you care about photos, the two golden-hour windows — just after sunrise and just before sunset, when the sun is low and the light is warm — are the ones to plan around. Their length depends on your latitude and the season: near the tropics the sun drops fast and golden hour is short, while in the far north or south it can stretch on for an hour or more. The tool gives you both windows in local time so you can be in position before the light turns.

The three twilights

After the sun sets it doesn’t go straight to black. Civil twilight (sun up to 6° below the horizon) stays bright enough for most outdoor activity; nautical twilight (6–12°) is when the sea horizon fades; astronomical twilight (12–18°) is the last glow before truly dark skies, which matter if you’re stargazing. Knowing civil dusk in particular is handy for judging how much usable light you have after the official sunset.

How Much Daylight You Get, By Latitude

Latitude decides how dramatically your daylight swings through the year — far more than most people expect before they check. Near the equator, day length barely moves; head toward the poles and the gap between summer and winter widens fast.

LatitudeAround the summer solsticeAround the winter solstice
Near the equator (0– 10°)~12 hours~12 hours
Mid-latitudes (~35– 45°) — much of the US, southern Europe, China~14–15 hours~9–10 hours
Higher latitudes (~50– 60°) — UK, Germany, southern Canada~16–17 hours~7–8 hours
Arctic/Antarctic Circle and beyond (66.5°+)Midnight sunPolar night

These are typical ranges, not exact figures for every city at that latitude — elevation, local geography and the exact date all shift the numbers slightly. Search your own destination and date above for the precise times.

The Shortest and Longest Days of the Year

The June solstice (around June 20–21) is the longest day of the year in the Northern Hemisphere and the shortest in the Southern Hemisphere; the December solstice (around December 21–22) reverses it. The exact date shifts by a day either way from year to year. If you’re chasing long summer evenings somewhere like Scandinavia or Alaska, the days around the June solstice are as long as it gets; if you’d rather avoid the shortest, darkest days at high latitude, late December is the one stretch to plan around.

Midnight sun, polar night and planning around the seasons

Go far enough north or south and the ordinary rules break down: around midsummer the sun simply doesn’t set (the midnight sun), and around midwinter it doesn’t rise (polar night). The tool detects both and tells you plainly rather than showing impossible times. For everywhere else, changing the date is the quickest way to see how dramatically a destination’s daylight shifts across the year — useful before booking a far-northern summer trip or a winter city break. Pair it with the jet lag calculator to time your light exposure, or the time zone tool to see the current time there.

Frequently Asked Questions

They’re computed astronomically from the location’s latitude and longitude and the date, using the standard solar-position equations — not looked up from a list. Sunrise and sunset are defined as the moment the centre of the sun sits about 0.83° below the horizon, which accounts for the sun’s radius and atmospheric refraction. The results are then shown in the location’s own local time.