Daylight Hours Calculator

Calculate the hours of daylight for any location and date. Track day length changes throughout the year.

Daylight Duration

14h 34m

-1.5 min from yesterday

Sunrise

04:43

Solar Noon

12:00

Sunset

19:17

Comparison

Summer Solstice14h 55m
Today14h 34m
Winter Solstice9h 5m
Night Hours: 9h 26m
Day of Year: 199
Solar Declination: 21.01deg

What Are Daylight Hours?

Daylight hours (also called day length, photoperiod, or daylength) is the number of hours of sunlight between sunrise and sunset on a given date at a given location. It varies continuously throughout the year, reaching its maximum at the summer solstice and its minimum at the winter solstice, with equal day and night (approximately 12 hours each) at the equinoxes. The amount of daylight directly affects human mood, plant growth, animal behavior, solar energy generation, and agricultural planning.

At the equator, day length varies very little throughout the year — staying close to 12 hours in all seasons. The variation increases with latitude: at 40° N (the latitude of New York, Madrid, and Beijing) day length ranges from about 9.3 hours in December to about 15 hours in June. At 60° N (the latitude of Helsinki and Anchorage) the range is roughly 5.5 hours in December to nearly 19 hours in June. Above the Arctic Circle (66.5° N), there are periods of midnight sun (no darkness) in summer and polar night (no daylight) in winter.

This calculator computes daylight hours for any date and latitude, along with the precise sunrise and sunset times, the civil, nautical, and astronomical twilight durations, and a graph of how daylight changes through the year at that latitude.

How Daylight Hours Are Calculated

Daylight hours are derived from the solar hour angle at sunrise and sunset, which depends on the observer's latitude and the Sun's declination on the given date.

Day Length Formula

Day Length (hours) = (2 / 15) × acos(-tan(φ) × tan(δ)) × (180/π)

Where:

  • φ (phi)= Observer's latitude in radians (positive = North, negative = South)
  • δ (delta)= Solar declination in radians — the angle between the Sun's rays and the equatorial plane, ranging from +23.44° (June solstice) to -23.44° (December solstice)
  • acos(-tan(φ)×tan(δ))= The hour angle at sunrise/sunset in radians
  • 2/15 × (deg)= Convert hour angle in degrees to hours of daylight (360° / 24h = 15°/h, so 2 × HA_degrees / 15 = daylight hours)

Seasonal Variation in Daylight

The cause of seasonal daylight variation is Earth's axial tilt of 23.44 degrees relative to its orbital plane. As Earth orbits the Sun, the Northern Hemisphere tilts toward the Sun from March to September (more daylight in summer) and away from it from September to March (less daylight in winter). The Southern Hemisphere experiences the opposite pattern — its summer (more daylight) coincides with the Northern Hemisphere's winter.

At the summer solstice (around June 21 in the Northern Hemisphere), the Sun traces its highest and longest arc across the sky, producing the longest day of the year. At the winter solstice (around December 21), the Sun traces the shortest, lowest arc, producing the shortest day. At the spring and autumn equinoxes (around March 20 and September 22), the Sun rises due east and sets due west, and day and night are approximately — but not exactly — equal in length.

The equinox approximation is imperfect because of the Sun's finite angular size (the full disk must clear the horizon, not just the center) and atmospheric refraction (which bends sunlight to make the Sun appear above the horizon when it is geometrically below it). Both effects add about 8-12 minutes of "extra" daylight around the equinoxes, so the day with exactly 12:00 hours of sunlight is actually a few days before the spring equinox and a few days after the autumn equinox.

Civil, Nautical, and Astronomical Twilight

Beyond the daylight hours between sunrise and sunset, twilight extends the usable light period. Civil twilight occurs when the Sun is up to 6 degrees below the horizon — there is enough natural light for most outdoor activities without artificial lighting. Nautical twilight (6-12 degrees below horizon) provides enough light for navigators to see the horizon while still seeing stars — historically crucial for celestial navigation. Astronomical twilight (12-18 degrees below horizon) is the threshold beyond which the sky is dark enough for astronomical observation.

Total usable light per day is often better measured by "civil daylight" (sunrise-sunset plus the two civil twilight periods) than by strict daylight hours alone. In summer at high latitudes, civil twilight can extend well past midnight, creating nearly continuous usable light. This is the basis of the "midnight sun" experience at latitudes above 66.5° and the famous long summer evenings in Scandinavia, Scotland, and Alaska.

Practical Applications of Daylight Hours

Solar energy system design requires accurate daylight hour data to size photovoltaic systems. The number of peak sun hours (a measure of usable solar irradiance) directly determines how many solar panels are needed to meet a given energy demand. Systems in Minnesota must be oversized to compensate for winter's 8-9 hours of daylight, while systems in Arizona benefit from nearly 14 hours in summer.

Circadian health and seasonal affective disorder (SAD) treatment protocols are tied to daylight hours. Light therapy guidelines recommend specific daily light exposure durations that must be supplemented when natural daylight falls below 10-12 hours per day. Knowing the exact daylight duration for your latitude helps calibrate supplemental light therapy schedules. Agricultural photoperiod management (controlling flowering in greenhouse crops) also depends on precise daylight data for specific dates and latitudes.

Worked Examples

Daylight Hours in New York on Summer Solstice

Problem:

Calculate the approximate daylight hours in New York City (40.7° N) on the summer solstice (June 21).

Solution Steps:

  1. 1Solar declination at summer solstice: δ ≈ +23.44°
  2. 2Latitude: φ = 40.7°
  3. 3cos(HA) = -tan(40.7°) × tan(23.44°) = -0.864 × 0.4335 = -0.3746
  4. 4HA = acos(-0.3746) = 111.99°; Daylight = 2 × 111.99 / 15 = 14.93 hours ≈ 14 hours 56 minutes

Result:

New York City has approximately 14 hours 56 minutes of daylight on the summer solstice.

Daylight on Winter Solstice at 51° N (London)

Problem:

How many daylight hours does London (51.5° N) receive on the winter solstice?

Solution Steps:

  1. 1Solar declination at winter solstice: δ ≈ -23.44°
  2. 2Latitude: φ = 51.5°
  3. 3cos(HA) = -tan(51.5°) × tan(-23.44°) = -1.249 × (-0.4335) = 0.5414
  4. 4HA = acos(0.5414) = 57.25°; Daylight = 2 × 57.25 / 15 = 7.63 hours ≈ 7 hours 38 minutes

Result:

London has approximately 7 hours 38 minutes of daylight on the winter solstice — less than 8 hours.

Equinox Daylight at the Equator

Problem:

What is the daylight duration at the equator (0° latitude) at the spring equinox?

Solution Steps:

  1. 1Solar declination at equinox: δ ≈ 0°
  2. 2tan(0°) = 0, so cos(HA) = -tan(0°) × tan(0°) = 0
  3. 3HA = acos(0) = 90°
  4. 4Daylight = 2 × 90 / 15 = 12.00 hours exactly

Result:

At the equator on an equinox, day length is exactly 12 hours — the classic day-night balance occurs here geometrically.

Tips & Best Practices

  • Solar panel sizing: use the annual average daylight hours at your latitude, not just summer values, for realistic production estimates.
  • Gardeners: check daylight hours for your planting date to ensure crops get adequate photoperiod for their optimal growth stage.
  • For SAD prevention, begin light therapy in September when daylight drops below 12 hours at mid-northern latitudes.
  • At latitudes above 50° N, expect fewer than 9 hours of daylight in December — supplemental lighting becomes essential for indoor plants.
  • Summer civil twilight can add 30-60 minutes of usable light beyond sunset — account for this in outdoor activity planning.
  • The date with the latest sunset is not the same as the summer solstice — it occurs a few weeks after the solstice at most latitudes.

Frequently Asked Questions

Two effects add extra daylight around the equinoxes: (1) Sunrise and sunset are defined as when the upper limb of the Sun crosses the horizon — since the Sun has an angular diameter of about 0.5°, sunrise begins before the Sun's center reaches the horizon, adding about 1.5 minutes. (2) Atmospheric refraction bends sunlight by about 0.57° at the horizon, making the Sun appear above the horizon when it is geometrically just below it, adding another 6-7 minutes. Combined, these effects add about 6-12 minutes of extra daylight around the equinoxes.
Day length variation increases monotonically with latitude. At the equator, variation is nearly zero (always close to 12 hours). At 45° N, the range is about 9 to 15 hours. At 60° N, the range is about 5.5 to 18.5 hours. At the Arctic Circle (66.5°), the minimum approaches 0 hours (polar night) and the maximum approaches 24 hours (midnight sun) at the solstices. The poles have 6 months of continuous daylight and 6 months of polar night.
Peak sun hours (PSH) is a solar energy metric that accounts not just for the duration of daylight but also for the angle of the Sun and atmospheric absorption. It represents the equivalent number of hours at peak solar irradiance (1,000 W/m²) that provides the same total energy as the actual varying sunlight throughout the day. A location might have 14 hours of daylight but only 5-6 peak sun hours due to low solar angles in morning and evening. Solar panel sizing uses PSH, not raw daylight hours.
SAD is a type of depression linked to reduced light exposure during winter months. The hypothalamus responds to lower light levels by producing more melatonin (the sleep hormone) and less serotonin (the mood regulator). At latitudes above 40°-50° N, winter daylight below 10 hours per day coincides with the highest SAD prevalence rates. Light therapy using 10,000 lux lamps for 20-30 minutes after waking compensates for reduced natural light exposure and is clinically validated as an effective treatment.
No — daylight saving time (DST) shifts the clocks but does not change the actual duration of sunlight. The Sun rises and sets at the same absolute times (in astronomical terms) regardless of clock settings. DST simply moves an hour of morning daylight to the evening, which people tend to use more productively. The actual daylight hours displayed by this calculator reflect astronomical sunrise and sunset — the same regardless of whether DST is in effect.

Sources & References

Last updated: 2026-06-06

💡

Help us improve!

How would you rate the Daylight Hours Calculator?

<>

Editorial Note

MyCalcBuddy Editorial Team

This page is maintained as an educational calculator reference.

Source

Formula Source: Standard Mathematical References

by Various

UpdatedLast reviewed: May 2026
CheckedFormula checks are based on standard references and internal QA review.

Privacy choices

MyCalcBuddy uses necessary storage for the site to work. Optional analytics, notifications, and future advertising features stay off unless you allow them.