Daylight hours

How long is the day, and how does it change through the year where you are? A chart of daylight for every day of the year, with the solstices marked and a table by month.

How to use it

  1. Choose a place and a year.
  2. Read the chart of daylight for every day. Move over it to read a day.
  3. Read the longest and shortest days and the table by month.

5 practical uses

  1. Plan a garden, a greenhouse or a solar installation.
  2. Compare places to live or to travel to by their winter days.
  3. Plan outdoor work through the seasons.
  4. Explain the seasons to a class with a chart.
  5. Plan a trip to see the midnight sun or the polar night.

The maths behind it

For each day the sun's declination δ is computed from the Julian day, and the half-day arc from cos H₀ = (sin(−0.833°) − sin φ sin δ) / (cos φ cos δ). The day length is 2H₀ in hours. When the right-hand side is beyond ±1 the sun does not rise or does not set, and the day is 0 or 24 hours.

Why the curve looks like that

The Earth's axis is tilted 23.4°, so as it goes round the sun each hemisphere leans towards it for half the year and away for the other half. At the equator the day is always about 12 hours; at 50° it runs from about 8 hours to 16; at the Arctic Circle from 0 to 24. The curve is a sine-like wave with its peaks at the solstices (around 21 June and 21 December) and its middle at the equinoxes. Day length includes the extra minutes from refraction and the sun's width, which is why the equinox day is a few minutes longer than the night.

Times are computed in the browser with the SunCalc library, which follows the astronomical almanac formulas to within a minute or so, and are shown in the local time of the place, including summer time, from its time zone. Sunrise and sunset are the moments the top edge of the sun meets a flat horizon, with the usual allowance for the bending of light in the air; a hill to the east delays your sunrise.

Questions and answers

Why is the equinox day longer than twelve hours?

Sunrise and sunset are timed from the top edge of the sun, and the air bends light over the horizon, so the day is a few minutes longer than the night.

How much does day length change?

Not at all at the equator, from 8 to 16 hours at 50 degrees, and from 0 to 24 hours at the polar circles.

Are summer time changes included?

Yes. Times in the table follow the time zone of the place, including summer time.

Embed this tool on your website

Paste this code where the tool should appear. It shows the tool alone, without this page's text, and links back here. It is free to use; the map data credit stays on the map.

<iframe src="https://waymorphic.com/tools/daylight-hours?embed=1" width="100%" height="760" style="border:0;border-radius:12px;max-width:100%" loading="lazy" allow="geolocation; fullscreen; clipboard-write" title="Daylight hours – Waymorphic Map"></iframe>

Change height to suit your page. To open the tool with a place already set, add the settings from this page's address bar (the part after #) to the end of the src. The embedded tool asks the visitor's browser for their location only when they press the button, and the allow attribute lets that work inside the frame.