What are daylight hours?

Daylight hours measure the time between sunrise and sunset on a given day at a specific location. The length of the day depends on three factors: your latitude, the date, and Earth's axial tilt of about 23.5°. Because of this tilt, the Sun's apparent path across the sky changes throughout the year, making summer days longer and winter days shorter outside the tropics.

Near the equator, days stay close to 12 hours all year. The further you move toward the poles, the more dramatic the seasonal swing becomes - until you reach the polar circles, where the Sun can stay above the horizon for 24 hours (midnight sun) or below it for 24 hours (polar night). The longest day of the year is the summer solstice, the shortest is the winter solstice, and the equinoxes mark the two days when daylight and night are roughly equal everywhere on Earth.

Knowing the exact length of the day is useful in photography, agriculture, solar energy planning, sleep and circadian-rhythm research, outdoor activity planning, and many scientific calculations.

Tool description

This calculator tells you how many hours of daylight a day has at any place on Earth. Type the latitude and longitude, or press Use my location, then pick a date and the place's time zone. It shows the length of the day and the night, how much the day grew or shrank since yesterday, and the times of sunrise, sunset and solar noon in the place's local time.

You can paste a coordinate pair like 51.5074, -0.1278 straight from a map app into either field.

Examples

London, UK on the summer solstice (2026-06-21):

  • Sunrise: 4:44
  • Sunset: 21:23
  • Daylight duration: 16 h 38 min

Tromsø, Norway on the winter solstice (2026-12-21):

  • The sun doesn't rise: polar night
  • Daylight duration: 0 h 0 min
  • Night duration: 24 h 0 min

Quito, Ecuador on the equinox (2026-03-20):

  • Sunrise: 6:19
  • Sunset: 18:26
  • Daylight duration: 12 h 7 min

Features

  • Daylight and night length for any place and date
  • How much longer or shorter the day is than the day before
  • Sunrise, sunset and solar noon in the place's own time zone
  • Polar day and polar night shown as 24 hours or none of daylight
  • Runs in your browser; your location is only read when you press the button

How it works

The tool uses the astronomical formulas of the SunCalc library, with two corrections that bring its times to within seconds of NOAA's solar calculator. For a given date and geographic coordinates, SunCalc computes when the upper edge of the Sun crosses the horizon (sunrise and sunset). The daylight duration is the difference between sunset and sunrise, rounded to the minute.

Solar noon - the moment the Sun reaches its highest point in the sky - is also calculated and shown. All times are converted to the timezone you select, so they match local clocks rather than UTC.

Options explained

  • Latitude / Longitude: Coordinates in decimal degrees. Latitude goes from −90 to 90, longitude from −180 to 180. Use my location fills them from your device.
  • Date: The day to calculate daylight for.
  • Timezone: Times are shown in this time zone. It starts as your browser's time zone; pick the place's own zone for places far away.

Limitations

  • Results are based on geometric sunrise/sunset (the Sun's center crossing a slightly refraction-corrected horizon) and assume a flat horizon. Mountains, tall buildings, and atmospheric conditions can shift the actual visible sunrise/sunset by several minutes.
  • Above the Arctic Circle (66.5° N) and below the Antarctic Circle (66.5° S), the Sun can stay continuously above or below the horizon for days or months. The tool reports this as a polar day or polar night.
  • Daylight length differs from "useful light" - civil, nautical, and astronomical twilight extend usable light beyond pure sunrise and sunset.

Tips

  • For photography, combine the daylight hours with the Golden hour finder and Sunrise calculator to plan the best lighting windows.
  • Compare two cities by running the calculator twice with the same date - useful for travel planning across different latitudes.
  • Combine sunrise and sunset timestamps with the daylight duration for spreadsheets and solar-yield estimates.

FAQ

Why is my day length slightly different from what my weather app shows? Different sources use slightly different definitions of sunrise/sunset (top vs. center of the Sun, refraction model, horizon altitude). Differences of a minute or two are normal.

Does the tool account for daylight saving time? Yes. Times are formatted in the selected timezone, which automatically applies DST rules where applicable.

What happens at the poles? If the Sun never rises or never sets on that date, the tool shows 24 hours or none of daylight and a polar day or polar night note instead of sunrise and sunset times.

Can I use this for any historical or future date? Yes. The formulas work for any date, and they are most accurate within a few centuries of today.