Day Length from Latitude and Solar Declination (Sunrise Equation)
Also known as day length · length of the day · hours of daylight · sunrise equation · daylight hours from latitude · photoperiod · sunrise to sunset hours · cos H0 = -tan phi tan delta · hour angle of sunset · daylight from declination · day length at the solstice · daylight duration
Worked example: 49.3 N at the June solstice, declination 23.44 → 16.036 h. Press Try an example to run it live, then adjust anything.
Enter your known values, leave one input blank, and solves for the missing one. Tap a variable’s symbol to see what it means, with a typical value. Change any unit and the answer follows.
Where Day Length from Latitude and Solar Declination (Sunrise Equation) fits
Day Length from Latitude and Solar Declination (Sunrise Equation) explained
Day length is the number of hours the sun is above the horizon, found from just two things: the latitude of the place (north positive, south negative) and the declination of the sun that day, the latitude of the point on Earth directly beneath it. Over a year the declination swings between -23.44 and 23.44 degrees, and the declination for a date comes from the day of the year.
The formula is the sunrise equation. At sunrise and sunset the sun is on the horizon, and its hour angle there satisfies . The Earth turns 15 degrees an hour, so the day is hours long, which is with the angle in radians. Read it through the product . It is zero at the equator, which has a 12 hour day on every date, and zero at an equinox, when the declination is zero and the day is 12 hours everywhere. At opposite latitudes the lengths of the day add up to 24 hours: with declination 10 degrees, 45 north has 13.3541 h and 45 south has 10.6459 h.
The worked example is 49.3 degrees north at the June solstice, with declination 23.44 degrees: the equation gives 16.0359 hours, about 16 hours 2 minutes, which is the day at North Vancouver. The equation treats the sun as a point and ignores the refraction of the air and the size of the disc. Those add about 10 minutes at mid-latitudes, and 13 minutes at 49.3 degrees north at the June solstice with a corrected altitude of -0.833 degrees.
North of the Arctic Circle in summer, where exceeds 1, the sun does not set (24 hours) and the equation has no answer; in winter at the same latitudes the sun does not rise. The checks here are worked by hand from the equation; Forsythe and co-authors (1995) compare models of day length as a function of latitude and day of year.
Day Length from Latitude and Solar Declination (Sunrise Equation)
- = Length of the day (h)
- = Latitude (°)
- = Solar declination (°)
- Forsythe, W. C., Rykiel, E. J., Stahl, R. S., Wu, H., & Schoolfield, R. M. (1995). A model comparison for daylength as a function of latitude and day of year. Ecological Modelling, 80(1), 87-95 (the wanted list's source; the DOI record was checked in Crossref; the paper is behind a paywall and was not opened). Read it
Cite this page
formula.expert. (2026, October 30). Day Length from Latitude and Solar Declination (Sunrise Equation) Calculator. https://formula.expert/solvers/day-length-sunrise-equation